Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt 5.15.2 mimimun version is 6.2??
Forum Updated to NodeBB v4.3 + New Features

Qt 5.15.2 mimimun version is 6.2??

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
15 Posts 4 Posters 1.0k Views 2 Watching
  • 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #5

    OK, since the kit is there, the next thing to check is the Qt versions. Can you show what's under that tab?

    Y 1 Reply Last reply
    0
    • mzimmersM mzimmers

      OK, since the kit is there, the next thing to check is the Qt versions. Can you show what's under that tab?

      Y Offline
      Y Offline
      yugong0216
      wrote on last edited by
      #6

      @mzimmers !The system is new Ubuntu 22.04. 4.png 11.png 88.png

      mzimmersM 1 Reply Last reply
      0
      • Y yugong0216

        @mzimmers !The system is new Ubuntu 22.04. 4.png 11.png 88.png

        mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #7

        @yugong0216 what I meant was to check the versions of Qt that Creator recognizes. This can be seen in the Qt Versions Tab of the Kits section of preferences.

        Y 1 Reply Last reply
        0
        • mzimmersM mzimmers

          @yugong0216 what I meant was to check the versions of Qt that Creator recognizes. This can be seen in the Qt Versions Tab of the Kits section of preferences.

          Y Offline
          Y Offline
          yugong0216
          wrote on last edited by
          #8

          @mzimmers 4.png
          Qt 10.0.0 . Based on Qt6.4.2, so the minimin version is 6.2?

          JoeCFDJ 1 Reply Last reply
          0
          • Y yugong0216

            @mzimmers 4.png
            Qt 10.0.0 . Based on Qt6.4.2, so the minimin version is 6.2?

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #9

            @yugong0216 It is likely that all examples are Qt6 ones, not for Qt5 since you might have installed Qt6 first. And you can not use Qt5 kit to run Qt6 examples. That makes sense.

            I guess you can find where Qt5 examples are installed. And you can use QtCreator to load them with Qt5 kit. But the first thing I would do is to move or copy the whole Qt5 examples dir to your own workspace and run them from there using Qt creator.

            On Ubuntu, you can simply build any example from command lines and run them there as well. All examples have cmake and qmake files.

            Y 1 Reply Last reply
            0
            • JoeCFDJ JoeCFD

              @yugong0216 It is likely that all examples are Qt6 ones, not for Qt5 since you might have installed Qt6 first. And you can not use Qt5 kit to run Qt6 examples. That makes sense.

              I guess you can find where Qt5 examples are installed. And you can use QtCreator to load them with Qt5 kit. But the first thing I would do is to move or copy the whole Qt5 examples dir to your own workspace and run them from there using Qt creator.

              On Ubuntu, you can simply build any example from command lines and run them there as well. All examples have cmake and qmake files.

              Y Offline
              Y Offline
              yugong0216
              wrote on last edited by
              #10

              @JoeCFD I have already tried, and this computer is not using a VMworkstation virtual machine. It was because of this problem that I reinstalled the system, but the result is that I can only select version 6.2, and I still cannot create a project.

              mzimmersM 1 Reply Last reply
              0
              • Y yugong0216

                @JoeCFD I have already tried, and this computer is not using a VMworkstation virtual machine. It was because of this problem that I reinstalled the system, but the result is that I can only select version 6.2, and I still cannot create a project.

                mzimmersM Offline
                mzimmersM Offline
                mzimmers
                wrote on last edited by
                #11

                @yugong0216 once again, please go to Preferences -> Kits -> Qt Versions and show us what you see.

                Y 1 Reply Last reply
                0
                • mzimmersM mzimmers

                  @yugong0216 once again, please go to Preferences -> Kits -> Qt Versions and show us what you see.

                  Y Offline
                  Y Offline
                  yugong0216
                  wrote on last edited by
                  #12

                  @mzimmers this?Screenshot from 2023-04-14 09-48-04.png

                  mzimmersM 1 Reply Last reply
                  0
                  • Y yugong0216

                    @mzimmers this?Screenshot from 2023-04-14 09-48-04.png

                    mzimmersM Offline
                    mzimmersM Offline
                    mzimmers
                    wrote on last edited by
                    #13

                    @yugong0216 yes, thank you. So, you have a valid 5.15.2 version of Qt.

                    Two things I can think of: you may need to put that into a kit before you can use it, or as was already suggested, the particular example project may preclude use of Qt 5. If you haven't done so already, I'd recommend you make a new kit, and then try to create a new project (not from an example, but using the projects wizard), and see if that lets you choose the 5.15.2 library.

                    I'm suspecting that what @JoeCFD said might be the case - you're selecting an example that won't build with Qt 5.

                    Y 1 Reply Last reply
                    0
                    • mzimmersM mzimmers

                      @yugong0216 yes, thank you. So, you have a valid 5.15.2 version of Qt.

                      Two things I can think of: you may need to put that into a kit before you can use it, or as was already suggested, the particular example project may preclude use of Qt 5. If you haven't done so already, I'd recommend you make a new kit, and then try to create a new project (not from an example, but using the projects wizard), and see if that lets you choose the 5.15.2 library.

                      I'm suspecting that what @JoeCFD said might be the case - you're selecting an example that won't build with Qt 5.

                      Y Offline
                      Y Offline
                      yugong0216
                      wrote on last edited by
                      #14

                      @mzimmers @JoeCFD I am unable to create a QML program, but I can create a widget program and run it successfully. I also downloaded a QML program in Qt 5.15.2 from someone else. Although I encountered an error when opening main.qml, it does not affect the program's running, and I can compile and run it successfully.
                      3.png 2.png 1.png

                      Y 1 Reply Last reply
                      0
                      • Y yugong0216

                        @mzimmers @JoeCFD I am unable to create a QML program, but I can create a widget program and run it successfully. I also downloaded a QML program in Qt 5.15.2 from someone else. Although I encountered an error when opening main.qml, it does not affect the program's running, and I can compile and run it successfully.
                        3.png 2.png 1.png

                        Y Offline
                        Y Offline
                        yugong0216
                        wrote on last edited by
                        #15

                        @yugong0216 erverthing is ok, Manually install qtcreator9.0.2, not qtcreator10.0.0

                        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