Examples won't run on Qt4 #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are the need to change "import QtQuick 2.0" to "import QtQuick 1.1" when using Qt4.
If it is the correct behavior to follow (manually change the import) we must mention it on README.
The branch tnoleto-fix-examples has a patch which enables all the examples to run both either on Qt4 or Qt5. It uses a different "main-qt[4|5].qml" for each version. The app launcher code does basically the following:
It is sort of a workaround, but does the trick.
By the way, that branch has also a patch which allows shadow build. It means that we can have on build tree for each Qt version at the same time. However, since we can export only one QML_IMPORT_PATH per environment, we need to run each build from different terminals.
Fixed by commit 3012b600bee63010d82025a112c5059c9523efa4