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. core5compat not found on macOS

core5compat not found on macOS

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 2.8k 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.
  • C Offline
    C Offline
    Ceraolo_gmail
    wrote on last edited by Ceraolo_gmail
    #1

    I've an app that makes heavy use of QRegExp, and therefore needs core5compat to be compiled with Qt6.

    I've put on my pro file the following row:

    greaterThan(QT_MAJOR_VERSION,5)  QT += core5compat
    

    which works great on my win PC.
    However, when I try to compile on a MacOS system (I tried Qt 6.2.4 and 6.4.2 for macOS) I get the following message:

    error: Project ERROR: Unknown module(s) in QT: core5compat
    

    I cannot believe that core5compat is not available for macOS. Do I miss something?
    Anyone can help?.

    C 1 Reply Last reply
    0
    • C Ceraolo_gmail

      @Ceraolo_gmail I installed it (5.15.2 MacOS) through

      qt-unified-macOS-x64-4.5.1-online.dmg
      

      then updated it (added 6.4.2 and 6.2.4) through

      Qt Maintenance tool
      

      Some screenshots:
      24a8f9d2-4066-4140-a3f8-9d704936c17a-image.png

      f1dd0249-e85f-4653-a26f-2c9d2d0d47c5-image.png

      I have those SDK warnings, but I don't believe they matter in this case.

      B Offline
      B Offline
      Bonnie
      wrote on last edited by
      #4

      @Ceraolo_gmail You need to check "Qt 5 Compatibility Module" when adding Qt versions by Qt Maintenance tool, did you do that?

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

        Hi,

        How did you install Qt ?

        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
        0
        • C Ceraolo_gmail

          I've an app that makes heavy use of QRegExp, and therefore needs core5compat to be compiled with Qt6.

          I've put on my pro file the following row:

          greaterThan(QT_MAJOR_VERSION,5)  QT += core5compat
          

          which works great on my win PC.
          However, when I try to compile on a MacOS system (I tried Qt 6.2.4 and 6.4.2 for macOS) I get the following message:

          error: Project ERROR: Unknown module(s) in QT: core5compat
          

          I cannot believe that core5compat is not available for macOS. Do I miss something?
          Anyone can help?.

          C Offline
          C Offline
          Ceraolo_gmail
          wrote on last edited by Ceraolo_gmail
          #3

          @Ceraolo_gmail I installed it (5.15.2 MacOS) through

          qt-unified-macOS-x64-4.5.1-online.dmg
          

          then updated it (added 6.4.2 and 6.2.4) through

          Qt Maintenance tool
          

          Some screenshots:
          24a8f9d2-4066-4140-a3f8-9d704936c17a-image.png

          f1dd0249-e85f-4653-a26f-2c9d2d0d47c5-image.png

          I have those SDK warnings, but I don't believe they matter in this case.

          B 1 Reply Last reply
          0
          • C Ceraolo_gmail

            @Ceraolo_gmail I installed it (5.15.2 MacOS) through

            qt-unified-macOS-x64-4.5.1-online.dmg
            

            then updated it (added 6.4.2 and 6.2.4) through

            Qt Maintenance tool
            

            Some screenshots:
            24a8f9d2-4066-4140-a3f8-9d704936c17a-image.png

            f1dd0249-e85f-4653-a26f-2c9d2d0d47c5-image.png

            I have those SDK warnings, but I don't believe they matter in this case.

            B Offline
            B Offline
            Bonnie
            wrote on last edited by
            #4

            @Ceraolo_gmail You need to check "Qt 5 Compatibility Module" when adding Qt versions by Qt Maintenance tool, did you do that?

            C 1 Reply Last reply
            3
            • B Bonnie

              @Ceraolo_gmail You need to check "Qt 5 Compatibility Module" when adding Qt versions by Qt Maintenance tool, did you do that?

              C Offline
              C Offline
              Ceraolo_gmail
              wrote on last edited by
              #5

              @Bonnie Thank you!
              It is a so bad mistake of mine that I should get ashamed.
              However, this completely solves my issue.
              Thank again

              1 Reply Last reply
              0
              • SGaistS SGaist has marked this topic as solved on

              • Login

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