Final three conclusions of this resolved thread:
1.) I learned that the dev branch is not necessarily stable. In this case Qt staff is working on qtpositioning and when trying to build the dev branch one needs to -skip qtpositioning in the confguation process.
2.) cmake config messages are misleading and/or probably wrong:
2.1) Qt is now configured for building. Just run 'cmake --build . --parallel'
shows up even when errors have occurred
2.2) configuration errors should be detected right from the immediate terminal output and not from CMakeError.log or CMakeOutput.log.
3.) The last issue regarding "bad CPU type" occurred due to using another (outdated) Python installation on my machine – after removal it used the up2date Phython version and eventually compiled fine.
Thanks again to anyone who contributed,
best
Alex
Gesendet: Sonntag, 24. Oktober 2021 um 16:11 Uhr
Von: "Alexander Carôt" <alexander_ca...@gmx.net>
An: "Cristian Adam" <cristian.a...@qt.io>
Cc: "Thiago Macieira" <thiago.macie...@intel.com>, interest@qt-project.org
Betreff: Re: [Interest] bulding Qt from git
Von: "Alexander Carôt" <alexander_ca...@gmx.net>
An: "Cristian Adam" <cristian.a...@qt.io>
Cc: "Thiago Macieira" <thiago.macie...@intel.com>, interest@qt-project.org
Betreff: Re: [Interest] bulding Qt from git
>>I will send an update regarding the compilation asap.
Quicker than expected it failed with the following:
FAILED: qtdeclarative/src/qml/.generated/release/RegExpJitTables.h /Users/soulalex/qt5/qtdeclarative/src/qml/.generated/release/RegExpJitTables.h
cd /Users/soulalex/qt5/qtdeclarative/src/qml && /Library/Frameworks/Python.framework/Versions/2.6/bin/python /Users/soulalex/qt5/qtdeclarative/src/qml/../3rdparty/masm/yarr/create_regex_tables /Users/soulalex/qt5/qtdeclarative/src/qml/.generated/release/RegExpJitTables.h
/bin/sh: /Library/Frameworks/Python.framework/Versions/2.6/bin/python: Bad CPU type in executable
[460/6969] Building CXX object qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.o
ninja: build stopped: subcommand failed.
cd /Users/soulalex/qt5/qtdeclarative/src/qml && /Library/Frameworks/Python.framework/Versions/2.6/bin/python /Users/soulalex/qt5/qtdeclarative/src/qml/../3rdparty/masm/yarr/create_regex_tables /Users/soulalex/qt5/qtdeclarative/src/qml/.generated/release/RegExpJitTables.h
/bin/sh: /Library/Frameworks/Python.framework/Versions/2.6/bin/python: Bad CPU type in executable
[460/6969] Building CXX object qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.o
ninja: build stopped: subcommand failed.
I wonder why I speaks of Android. Are there switches I can touch myself in oder to grant OSX compilation ?
Are these types of issues normal when using the dev branch of Qt ? In fact I only need to check a patch applied in qtmultimediawidgets so I wonder if it's better building Qt6.2.1 from source and simply replacing this single module.
Gesendet: Sonntag, 24. Oktober 2021 um 15:26 Uhr
Von: "Cristian Adam" <cristian.a...@qt.io>
An: "Alexander Carôt" <alexander_ca...@gmx.net>
Cc: "Thiago Macieira" <thiago.macie...@intel.com>, interest@qt-project.org
Betreff: Re: Aw: Re: Re: [Interest] bulding Qt from git
Von: "Cristian Adam" <cristian.a...@qt.io>
An: "Alexander Carôt" <alexander_ca...@gmx.net>
Cc: "Thiago Macieira" <thiago.macie...@intel.com>, interest@qt-project.org
Betreff: Re: Aw: Re: Re: [Interest] bulding Qt from git
On 24/10/2021 15:21, Alexander Carôt wrote:
Instead of ./configure -prefix ./qt6-build please do a:./configure -prefix ./qt6-build > configure.log 2>&1 Then upload the configure.log contents to pastebin.com.Ah – so you basically the whole console output of the configuation process – now I got it ;-) Here it is: https://pastebin.com/qf8jQGtZ Thanks, best Alex
Searching after CMake Error in the log pointed to:
-
Configuring 'qtpositioning'
-
CMake Error at qtbase/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:429 (add_custom_target):
-
add_custom_target cannot create target "docs_qtlocation" because another
-
target with the same name already exists. The existing target is a custom
-
target created in source directory "/Users/soulalex/qt5/qtlocation". See
-
documentation for policy CMP0002 for more details.
-
Call Stack (most recent call first):
-
qtbase/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake:501 (qt_build_repo_begin)
-
qtpositioning/CMakeLists.txt:24 (qt_build_repo)
You can configure with -skip qtpositioning in case you don't need the qtpositioning Qt Module.
Cheers,
Cristian.
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest