Qt for iOS known issues: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(Add to relevant category)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Qt for iOS known issues in 5.4.0=
[[Category:Ports]]


* Qt requires iPhoneOS.8.0.sdk and Xcode 6 (or newer) to be installed, and qmake will inform if this is not the case.<br /> After installing latest version of Xcode you might still get a warning about the current Xcode version being<br /> too old. The solution is to remove .qmake.stash inside your build folder before re-running qmake.
= 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<br /> call QWidget::activateWindow() on the dialog after it has been shown.
* 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.
* QQuickWidget and QOpenGLWidget are not yet supported on iOS.


=Qt for iOS known issues in 5.3.1=
= Qt for iOS known issues in 5.3.1 =


==Qt Positioning==
== Qt Positioning ==


Linking of position based applications fails due to an incorrect <span class="caps">CLASS</span>_NAME. For more details and a temporary workaround see <span class="caps">QTBUG</span>-39843. The fix can be tracked via https://codereview.qt.io/#/c/88290/ .
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 for iOS known issues in 5.3.0 =


==Qt Creator==
== Qt Creator ==


* When switching from simulator to device in insource building you should not import the old build settings (<span class="caps">QTCREATORBUG</span>-11067)
* 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=
= Qt for iOS known issues in 5.2.x =


* Known and open [https://bugreports.qt.io/issues/?filter=14129 bugs] ''[bugreports.qt.io]''


==Building / running==


==Qt Creator==
* Known and open [https://bugreports.qt.io/issues/?filter=14129 bugs]


* Debugging on device has a slow startup (<span class="caps">QTCREATORBUG</span>-10884)
== Building / running ==
* Changing the shadow build directory does not update the run path (just in the ui, the correct one is used) (<span class="caps">QTCREATORBUG</span>-11080)
* When switching from simulator to device in insource building you should not import the old build settings (<span class="caps">QTCREATORBUG</span>-11067)


==Qt Quick 2==
* '''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 <code>LIBS += -L/Users/torarne/build/qt/5.2-ios/qtbase/qml/QtQuick/LocalStorage -lqmllocalstorageplugin
</code>
:and then init the static library in one of your source files using eg <code>Q_IMPORT_PLUGIN(QQmlLocalStoragePlugin)</code>


* 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.
* '''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: <code>QTPLUGIN+= qsqlite</code>


==Examples==
== 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.
* 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===
=== General ===


* “QIOSBackingStore needs to have the same size as its window”
* "QIOSBackingStore needs to have the same size as its window"
* Slow startup (due to font loading) (see also <span class="caps">QTBUG</span>-35704 )
* Slow startup (due to font loading) (see also QTBUG-35704 )
* “This plugin does not support propagateSizeHints()
* "This plugin does not support propagateSizeHints()"


===sharedmemory:===
=== sharedmemory: ===


* Crashes: Program received signal <span class="caps">SIGSYS</span>, Bad system call. 0×3b23bbe4 in semget ()
* Crashes: Program received signal SIGSYS, Bad system call. 0x3b23bbe4 in semget ()


===openglwindow:===
=== openglwindow: ===


* Doesnt rotate after rotating to landingscape
* Doesnt rotate after rotating to landingscape


===http:===
=== http: ===


* Unable to save index.html, permission denied
* Unable to save index.html, permission denied


===googlesuggest:===
=== googlesuggest: ===


* full screen line edit, no place for suggestions
* full screen line edit, no place for suggestions


===bearermonitor:===
=== bearermonitor: ===


* no configurations, probably missing plugin
* no configurations, probably missing plugin


===network-chat:===
=== network-chat: ===


===textures:===
=== textures: ===


===hellowindow:===
=== hellowindow: ===


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


===paintedwindow:===
=== paintedwindow: ===


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


===books:===
=== books: ===


* “This demo needs the <span class="caps">SQLITE</span> driver”
* "This demo needs the SQLITE driver"


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


* “QSqlDatabase: <span class="caps">QSQLITE</span> driver not loaded”
* "QSqlDatabase: QSQLITE driver not loaded"


===mandelbrot:===
=== mandelbrot: ===


* resizes on startup
* resizes on startup


===knobs, fingerpaint:===
=== knobs, fingerpaint: ===


* halts when using system gestures
* halts when using system gestures


===states:===
=== states: ===


* layout way too big for screen, retina issue?
* layout way too big for screen, retina issue?


===sub-attaq:===
=== sub-attaq: ===


* Crashes at startup due to QWidget synchronous resize logic
* Crashes at startup due to QWidget synchronous resize logic


===screenshot:===
=== screenshot: ===


* “QPixmap::scaled: Pixmap is a null pixmap”
* "QPixmap::scaled: Pixmap is a null pixmap"


===systray:===
=== systray: ===


* no system tray detected (<span class="caps">TODO</span>: use notification center)
* no system tray detected (TODO: use notification center)


===classwizard:===
=== classwizard: ===


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


===draggabletext, fridgemagnets, puzzle:===
=== draggabletext, fridgemagnets, puzzle: ===


* Drag’n‘drop not supported in Qt 5.2
* Drag'n'drop not supported in Qt 5.2


===lighting:===
=== lighting: ===


* shadow is clipped
* shadow is clipped


===fademessage:===
=== fademessage: ===


* missing fade button
* missing fade button


===dragdroprobot:===
=== dragdroprobot: ===


* Drag’n‘drop not supported in 5.2
* Drag'n'drop not supported in 5.2


===flowlayout:===
=== flowlayout: ===


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


===anchorlayout:===
=== anchorlayout: ===


* child graphics-view items completely busted
* child graphics-view items completely busted


===dockwidgets:===
=== dockwidgets: ===


* text becomes gray boxes when dragging container
* text becomes gray boxes when dragging container


===mainwindow:===
=== mainwindow: ===
 
* “void QWidgetPrivate::setMask_sys(const QRegion &amp;): Not supported on ios.”

Latest revision as of 13:47, 22 November 2016


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: