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. Upgrading from qt 5.5.1 to qt 5.15.2

Upgrading from qt 5.5.1 to qt 5.15.2

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 1.8k 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.
  • A Offline
    A Offline
    Ather
    wrote on last edited by Ather
    #1

    Hi all,
    So I have an application that was written using QT Kit 5.5.1 and I used QtCreator 3.5.1 for building that app. I've decided to upgrade my kit to 5.15.2 and need some guidance as to how I should proceed and also in solving issues that may occur along the way. I'm currently using Windows 10. So far I've got the qt 5.15.2 source and tried building it. I used nmake when building older kit but for some reason it was keep failing for the newer one. So I used jom this time and got the whole kit working. Now I have the 5.15.2 kit and I installed QtCreator 4.14.2.
    Inside the qtcreator, I opened my .pro file to load the project and went to Kits > Qt Versions and manually added the kit (5.15.2 qmake.exe). Then under Kits > kits I added a new kit, set the compiler versions, and added the qt version to use. Now when I run qmake I get:

    14:01:18: Running steps for project HomieClient...
    14:01:18: Starting: "C:\opt\Qt\win32-msvc2017-5.15.2\bin\qmake.exe" C:\Users\putin\my_stuff\HomieClient\HomieClient.pro -spec win32-msvc "CONFIG+=debug"
    Project MESSAGE: Reading pc.pri
    Project MESSAGE: Reading windows.pri
    Project MESSAGE: 32-bit arch
    Project MESSAGE: NOTE: linking default VS libraries in precompiled !!
    Project MESSAGE: OpenCL support enabled
    Project MESSAGE: CONFIG win32:msvc
    Project ERROR: Unknown module(s) in QT: webengine
    14:01:18: The process "C:\opt\Qt\win32-msvc2017-5.15.2\bin\qmake.exe" exited with code 3.
    Error while building/deploying project HomieClient (kit: QTKit_new)
    When executing step "qmake"
    14:01:18: Elapsed time: 00:01.
    

    any idea what I could have done wrong?

    oh and here's my configure command that I used (my_configure.bat):

    set TARGET_MKSPEC=win32-msvc2017
    call configure.bat -icu -I C:\Users\putin\qt_deps\include -L C:\Users\putin\qt_deps\lib -openssl -debug-and-release -release -opensource -confirm-license -skip qtsvg -skip qttranslations -skip qtlocation -skip qtsensors -skip qtserialport -skip qtscript -nomake tests -nomake examples -platform %TARGET_MKSPEC% -mp -opengl dynamic -ltcg -directwrite -force-debug-info -prefix c:\opt\Qt\%TARGET_MKSPEC%-5.15.2
    

    Any help would be highly appreciated!!

    JKSHJ 1 Reply Last reply
    0
    • A Offline
      A Offline
      Ather
      wrote on last edited by
      #7

      So it turns out that webengine was not getting build, thus that error above. For those having the same issue as me, try calling vcvarsall.bat with amd64_x86 as mentioned here: https://doc.qt.io/qt-5/qtwebengine-platform-notes.html

      1 Reply Last reply
      0
      • A Ather

        Hi all,
        So I have an application that was written using QT Kit 5.5.1 and I used QtCreator 3.5.1 for building that app. I've decided to upgrade my kit to 5.15.2 and need some guidance as to how I should proceed and also in solving issues that may occur along the way. I'm currently using Windows 10. So far I've got the qt 5.15.2 source and tried building it. I used nmake when building older kit but for some reason it was keep failing for the newer one. So I used jom this time and got the whole kit working. Now I have the 5.15.2 kit and I installed QtCreator 4.14.2.
        Inside the qtcreator, I opened my .pro file to load the project and went to Kits > Qt Versions and manually added the kit (5.15.2 qmake.exe). Then under Kits > kits I added a new kit, set the compiler versions, and added the qt version to use. Now when I run qmake I get:

        14:01:18: Running steps for project HomieClient...
        14:01:18: Starting: "C:\opt\Qt\win32-msvc2017-5.15.2\bin\qmake.exe" C:\Users\putin\my_stuff\HomieClient\HomieClient.pro -spec win32-msvc "CONFIG+=debug"
        Project MESSAGE: Reading pc.pri
        Project MESSAGE: Reading windows.pri
        Project MESSAGE: 32-bit arch
        Project MESSAGE: NOTE: linking default VS libraries in precompiled !!
        Project MESSAGE: OpenCL support enabled
        Project MESSAGE: CONFIG win32:msvc
        Project ERROR: Unknown module(s) in QT: webengine
        14:01:18: The process "C:\opt\Qt\win32-msvc2017-5.15.2\bin\qmake.exe" exited with code 3.
        Error while building/deploying project HomieClient (kit: QTKit_new)
        When executing step "qmake"
        14:01:18: Elapsed time: 00:01.
        

        any idea what I could have done wrong?

        oh and here's my configure command that I used (my_configure.bat):

        set TARGET_MKSPEC=win32-msvc2017
        call configure.bat -icu -I C:\Users\putin\qt_deps\include -L C:\Users\putin\qt_deps\lib -openssl -debug-and-release -release -opensource -confirm-license -skip qtsvg -skip qttranslations -skip qtlocation -skip qtsensors -skip qtserialport -skip qtscript -nomake tests -nomake examples -platform %TARGET_MKSPEC% -mp -opengl dynamic -ltcg -directwrite -force-debug-info -prefix c:\opt\Qt\%TARGET_MKSPEC%-5.15.2
        

        Any help would be highly appreciated!!

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #2

        Hi, and welcome!

        @Ather said in Upgrading from qt 5.5.1 to qt 5.15.2:

        Project ERROR: Unknown module(s) in QT: webengine

        It looks like the Qt WebEngine module wasn't installed.

        Close Qt Creator, then run MaintenanceTool.exe (in the root folder of your Qt installation).

        Select "Add or remove components", and then install Qt > Qt 5.15.2 > Qt WebEngine.

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

        sierdzioS 1 Reply Last reply
        0
        • JKSHJ JKSH

          Hi, and welcome!

          @Ather said in Upgrading from qt 5.5.1 to qt 5.15.2:

          Project ERROR: Unknown module(s) in QT: webengine

          It looks like the Qt WebEngine module wasn't installed.

          Close Qt Creator, then run MaintenanceTool.exe (in the root folder of your Qt installation).

          Select "Add or remove components", and then install Qt > Qt 5.15.2 > Qt WebEngine.

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #3

          @JKSH said in Upgrading from qt 5.5.1 to qt 5.15.2:

          Hi, and welcome!

          @Ather said in Upgrading from qt 5.5.1 to qt 5.15.2:

          Project ERROR: Unknown module(s) in QT: webengine

          It looks like the Qt WebEngine module wasn't installed.

          Close Qt Creator, then run MaintenanceTool.exe (in the root folder of your Qt installation).

          Select "Add or remove components", and then install Qt > Qt 5.15.2 > Qt WebEngine.

          But OP has compiled Qt manually, the precompiled web engine might not work.

          (Z(:^

          Christian EhrlicherC JKSHJ 2 Replies Last reply
          0
          • sierdzioS sierdzio

            @JKSH said in Upgrading from qt 5.5.1 to qt 5.15.2:

            Hi, and welcome!

            @Ather said in Upgrading from qt 5.5.1 to qt 5.15.2:

            Project ERROR: Unknown module(s) in QT: webengine

            It looks like the Qt WebEngine module wasn't installed.

            Close Qt Creator, then run MaintenanceTool.exe (in the root folder of your Qt installation).

            Select "Add or remove components", and then install Qt > Qt 5.15.2 > Qt WebEngine.

            But OP has compiled Qt manually, the precompiled web engine might not work.

            Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by Christian Ehrlicher
            #4

            @sierdzio said in Upgrading from qt 5.5.1 to qt 5.15.2:

            But OP has compiled Qt manually, the precompiled web engine might not work.

            You're correct, configure issued a warning that webengine was not build because the requirements did not match (WinSDK version does not match) - see https://doc.qt.io/qt-5/qtwebengine-platform-notes.html

            Why not using the recompiled Qt? Much easier and with QtWebengine

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            3
            • sierdzioS sierdzio

              @JKSH said in Upgrading from qt 5.5.1 to qt 5.15.2:

              Hi, and welcome!

              @Ather said in Upgrading from qt 5.5.1 to qt 5.15.2:

              Project ERROR: Unknown module(s) in QT: webengine

              It looks like the Qt WebEngine module wasn't installed.

              Close Qt Creator, then run MaintenanceTool.exe (in the root folder of your Qt installation).

              Select "Add or remove components", and then install Qt > Qt 5.15.2 > Qt WebEngine.

              But OP has compiled Qt manually, the precompiled web engine might not work.

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #5

              @sierdzio said in Upgrading from qt 5.5.1 to qt 5.15.2:

              But OP has compiled Qt manually

              Ah, I missed that. Thanks for picking it up.

              @Christian-Ehrlicher said in Upgrading from qt 5.5.1 to qt 5.15.2:

              Why not using the recompiled Qt? Much easier and with QtWebengine

              Agreed; building Qt WebEngine from source takes a a bit of work.

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

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Ather
                wrote on last edited by
                #6

                Thanks guys! I installed a precompiled version last night, going to try to test it out today and let you know if I run into any issues.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Ather
                  wrote on last edited by
                  #7

                  So it turns out that webengine was not getting build, thus that error above. For those having the same issue as me, try calling vcvarsall.bat with amd64_x86 as mentioned here: https://doc.qt.io/qt-5/qtwebengine-platform-notes.html

                  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