Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Welcome mode missing and QtQuick vs QtWidget?
QtWS25 Last Chance

Welcome mode missing and QtQuick vs QtWidget?

Scheduled Pinned Locked Moved General and Desktop
15 Posts 3 Posters 3.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Don Slowik
    wrote on last edited by
    #1

    I have been using QtCreator IDE to edit, build, debug C++ on Ubuntu gcc/gdb environment with success. I would like to learn to build GUIs that act as interface to my C++ code, so I am starting to go through the "Getting Started" section at: http://qt-project.org/doc/qtcreator-3.2/index.html. But I can't run "Examples" because QtCreator does not open in "Welcome" mode.

    Also, I next plan to look at the "Tutorials" in Getting Started.
    Do I want to look at the Qt Quick or the Qt Widget stuff? My goal is to create user interfaces to my underlying C++ code. So I imagine I want places that users can choose or enter data, click buttons that launch background calculations, and display results.

    Any help/avice appreciated.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Welcome screen in qtcreator uses opengl. It is possible that you don't have correct opengl drivers, libraries installed.
      Usually qtcreator complains about opengl issues in a console.

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi,

        [quote author="Don Slowik" date="1415649254"]I have been using QtCreator IDE to edit, build, debug C++ on Ubuntu gcc/gdb environment with success. I would like to learn to build GUIs that act as interface to my C++ code, so I am starting to go through the "Getting Started" section at: http://qt-project.org/doc/qtcreator-3.2/index.html. But I can't run "Examples" because QtCreator does not open in "Welcome" mode.[/quote]What happens when you click the "Welcome" button on the top-left corner of Qt Creator?

        Also, are you running in a virtual machine? I know that VirtualBox had some problems with the Welcome mode (and Qt Quick in general)

        [quote author="Don Slowik" date="1415649254"]Also, I next plan to look at the "Tutorials" in Getting Started.
        Do I want to look at the Qt Quick or the Qt Widget stuff? My goal is to create user interfaces to my underlying C++ code. So I imagine I want places that users can choose or enter data, click buttons that launch background calculations, and display results.[/quote]If you want to write C++ code, Qt Widgets is easier to get started with.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Don Slowik
          wrote on last edited by
          #4

          I do not see any OpenGL issues in the 'issues' console or any other window.

          There is no "Welcome" button.

          I am running QtCreator directly on Ubuntu 14.04, not on any virtual machine.

          Qt Widgets is sounding better.

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            [quote author="Don Slowik" date="1416407304"]There is no "Welcome" button.[/quote]That's odd.

            What version of Qt Creator is it? (Help -> About Qt Creator)

            How did you install Qt Creator?

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Don Slowik
              wrote on last edited by
              #6

              Qt Creator 3.2.1
              Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)

              I installed it via the synaptic package manager (uses apt-get) on Ubuntu.

              What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Don Slowik
                wrote on last edited by
                #7

                Qt Creator 3.2.1
                Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)

                I installed it via the synaptic package manager (uses apt-get) on Ubuntu.

                What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  [quote author="Don Slowik" date="1416583817"]Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)[/quote]Ah, that explains it.

                  The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.

                  [quote author="Don Slowik" date="1416583817"]What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?[/quote]You'll miss out the ability to launch examples from within the IDE. However, you can still get to them manually so it's no big deal.

                  Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:

                  • (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
                  • (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  1 Reply Last reply
                  0
                  • JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #9

                    [quote author="Don Slowik" date="1416583817"]Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)[/quote]Ah, that explains it.

                    The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.

                    [quote author="Don Slowik" date="1416583817"]What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?[/quote]You'll miss out the ability to launch examples from within the IDE. However, you can still get to them manually so it's no big deal.

                    Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:

                    • (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
                    • (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Don Slowik
                      wrote on last edited by
                      #10

                      [quote author="JKSH" date="1416587896"]
                      The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
                      That does explain it. That wasn't in the documentation here:
                      http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html

                      [quote author="JKSH" date="1416587896"]
                      Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:

                      • (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
                      • (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html[/quote]

                      Yes, I'm going through the tutorials. I'm doing:
                      http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
                      which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running..

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        Don Slowik
                        wrote on last edited by
                        #11

                        [quote author="JKSH" date="1416587896"]
                        The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
                        That does explain it. That wasn't in the documentation here:
                        http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html

                        [quote author="JKSH" date="1416587896"]
                        Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:

                        • (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
                        • (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html[/quote]

                        Yes, I'm going through the tutorials. I'm doing:
                        http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
                        which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running..

                        1 Reply Last reply
                        0
                        • JKSHJ Offline
                          JKSHJ Offline
                          JKSH
                          Moderators
                          wrote on last edited by
                          #12

                          [quote author="Don Slowik" date="1416668260"]
                          [quote author="JKSH" date="1416587896"]
                          The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
                          That does explain it. That wasn't in the documentation here:
                          http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html
                          [/quote]That doesn't belong in the Qt Creator documentation. Qt 4.8 is very old now, and should only be used to maintain legacy applications.

                          What repository did your Synaptic package come from? It doesn't sound like the official Ubuntu-endorsed version.

                          • Ubuntu 14.10 officially provides Qt Creator 3.1.1 based on Qt 5.3.0
                          • Ubuntu 14.04 officially provides Qt Creator 3.0.1 based on Qt 5.2.1

                          [quote author="Don Slowik" date="1416668260"]Yes, I'm going through the tutorials. I'm doing:
                          http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
                          which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running..[/quote]Note the difference between:

                          • Qt Creator (the IDE), and
                          • Qt (the library)

                          Qt (the library) is what you need to create applications.

                          Qt Creator (the IDE) is a tool that integrates Qt (the library), your text editor, your compiler, etc. -- it makes it easier for you to use Qt (the library) to create applications.

                          You can use Qt Creator to develop applications using multiple different version of Qt at the same time -- from Qt 4.x to Qt 5.y. Thus, Qt Creator's documentation does not apply to a specific version of Qt.

                          Also, Qt Creator's documentation doesn't go in-depth into what you can do with Qt. It's not important at the beginning, but once you start using more advanced features in Qt, you should use the documentation for Qt, not Qt Creator.

                          Anyway, welcome to the world of Qt, and all the best with your project!

                          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                          1 Reply Last reply
                          0
                          • JKSHJ Offline
                            JKSHJ Offline
                            JKSH
                            Moderators
                            wrote on last edited by
                            #13

                            [quote author="Don Slowik" date="1416668260"]
                            [quote author="JKSH" date="1416587896"]
                            The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
                            That does explain it. That wasn't in the documentation here:
                            http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html
                            [/quote]That doesn't belong in the Qt Creator documentation. Qt 4.8 is very old now, and should only be used to maintain legacy applications.

                            What repository did your Synaptic package come from? It doesn't sound like the official Ubuntu-endorsed version.

                            • Ubuntu 14.10 officially provides Qt Creator 3.1.1 based on Qt 5.3.0
                            • Ubuntu 14.04 officially provides Qt Creator 3.0.1 based on Qt 5.2.1

                            [quote author="Don Slowik" date="1416668260"]Yes, I'm going through the tutorials. I'm doing:
                            http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
                            which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running..[/quote]Note the difference between:

                            • Qt Creator (the IDE), and
                            • Qt (the library)

                            Qt (the library) is what you need to create applications.

                            Qt Creator (the IDE) is a tool that integrates Qt (the library), your text editor, your compiler, etc. -- it makes it easier for you to use Qt (the library) to create applications.

                            You can use Qt Creator to develop applications using multiple different version of Qt at the same time -- from Qt 4.x to Qt 5.y. Thus, Qt Creator's documentation does not apply to a specific version of Qt.

                            Also, Qt Creator's documentation doesn't go in-depth into what you can do with Qt. It's not important at the beginning, but once you start using more advanced features in Qt, you should use the documentation for Qt, not Qt Creator.

                            Anyway, welcome to the world of Qt, and all the best with your project!

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              Don Slowik
                              wrote on last edited by
                              #14

                              Right, I added a 'ppa' to my repositories while I was using Ubuntu 12.04 in order to get QtCreator. Then I upgraded to 14.04, and still have that 'ppa' repository where my Qt stuff comes from. Deselecting that repository, Synaptic still tells me that my system is up to date with version 3.2.1 , apparently paired up with Qt 4.8.6 via that ppa repository.
                              It's fine with me for now.
                              thanks for your help.

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                Don Slowik
                                wrote on last edited by
                                #15

                                Right, I added a 'ppa' to my repositories while I was using Ubuntu 12.04 in order to get QtCreator. Then I upgraded to 14.04, and still have that 'ppa' repository where my Qt stuff comes from. Deselecting that repository, Synaptic still tells me that my system is up to date with version 3.2.1 , apparently paired up with Qt 4.8.6 via that ppa repository.
                                It's fine with me for now.
                                thanks for your help.

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved