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. Finding out version of Qt source?

Finding out version of Qt source?

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 991 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.
  • W Offline
    W Offline
    WizzZZ
    wrote on last edited by
    #1

    Probably a simple stupid question but I haven't found an answer:

    when building Qt from source, i want my target directory (-prefix) to match the Qt version... so I'd like to know how I figure the version so I can use it to parameter my prefix folder name.

    Any ideas?

    Thanks for help.

    There is only 10 types of people in the world: those who understand binary and those who don't.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rohaase
      wrote on last edited by
      #2

      the version is found in

      ..\Qt\5.0.1\Src\qtbase\src\corelib\global\qglobal.h

      there is a define:

      #define QT_VERSION_STR "5.0.1"

      in that file you can have a look.

      I am a newbie in C++ - so be kind ;=)

      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