Qt World Summit: Register Today!

QT Widgets and License Question (New to QT)

  • Hello,

    I am new to QT and am probably going to use it for the product I am developing. I have two questions, the first of which has been bugging me since I downloaded and tried QT.

    1. The QT Creator has a layout that is very close to what I want to use for my product. In particular the mode selector/main screen. According to the "User Interfaces document":http://qt-project.org/doc/qt-5.1/qtdoc/topics-ui.html, the QT creator uses traditional QT Widgets. However, I cannot figure out which one is used for the Mode selector (the bar to the left with large icons and titles: welcome, edit, design, debug, etc...). This is exact setup I need for my application since my application will involve several different activities that I want to be easily navigable. I am assuming that the screen is a stacked widget that changes depending on which mode you select but I am having difficulty figuring out witch widget is used for the mode selector itself. Can anyone tell me?

    2. I want this to eventually be a commercial product. Right now I am just learning and putting pieces of my project together but eventually I will need to convert to a commercial license. I am assuming that commercial products involve a licensing fee. Where can I find detailed information on licensing fees etc?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    1. You can browse and learn from QtCreator's sources. The widgets you see in QtCreator are based on standard widgets from Qt. For the look and feel, a custom style has been implemented.

    2. To have more information about the licensing options available in Qt, the most straight forward way is to contact "Digia":http://qt.digia.com/

    Hope it helps

    As a side note, it's Qt, QT stands for Apple's QuickTime :)

  • Thanks for the info. What is the relationship between this environment/api and Quicktime?

  • Lifetime Qt Champion

    You're welcome !

    It's just a matter of how you write it. Qt is the framework you are using and QT is for QuickTime

  • Oh... lol. ok. I understand now ;) I would want to disassociate myself from them too.

  • I downloaded the source. I cannot find any main ui file for the project that has the layout of the qt creator interface. Is there one?

  • Probably not. As QtCreator is really just a huge bunch of plugins that interact together, I'd bet the bar on the left is generated dynamically from these plugins.

  • Lifetime Qt Champion

    IIRC the widget is named something like "FancyToolBar"

  • Ok thanks a lot. That helped a bunch. So it appears that they weren't telling the complete truth about it all being made of the basic [standard] widgets. The bar is its own custom widget and the "fancy" buttons are also their own widget inherited from QToolButton but at least I have a starting point for learning how to use this system. This GUI system is a lot different from the ones I am used too. (.NET and MFC).

  • Lifetime Qt Champion

    I don't see where they don't tell the truth, most big application customizes these building blocks to suit their needs, so they use standard widgets tailored to do what they want.

  • Well the fancy button fits that description of a "customized" standard widget but the bar itself is its own widget derived straight from QWidget instead of being one of the basic widgets and the code for both are in the fancytoolbar code file. Not that I mind that, but it would help to have a more accurate description so that people can know what they are looking for.

  • Lifetime Qt Champion

    I see your point now.

    We might be getting philosophical about it, but indeed the widget naming can be misleading.

Log in to reply