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_VERSION is **unknown**
Forum Updated to NodeBB v4.3 + New Features

QT_VERSION is **unknown**

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 3.0k 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.
  • O Offline
    O Offline
    ohaz
    wrote on last edited by
    #1

    /opt/qt/bin/qmake -query QT_VERSION returns unknown. I wanted to install QtJambi, but the build fails because of this. How to fix it?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Are you using Qt 3? It does not support QT_VERSION and you should seriously consider upgrading to a recent Qt version.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        ohaz
        wrote on last edited by
        #3

        No, I've installed 4.7.4

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lgeyer
          wrote on last edited by
          #4

          What does qmake -v and qmake -query say?

          1 Reply Last reply
          0
          • O Offline
            O Offline
            ohaz
            wrote on last edited by
            #5

            I installed 4.7.4 but qmake -v says Qt 3.3.8
            When I do pacman -S qt it shows me "qt-4.7.4 is up to date!"

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lgeyer
              wrote on last edited by
              #6

              Remove your Qt 3 installation and/or fix your environment so that Qt 4 is used (QTDIR, PATH).

              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