[Qt-creator] Unable to Compile QtCreator (4.15)
Cristian Adam
cristian.adam at qt.io
Tue Feb 23 16:16:01 CET 2021
On 23/02/2021 16:03, Michael Jackson wrote:
> I have been trying for the last few days to compile QtCreator using the master branch. I finally had to pick some random commit from a few weeks back to get it to compile. I just tried the latest 4.15 branch and I get the following compiler error:
>
> This is the general set of commands that I follow:
>
> cd /Users/Shared/OpenSource
> curl "http://qt.mirror.constant.com/development_releases/prebuilt/libclang/libclang-release_100-based-mac.7z" --output libclang-release_110-based-mac.7z
Notice that you download libclang-release_100 and save it as
libclang-release_110.
> open libclang-release_110-based-mac.7z
> export BRANCH=4.15
> git clone -b $BRANCH ssh://git@github.com/qt-creator/qt-creator
> mkdir -p qt-creator-builds/Relase
> cd qt-creator-builds/Relase
> export PATH=/Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/bin:$PATH
> cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/Users/mjackson/Applications/QtCreator-$BRANCH -DBUILD_PLUGIN_CLANGREFACTORING=ON -DBUILD_PLUGIN_CLANGPCHMANAGER=ON -DCMAKE_PREFIX_PATH=/Users/Shared/OpenSource/libclang ../../qt-creator
You are using BUILD_PLUGIN_CLANGREFACTORING=ON and
BUILD_PLUGIN_CLANGPCHMANAGER=ON which are by default OFF.
> ninja
> ninja install
>
>
> since I am not seeing any traffic on the list I'll assume that I have missed an update or something?
You are building plugins which nobody else is building.
Cheers,
Cristian.
More information about the Qt-creator
mailing list