Results 1 to 4 of 4

Thread: Qt Designer/Qt Creator do I understand the difference?

  1. #1
    Join Date
    Sep 2016
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Qt Designer/Qt Creator do I understand the difference?

    Hello there,

    First, a bit of background so you can understand my needs. I work in experimental physics reseach and we usually control and read our devices with some basic code. In my group, we use Python for that. However, I would like to spend a bit of time to build GUIs to do that. The idea is that the GUI would use the already made Python codes that was developped in our lab and already used to talk with devices as written earlier. As an exemple, let's say we want to read the channel of an oscilloscope and save the data from this channel. Currently, we change the channel number in our code, run the code and the data is saved in the folder path written in the code. What I would like instead is a GUI on which I could display what is on the oscilloscope in real time, choose which channel(s) I want to display on my GUI and save the data when I click on a "save" button.

    So, I would like to start playing around with GUI design and thus, would like to use Qt. However, after having installed Qt Creator and Qt Designer, I am not fully sure if I correctly understand the difference between them and which one is better to use for a given purpose and for my purpose.

    For Qt Designer, it seems fairly obvious when you open it. It seems to be only to make GUI. But for Qt Creator, I am very confused. It seems to include everything Qt Designer can do but has much more options. Is that correct? For exemple, in Qt Creator, if I start a new project, I can choose Application => Qt Widgets Application which gives me something very similar to Qt Designer in the "Forms" section containing a "mainwindows.ui" file. However it also has more stuff such as an "Headers" section etc. for which I have no clue of their use.

    In a nutshell, I don't understand what Qt Creator exactly does and if I would benefits form it for my purpose.

    Thanks in advance for any help.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Designer/Qt Creator do I understand the difference?

    Qt Designer is a standalone program for designing widget forms for Qt applications. Qt Creator is an Integrated Development Environment - an advanced project manager and code editor with a lot of extra features for developing using Qt. It comes with functionality of most standalone applications that come with Qt, including Qt Designer.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2016
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt Designer/Qt Creator do I understand the difference?

    Thanks for your answer. So if I understand correctly:

    In my case, I will use several already made Python classes/codes to control the devices, the GUI being mainly an interface between the user and those codes. If I want to create a proper application which runs without having to find pieces of Python code, I would have to use Qt Creator, make it such it can use Python code (as far as I understood, this is possible) and create a new project with all the Python code that I need to use in my GUI. Finally, I would have to compile it. On the other hand, if I use Qt Designer, it will make a .ui file that in have to transform into Python code with something like pyuic4. Then, it would still use the Python classes/codes.

    Am I correct?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Designer/Qt Creator do I understand the difference?

    Whether you use Qt Creator or not is your own preference. If you have a favourite code editor, use that.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QT Designer and QT Creator
    By rakeshthp in forum Newbie
    Replies: 1
    Last Post: 8th November 2015, 06:58
  2. Replies: 8
    Last Post: 23rd March 2015, 06:48
  3. Using Qt Designer on Qt Creator
    By Ramzeez in forum Newbie
    Replies: 1
    Last Post: 24th April 2012, 22:54
  4. Replies: 0
    Last Post: 28th October 2010, 13:24
  5. Replies: 2
    Last Post: 31st August 2009, 13:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.