Designer.app not built when compiling Qt5 for macos x86_64 from arm64 host
-
I'm trying to compile Qt5 for macos x86_64 from an arm64 host (M2). For the most part it compiles, but several things are left out even though configure says "Yes" they will be built (e.g. Designer.app).
Configure line:
../configure -debug-and-release -opensource -confirm-license -nomake examples -nomake tests -prefix /tools/qt5/5.15.10-x86_64 -device-option QMAKE_APPLE_DEVICE_ARCHS=x86_64
Configure output:
Qt Tools: Qt Assistant ........................... yes Qt Designer ............................ yes Qt Distance Field Generator ............ yes kmap2qmap .............................. yes Qt Linguist ............................ yes Mac Deployment Tool .................... yes makeqpf ................................ yes pixeltool .............................. yes qdbus .................................. yes qev .................................... yes Qt Attributions Scanner ................ yes qtdiag ................................. yes qtpaths ................................ yes qtplugininfo ........................... yes Windows deployment tool ................ no WinRT Runner Tool ...................... no Qt Tools: QDoc ................................... no
-
Hi and welcome to devnet,
Aren't you missing all the "host" tools ?
-
It's an educated guess: I think that you are triggering the cross-compilation detection and thus the host tools are not built as there's little sense to have them for to be built for what is usually a target device. Which version of Qt 5 are you building ? Also, why not build it for both architectures ?
-
It's an educated guess: I think that you are triggering the cross-compilation detection and thus the host tools are not built as there's little sense to have them for to be built for what is usually a target device. Which version of Qt 5 are you building ? Also, why not build it for both architectures ?