Creating some part of UI for an existing C++ project in Qt.



  • I've a C++ project where some part of the UI is made in flex . I want to remove flex from my application with some alternatives. Right now I am investigating on using CEF which can be embedded in the application.

    Please suggest me if going for Qt would be better option. Making complex UI as easily as possible is my requirement. I would also want integrating Qt in my existing project to be simple with flawless to-and-fro communication between existing C++ code and Qt. Since, I've no idea about Qt, hoping for an insight on this.

    I need to support Windows and Mac OSX.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Could you explain what CEF is ?

    It depends on your use case. With Qt you have two possibilities to create UI: Widgets and QML. Both have their advantages. So it really depends on your UI needs. You can have a look at the demos/examples to see what you can do. For a more "massive" example, the KDE environment is build on top of Qt.

    As for integrating C++ code, there should be no major problem reusing/integrating your current code base.

    Qt supports both and more.

    Hope it helps



  • Hi SGaist,

    CEF stands for Chromium Embedded Framework. For more info on this please see this link: https://code.google.com/p/chromiumembedded/

    As an alternative, I was thinking of using HTML5/CSS/Javascript to make the UIs. If I use this I still have to find a way to communicate between native C++ code and HTML5 UI.

    I'll explore further before diving into Qt or CEF.

    Thanks for the reply :)


  • Lifetime Qt Champion

    Then also give a look at QtWebKit

    You're welcome :)


Log in to reply
 

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