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. Single pro file for qt5 + qt6
Forum Updated to NodeBB v4.3 + New Features

Single pro file for qt5 + qt6

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 208 Views 3 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.
  • ocgltdO Offline
    ocgltdO Offline
    ocgltd
    wrote on last edited by
    #1

    I have a project that compiles against qt5 for Red Hat 6/7/8 but must compile against qt6 for Red Hat 9

    Is it possible to use a single .pro file / qmake file that can run under either?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      A single qmake ? No, a single .pro file ? Yes, check the ones generated by Qt Creator. There's a test to check whether you are using Qt 4 or Qt 5 (or at least there was)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - 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