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. MaintenanceTool
Forum Updated to NodeBB v4.3 + New Features

MaintenanceTool

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 457 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by SPlatten
    #1

    I want to update the tools I am using, presently I am building with 5.15.2, I want to update the tools to 5.15.16 as I want to use the Anchor Layout, the example I've seen online is using 5.15.16, however when I launch the MaintenanceTool, I see lots of Qt 6.. versions, but only Qt 5.15.2 and before that, nothing after the Qt 5.15.2.

    What do I need to do ?

    I'm working on iMAC:

    macOS Monterey
    Version 12.7.2
    iMac (Retina 5K, 27-inch, Late 2015)
    Processor 4 GHz Quad-Core Intel Core i7
    Memory 16 GB 1867 MHz DDR3
    Graphics AMD Radeon R9 M395X 4 GB
    

    About Qt Maintenance Tool:

    Based on Qt 5.15.11
    Built on Aug 23 2023
    From revision 0e9da21a36ff1d2ae9830654fc59eb6b872242
    

    Is it a big jump to go to Qt 6.6.1. ?

    Kind Regards,
    Sy

    J.HilkJ 1 Reply Last reply
    0
    • SPlattenS SPlatten

      I want to update the tools I am using, presently I am building with 5.15.2, I want to update the tools to 5.15.16 as I want to use the Anchor Layout, the example I've seen online is using 5.15.16, however when I launch the MaintenanceTool, I see lots of Qt 6.. versions, but only Qt 5.15.2 and before that, nothing after the Qt 5.15.2.

      What do I need to do ?

      I'm working on iMAC:

      macOS Monterey
      Version 12.7.2
      iMac (Retina 5K, 27-inch, Late 2015)
      Processor 4 GHz Quad-Core Intel Core i7
      Memory 16 GB 1867 MHz DDR3
      Graphics AMD Radeon R9 M395X 4 GB
      

      About Qt Maintenance Tool:

      Based on Qt 5.15.11
      Built on Aug 23 2023
      From revision 0e9da21a36ff1d2ae9830654fc59eb6b872242
      

      Is it a big jump to go to Qt 6.6.1. ?

      J.HilkJ Online
      J.HilkJ Online
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @SPlatten said in MaintenanceTool:

      What do I need to do ?

      Since open source people are supposed to switch to Qt6 Qt-company does not provide pre compiled Qt5 versions past 5.15.2

      Therefore you have 2 options:

      1. Get a comercial licence and use the maintenancetool to get the latest 5.15.16 precompiled to download
      2. Build Qt yourself. But only the slightly out of date variant of Qt5.15.12 since the open source release is delayed by at least a year

      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      SPlattenS 1 Reply Last reply
      0
      • J.HilkJ J.Hilk

        @SPlatten said in MaintenanceTool:

        What do I need to do ?

        Since open source people are supposed to switch to Qt6 Qt-company does not provide pre compiled Qt5 versions past 5.15.2

        Therefore you have 2 options:

        1. Get a comercial licence and use the maintenancetool to get the latest 5.15.16 precompiled to download
        2. Build Qt yourself. But only the slightly out of date variant of Qt5.15.12 since the open source release is delayed by at least a year
        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #3

        @J-Hilk , thank you, I'm presently installing 6.6.1, will see what issues I face.

        Kind Regards,
        Sy

        J.HilkJ 1 Reply Last reply
        1
        • SPlattenS SPlatten

          @J-Hilk , thank you, I'm presently installing 6.6.1, will see what issues I face.

          J.HilkJ Online
          J.HilkJ Online
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @SPlatten from my personal experience porting projects from Qt5 to Qt6 I'm afraid the answer will be "All kinds of issues and lots of them " 🙈

          Best of luck anyway!


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          SPlattenS 1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            @SPlatten from my personal experience porting projects from Qt5 to Qt6 I'm afraid the answer will be "All kinds of issues and lots of them " 🙈

            Best of luck anyway!

            SPlattenS Offline
            SPlattenS Offline
            SPlatten
            wrote on last edited by SPlatten
            #5

            @J-Hilk , are they're any preprocessors I can use to conditionally include certain headers when building for 5.15.2 or 6.6.1 ?

            For example just building it now and with 6.6.1 it complains about:

            #include <QtWidgets/QAction>
            

            I would prefer to wrap this line so it is used when building for 5.15.2 but something else when 6.6.1:

            #include <QAction>
            

            Edit:

            #if QT_VERSION == QT_VERSION_CHECK(5, 15, 2)
                    #include <QtWidgets/QAction>
            #elif QT_VERSION == QT_VERSION_CHECK(6, 6, 1)
                    #include <QAction>
            #endif
            

            Kind Regards,
            Sy

            JoeCFDJ 1 Reply Last reply
            1
            • SPlattenS SPlatten

              @J-Hilk , are they're any preprocessors I can use to conditionally include certain headers when building for 5.15.2 or 6.6.1 ?

              For example just building it now and with 6.6.1 it complains about:

              #include <QtWidgets/QAction>
              

              I would prefer to wrap this line so it is used when building for 5.15.2 but something else when 6.6.1:

              #include <QAction>
              

              Edit:

              #if QT_VERSION == QT_VERSION_CHECK(5, 15, 2)
                      #include <QtWidgets/QAction>
              #elif QT_VERSION == QT_VERSION_CHECK(6, 6, 1)
                      #include <QAction>
              #endif
              
              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by JoeCFD
              #6

              @SPlatten in Qt 5.15.2, you can do

               #include <QAction>
              

              as well. QtWidgets is not needed.

              1 Reply Last reply
              2

              • Login

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