Qt Quick vs Qt Widgets for AI programming contest



  • Hello and Happy Easter,

    So I've been using Qt Widgets for some time at AI programming contests which last typically from 10h to 24h. I see that Qt Widgets are being pushed out in favour of Qt Quick. Should I switch to Qt Quick, is there anything for me to gain?

    How does my application look like:

    • I visualize how the game goes over TCP/IP over multiple servers.
    • Sometimes I need to hint my AI with manual input, e.g. clicking on certain spots, creating grids, creating circles/other objects on a QGraphicsView and make them clickable.
    • It's backend-heavy, the fewer problems with frontend the better
    • I don't require fanciness, I need the frontend to be reliable and not getting clogged.

    What I dislike about QML:

    • It's not a compiled language.
    • I am familiar with Qt Widgets.
    • The code gets even more bloated with strange Qt Macros.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    QtWidgets are not being pushed out. See the recent reinforcement of the team for the maintenance of the module.

    If the module already does the job nicely for you, then there's no reason to change.

    It's easier to do fancy animation and game like UIs with QtQuick. Depending on your target platform (e.g. mobile) QtQuick will also be easier to implement.


  • Moderators

    Happy Easter!

    @JKS_PL said in Qt Quick vs Qt Widgets for AI programming contest:

    • I don't require fanciness, I need the frontend to be reliable and not getting clogged.
    • I am familiar with Qt Widgets.

    These are good reasons to stick with Qt Widgets.

    As @SGaist said, Qt Widgets are not being pushed out. You have nothing to worry about.


Log in to reply
 

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