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. How to compile for older versions of qt
Forum Updated to NodeBB v4.3 + New Features

How to compile for older versions of qt

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 4 Posters 1.9k 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.
  • T Offline
    T Offline
    totallykvothe
    wrote on last edited by
    #1
    This post is deleted!
    jsulmJ 1 Reply Last reply
    0
    • 6thC6 Offline
      6thC6 Offline
      6thC
      wrote on last edited by
      #2

      People will probably need specifics. If you're using a feature only introduced after 5.6 then it's SOL, don't that feature or don't use that v framework.

      Is there a message you're receiving to know it's an issue whereby it "requires version 5.9"? I often have different Qt versions installed side by side and usually only lose them when I either need space or if I'm happy the latest is performing 100%

      1 Reply Last reply
      2
      • T totallykvothe

        This post is deleted!

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @totallykvothe said in How to compile for older versions of qt:

        it still requires version 5.9

        What exactly "requires" version 5.9? Is it during compiling? Is it when you start the app? You really need to be more specific. You could for example post errors you get.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        3
        • T Offline
          T Offline
          totallykvothe
          wrote on last edited by
          #4

          It compiles just fine, but at runtime it says that it requires Qt version 5.9, which is not installed.

          6thC6 jsulmJ 2 Replies Last reply
          0
          • T totallykvothe

            It compiles just fine, but at runtime it says that it requires Qt version 5.9, which is not installed.

            6thC6 Offline
            6thC6 Offline
            6thC
            wrote on last edited by
            #5

            @totallykvothe How about a screenshot showing the error message?

            The exact text is actually helpful, when you translate what is wrong for us - we lose important context. That puts us down to probing questions and while we could guess all day, I won't.

            1 Reply Last reply
            1
            • hskoglundH Online
              hskoglundH Online
              hskoglund
              wrote on last edited by
              #6

              Hi, just guessing, but when you copy over the source files to the 5.6 machine, don't copy the .pro.user file, just the .pro file (and the rest).

              1 Reply Last reply
              2
              • T totallykvothe

                It compiles just fine, but at runtime it says that it requires Qt version 5.9, which is not installed.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @totallykvothe I don't see how it can require 5.9 if you built it with 5.6.
                Are you sure you only copied source files and not any binaries built with 5.9?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                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