core5compat not found on macOS
-
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?. -
@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:
I have those SDK warnings, but I don't believe they matter in this case.
@Ceraolo_gmail You need to check "Qt 5 Compatibility Module" when adding Qt versions by Qt Maintenance tool, did you do that?
-
Hi,
How did you install Qt ?
-
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?.@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:
I have those SDK warnings, but I don't believe they matter in this case.
-
@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:
I have those SDK warnings, but I don't believe they matter in this case.
@Ceraolo_gmail You need to check "Qt 5 Compatibility Module" when adding Qt versions by Qt Maintenance tool, did you do that?
-
@Ceraolo_gmail You need to check "Qt 5 Compatibility Module" when adding Qt versions by Qt Maintenance tool, did you do that?
@Bonnie Thank you!
It is a so bad mistake of mine that I should get ashamed.
However, this completely solves my issue.
Thank again -
S SGaist has marked this topic as solved on