Integrate Wt into Qt



  • It would be great if the developers add some features to the UI designer to make it able to parse the Graphic design to "Wt":http://www.webtoolkit.eu (Webtoolkit) Code instead the normal Qt code.

    I mean, when we create a button using the Graphic designer, this one translate the XML to C++ code and in the file "ui_mainwindow.h" appears the next things

    pushButton = new QpushButton(this);

    And it wuld be great that it appears the next thing

    pushButton = new WphushButton(root());



  • Well, QtCreator is open-source and plugin-based. Feel free to start hacking on you own designer backend which allows for generating Wt code instead of Qt code.

    In addition, if it is just about pushing your application to the web be aware that Qt has a "native client resp. HTML5 backend":http://www.youtube.com/watch?v=qDyWjNju1yU (but don't ask me about the maturity).


  • Moderators

    You will want to touch Qt Designer (which we embed into Qt Creator), not Qt Creator itself. Just so you do not waste time looking for the code in the wrong place.

    Toolkits differ widely in how they do layouts, which properties they offer on their widgets, etc. So I am not sure it makes much sense to use the designer of one toolkit to produce code for another.



  • [quote author="Lukas Geyer" date="1344578162"]Well, QtCreator is open-source and plugin-based. Feel free to start hacking on you own designer backend which allows for generating Wt code instead of Qt code.
    [/quote]

    How can I create a Plugin for Qt. Is there any tutorial to do that?

    [quote author="Lukas Geyer" date="1344578162"]
    In addition, if it is just about pushing your application to the web be aware that Qt has a "native client resp. HTML5 backend":http://www.youtube.com/watch?v=qDyWjNju1yU (but don't ask me about the maturity).[/quote]

    Where can I find a tutorial for learning HTML5


Log in to reply
 

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