Qt for iOS known issues

From Qt Wiki
Revision as of 12:22, 7 April 2015 by Henri Vikki (talk | contribs) (Formatting)
Jump to navigation Jump to search


Qt for iOS known issues in 5.4.0

  • Qt requires iPhoneOS.8.0.sdk and Xcode 6 (or newer) to be installed, and qmake will inform if this is not the case.

After installing latest version of Xcode you might still get a warning about the current Xcode version being too old. The solution is to remove .qmake.stash inside your build folder before re-running qmake.

  • Line edits inside dialogs might not be able to get focus and bring up the keyboard. The solution is to

call QWidget::activateWindow() on the dialog after it has been shown.

  • QQuickWidget and QOpenGLWidget are not yet supported on iOS.

Qt for iOS known issues in 5.3.1

Qt Positioning

Linking of position based applications fails due to an incorrect CLASS_NAME. For more details and a temporary workaround see QTBUG-39843. The fix can be tracked via https://codereview.qt.io/#/c/88290/ .

Qt for iOS known issues in 5.3.0

Qt Creator

  • When switching from simulator to device in insource building you should not import the old build settings (QTCREATORBUG-11067)

Qt for iOS known issues in 5.2.x

Building / running

  • Imports in JavaScript files are not picked up automatically by QML import scanner (QTBUG-35349) Workaround is to manually add the required library in the project file, eg
    LIBS += -L/Users/torarne/build/qt/5.2-ios/qtbase/qml/QtQuick/LocalStorage -lqmllocalstorageplugin
    
and then init the static library in one of your source files using eg
Q_IMPORT_PLUGIN(QQmlLocalStoragePlugin)
  • Default plugins for a module is not added automatically Modules like QtSQL and QtMultimedia have backend plugins that are required for the module to work, and where the plugin is the only alternative on the platform. Qt does not add this plugin automatically (QTBUG-35195), so it has to be added manually in the project file, eg for QtSql:
    QTPLUGIN+= qsqlite
    

Qt Creator

  • Debugging on device has a slow startup (QTCREATORBUG-10884)
  • Changing the shadow build directory does not update the run path (just in the ui, the correct one is used) (QTCREATORBUG-11080)
  • When switching from simulator to device in insource building you should not import the old build settings (QTCREATORBUG-11067)

Qt Quick 2

  • Using the Drag attached property causes crash. Drag and drop is not supported on iOS in 5.2, and the QML2 implementation of the property does not handle a platform that doesn't support DnD.

Examples

  • Examples do not compile for iOS if they are located in a non-iOS Qt tree. If you are using Qt Creator, you need to explicitly select the iOS Qt version from the combo box in the examples browser before opening and compiling the example for iOS.

General

  • "QIOSBackingStore needs to have the same size as its window"
  • Slow startup (due to font loading) (see also QTBUG-35704 )
  • "This plugin does not support propagateSizeHints()"

sharedmemory:

  • Crashes: Program received signal SIGSYS, Bad system call. 0x3b23bbe4 in semget ()

openglwindow:

  • Doesnt rotate after rotating to landingscape

http:

  • Unable to save index.html, permission denied

googlesuggest:

  • full screen line edit, no place for suggestions

bearermonitor:

  • no configurations, probably missing plugin

network-chat:

textures:

hellowindow:

  • only one out of 4 windows show up
  • lots of "QIOSBackingStore needs to have the same size as its window"

paintedwindow:

  • "QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined"

books:

  • "This demo needs the SQLITE driver"

drilldown, cachedtable, relationaltablemodel, sqlwidgetmapper, masterdetail, querymodel, tablemodel:

  • "QSqlDatabase: QSQLITE driver not loaded"

mandelbrot:

  • resizes on startup

knobs, fingerpaint:

  • halts when using system gestures

states:

  • layout way too big for screen, retina issue?

sub-attaq:

  • Crashes at startup due to QWidget synchronous resize logic

screenshot:

  • "QPixmap::scaled: Pixmap is a null pixmap"

systray:

  • no system tray detected (TODO: use notification center)

classwizard:

  • interaction between line edits not ideal, have to tap twice something we have to look at

draggabletext, fridgemagnets, puzzle:

  • Drag'n'drop not supported in Qt 5.2

lighting:

  • shadow is clipped

fademessage:

  • missing fade button

dragdroprobot:

  • Drag'n'drop not supported in 5.2

flowlayout:

  • text not inside window and too big
  • text does not move properly when window is moved

anchorlayout:

  • child graphics-view items completely busted

dockwidgets:

  • text becomes gray boxes when dragging container

mainwindow: