OverviewFelgo 2 Support (Qt 5) › QtQuick.Controls import breaks the code

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #22827


    Hello There,

    I am trying to integrate the FileDialog into my application. The problem is that as soon as I import the QtQuick.Controls into the project, the NavigationStack component stops compiling:

    qrc:/qml/VPlayApps/navigation/NavigationStack.qml:656:5: Unable to assign [undefined] to bool
    qrc:/qml/VPlayApps/navigation/NavigationStack.qml:642:5: Unable to assign [undefined] to QQuickItem*


    Are there any known bugs regarding this? Here is the exemplary project code:


    import Felgo 3.0
    import QtQuick 2.7
    import QtQuick.Controls 2.1
    import "pages"
    import "helper"
    		initialPage: theMainPage;
    			id: theMainPage;
    			title: qsTr("Test");



    Felgo Team


    put the Felgo import after the Controls import, or use a qualified import with “as XYZ”. The controls module also has a component named Page, the order of imports defines from which module it is taken.




    Now it works, thank you. As for the Page, that’s some bad coincidental name :P.



    Although, the problem with FileDialog is not solved… After importing the Controls, the FileDialog type is not visible. On the other hand when importing  Qt.labs.platform 1.0, the FileDialog is visible but the code doesnt compile:

    module "Qt.labs.platform" is not installed

    Do you know how can this be solved?


    Felgo Team



    Ok, I will check this out. Thank you for your assistance.



    Hi Again Alex,

    I was able to start the Application in live server mode. The only problem I have left is that this only compiles (links actually) with MinGW compiler and does no with MSVC. Here is the Issues screeshoot.

    Also when running the app compiled with MinGW I get a plugin error:

    ERROR: Invalid license key set for plugin: "VPlay" "2.0"

    How to generate a key for this plugin? COuldnt find it in the plugins list.

    Is it that there are some precompiled libs compatible only with MinGW and not MSVC?

Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support