Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Quick Application can't be created by Wizard of QtCreator v2.5.2 on Qt5
Forum Updated to NodeBB v4.3 + New Features

Qt Quick Application can't be created by Wizard of QtCreator v2.5.2 on Qt5

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 3 Posters 2.5k Views 1 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.
  • J Offline
    J Offline
    jackyang
    wrote on last edited by
    #1

    Does anyone create a "Qt Quick Application (Built-in-Elements)" successfully by Wizard on this development environment ? (Qt5, QtCreator v2.5.2) ?

    The wizard will stop at second step : "No valid Qt versions found."

    I check the Tools/Build & Run, the Qt Versions links ok with Qt 5.0.0, tool chains is fine.

    I used the QtCreator v2.4.1 is ok combine with Qt5, although it needs some adjustment with .pro, .pri file.

    Does anyone has try this case ?

    Thanks

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      If you want wizards, stick with 4.8 :) Qt5 is for hardcores :D Remember that Qt5 is not released yet.

      And anyway, creating QML2 apps is very easy: include QQuickView, create QtGuiApplication instance, set source to your main QML file and you're done.

      (Z(:^

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jackyang
        wrote on last edited by
        #3

        OK, I got your point.
        Is there a version checking in Creator v2.5.2 to not to create the QML2 app by wizard if we use the Qt5? At least I saw some apart of source code on Creator to that.

        Anyway, thanks : )

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          No, I don't think there is something like that there now. It will change, definitely, as Qt5 will get closer to an actual release.

          QtC 2.5.2 does not recognize Qt5 headers, too. I recommend compiling the newest sources from git - there it works flawlessly (2.6 may have it, too, I haven't checked).

          (Z(:^

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            Currently the Qt Quick application wizard is creating Qt Quick 1 applications and will only do so for Qt versions 4.x.y. I was told that there is a patch for Qt Quick 2 in the work, but don't know when it will get commited.

            From what I understand there are issues with the Qt Quick 1 and Qt Quick 2 wizard interfering with each other in the UI if both Qt 4 and Qt 5 libraries are available. We need to find a good way to present both wizards at the same time and to make sure to not confuse the user with which Qt versions are available where.

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              would imagine there is more interference between Qt Quick 1 between Qt4 and Qt5, since Quick 2 is entirely new. Maybe you should introduce a new option to differentiate between QML1 and 2?

              Just a thought. I'm developing an already existing project, so wizards don't concern me too much currently.

              (Z(:^

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Yes, having Qt Quick 1 and Qt Quick 2 wizards is definitely an option. But currently we have three Qt Quick 1 application wizards (for the different components), so we don't want to add yet more Qt Quick application wizards.

                Having so many different wizards for something as simple as a "hello world" Qt Quick application just does not feel right.

                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