QtDesktop, QML and QtCreator



  • Hey all. The last few days has been somewhat of a hell for me, having installed Qt about 8-10 times just to get it working.

    Long story short, I have run
    @configure -arch windows
    configure -platform win32-msvc2008
    qmake && nmake install@

    src: https://qt.gitorious.org/qtplayground/qtdesktopcomponents
    and have built QtDesktopComponents and copied them to the import path

    My issue is that when using QtCreator, the Elements seem to appear as a bordered box without components in it. It seems It's missing styling of some kind too (possibly). Firstly, i'd like to know if that can be fixed.

    Secondly, is there any proper QtDesktop Components that provide such styling and what not? I've seen the components available in Qt.labs.components.native and they're almost the sort of thing I was hoping to see when I drag and drop...

    Any help in the right direction would be appreciated.


  • Moderators

    Is the code you posted for Qt or the components? If Qt, then you should not run configure twice. Also, on Windows, you should be using configure.exe instead. No need to specify -arch windows, too - configure will figure it out automatically.



  • Configure made the qmake file that was used to compile the components. In answer to your question, the qmake && nmake install is run from the qt components source code.

    Edit: I can see the components in the debug build when executed. But they just show up as a grey striped box in place of the component in creator


  • Moderators

    It's possible that they are too complicated to QML puppet process. It's tested for build-in components of Qt QUICK. But that is just a guess. Ask Components developers, if this project is still active (I think it is).



  • We really havent tried to integrate the components into qt creator designer yet. First we need to get qt designer to properly support qt quick 2.0. I would recommend not using the designer until it officially supported with desktop components.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.