Error to build with Static Qt 5.6.3 on Mac
-
Download the source code of qt5.6.3
http://download.qt.io/archive/qt/5.6/5.6.3/single/qt-everywhere-opensource-src-5.6.3.tar.xz
Compile error, command as follows
./configure -static -debug-and-release -nomake examples -nomake tests -prefix ~/Qt/5.6.3_static_osx -qt-sql-sqlite -plugin-sql-sqlite -qt-libpng -qt-libjpeg -qt-zlib -qt-pcre -opensource -confirm-license -opengl -qt-freetypeMake error, modify the
qtbase/src/plugins/platforms/cocoa/qcocoahelpers.mmfile before execution
Perform
makeis not an error, butmake installerror
How do I compile correctly?
-
Hi,
What version of macOS and Xcode are you using ?
Why are you trying to build such an outdated version of Qt ? -
Hi,
What version of macOS and Xcode are you using ?
Why are you trying to build such an outdated version of Qt ? -
Hi,
What version of macOS and Xcode are you using ?
Why are you trying to build such an outdated version of Qt ? -
Then maybe a silly question but are you using the Qt Connectivity module for your application ?
If not then don't build it.On a side note, why are you doing a custom build of Qt ?
-
Then maybe a silly question but are you using the Qt Connectivity module for your application ?
If not then don't build it.On a side note, why are you doing a custom build of Qt ?
@SGaist you mean to remove the superfluous build like this
./configure -static -debug-and-release -nomake examples -nomake tests -prefix ~/Qt/qt5.6.3/5.6.3/clang_64/ -opensource -confirm-licenseI'm sorry that I didn't quite understand what you said about a custom build of Qt
-
Then maybe a silly question but are you using the Qt Connectivity module for your application ?
If not then don't build it.On a side note, why are you doing a custom build of Qt ?
-
Then maybe a silly question but are you using the Qt Connectivity module for your application ?
If not then don't build it.On a side note, why are you doing a custom build of Qt ?
After making the changes, the compilation succeeded. The changes are as follows
- qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm

- qtbase/src/plugins/platforms/cocoa/qcocoahelpers.h

- qtbase/src/plugins/platforms/cocoa/qcocoahelpers.mm

- qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm
-
Good !
Since you have it building now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
-
Good !
Since you have it building now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)