Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-06-14 Thread Pascal COMBES
refactoringplugin.cpp:96:48: error: template argument 1 is 
>> invalid
>> [   90s]96 | SymbolQuery 
>> symbolQuery{statementFactory};
>> [   90s]   |^
>> [   90s] clangrefactoringplugin.cpp:96:62: error: 'statementFactory' was not 
>> declared in this scope
>> [   90s]96 | SymbolQuery 
>> symbolQuery{statementFactory};
>> [   90s]   |  
>>^~~~
>> [   90s] clangrefactoringplugin.cpp:96:78: error: cannot convert 
>> '' to 'int' in initialization
>> [   90s]96 | SymbolQuery 
>> symbolQuery{statementFactory};
>> [   90s]   |  
>>^
>> [   90s] clangrefactoringplugin.cpp:98:107: error: could not convert 
>> '{((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::connectionClient.ClangBackEnd::RefactoringConnectionClient::serverProxy(),
>>  
>> ((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::refactoringClient,
>>  
>> ((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::filePathCache,
>>  
>> ((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::symbolQuery}'
>>  from '' to 
>> 'ClangRefactoring::RefactoringEngine'
>> [   90s]98 | RefactoringEngine 
>> engine{connectionClient.serverProxy(), refactoringClient, filePathCache, 
>> symbolQuery};
>> [   90s]   |  
>> ^
>> [   90s]   |  
>>             |
>> [   90s]   |      
>> > list>
>>
>>
>> Le 23/02/2021 à 17:00, Michael Jackson a écrit :
>>>
>>> Cool Thanks for the information and steps. I did all steps and patched
>>> the code to successfully compile on my end. I created a new branch and
>>> pushed that branch to my fork on GitHub (github.com/imikejackson). I
>>> also updated the cmake.yml build matrix to also build the
>>> clangrefactoringplugin? I’ll check back later this afternoon to 
>> see if
>>> a GitHub action performed the build?
>>>
>>>  
>>>
>>> --
>>>
>>> Mike Jackson
>>>
>>>  
>>>
>>> *From: *Cristian Adam 
>>> *Date: *Tuesday, February 23, 2021 at 10:41 AM
>>> *To: *Michael Jackson , Qt-creator
>>> 
>>> *Subject: *Re: [Qt-creator] Unable to Compile QtCreator (4.15)
>>>
>>>  
>>>
>>> On 23/02/2021 16:25, Michael Jackson wrote:
>>>
>>>Oh. Should I not be compiling those plugins? I liked having them around 
>>> in earlier releases of QtCreator. On a related note is there a web site 
>>> that shows the results of CI builds and their configurations? Or a place I 
>>> can submit a build? Would that be the Gerrit site?
>>>
>>> 
>>>
>>> We have GitHub Actions enabled at
>>> https://github.com/qt-creator/qt-creator/actions
>>> <https://github.com/qt-creator/qt-creator/actions>
>>>
>>> If you have a GitHub account you can:
>>>
>>> 1. Fork https://github.com/qt-creator/qt-creator
>>><https://github.com/qt-creator/qt-creator>
>>> 2. Add your GitHub fork to your Qt Creator git checkout
>>>$ git remote add github https://github.com/
>>><https://github.com/>/qt-creator.git
>>> 3. Push to your GitHub fork
>>>$ git push github --force
>>>
>>> Your GitHub fork will get its own build of Qt Creator. The build is
>>> ccache backed, and after the cache is warm, a build should take ~30
>>> minutes. You also get build artifacts for Linux, Window and macOS.
>>>
>>> Cheers,
>>> Cristian.
>>>
>>>
>>> ___
>>> Qt-creator mailing list
>>> Qt-creator@qt-project.org
>>> https://lists.qt-project.org/listinfo/qt-creator
>>
>>
>>
>> ___
>> Qt-creator mailing list
>> Qt-creator@qt-project.org
>> https://lists.qt-project.org/listinfo/qt-creator
> 

___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-06-14 Thread Eike Ziller
~~
> [   90s] clangrefactoringplugin.cpp:96:78: error: cannot convert 
> '' to 'int' in initialization
> [   90s]96 | SymbolQuery 
> symbolQuery{statementFactory};
> [   90s]   |  
>^
> [   90s] clangrefactoringplugin.cpp:98:107: error: could not convert 
> '{((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::connectionClient.ClangBackEnd::RefactoringConnectionClient::serverProxy(),
>  
> ((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::refactoringClient,
>  
> ((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::filePathCache,
>  
> ((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::symbolQuery}'
>  from '' to 
> 'ClangRefactoring::RefactoringEngine'
> [   90s]98 | RefactoringEngine engine{connectionClient.serverProxy(), 
> refactoringClient, filePathCache, symbolQuery};
> [   90s]   |  
> ^
> [   90s]   |  
> |
> [   90s]   |  
>  list>
> 
> 
> Le 23/02/2021 à 17:00, Michael Jackson a écrit :
>> 
>> Cool Thanks for the information and steps. I did all steps and patched
>> the code to successfully compile on my end. I created a new branch and
>> pushed that branch to my fork on GitHub (github.com/imikejackson). I
>> also updated the cmake.yml build matrix to also build the
>> clangrefactoringplugin? I’ll check back later this afternoon to 
> see if
>> a GitHub action performed the build?
>> 
>>  
>> 
>> --
>> 
>> Mike Jackson
>> 
>>  
>> 
>> *From: *Cristian Adam 
>> *Date: *Tuesday, February 23, 2021 at 10:41 AM
>> *To: *Michael Jackson , Qt-creator
>> 
>> *Subject: *Re: [Qt-creator] Unable to Compile QtCreator (4.15)
>> 
>>  
>> 
>> On 23/02/2021 16:25, Michael Jackson wrote:
>> 
>>Oh. Should I not be compiling those plugins? I liked having them around 
>> in earlier releases of QtCreator. On a related note is there a web site that 
>> shows the results of CI builds and their configurations? Or a place I can 
>> submit a build? Would that be the Gerrit site?
>> 
>> 
>> 
>> We have GitHub Actions enabled at
>> https://github.com/qt-creator/qt-creator/actions
>> <https://github.com/qt-creator/qt-creator/actions>
>> 
>> If you have a GitHub account you can:
>> 
>> 1. Fork https://github.com/qt-creator/qt-creator
>><https://github.com/qt-creator/qt-creator>
>> 2. Add your GitHub fork to your Qt Creator git checkout
>>$ git remote add github https://github.com/
>><https://github.com/>/qt-creator.git
>> 3. Push to your GitHub fork
>>$ git push github --force
>> 
>> Your GitHub fork will get its own build of Qt Creator. The build is
>> ccache backed, and after the cache is warm, a build should take ~30
>> minutes. You also get build artifacts for Linux, Window and macOS.
>> 
>> Cheers,
>> Cristian.
>> 
>> 
>> ___
>> Qt-creator mailing list
>> Qt-creator@qt-project.org
>> https://lists.qt-project.org/listinfo/qt-creator
> 
> 
> 
> ___
> Qt-creator mailing list
> Qt-creator@qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.zil...@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-06-13 Thread Pascal COMBES
Refactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::filePathCache,
 
((ClangRefactoring::ClangRefactoringPluginData*)this)->ClangRefactoring::ClangRefactoringPluginData::symbolQuery}'
 from '' to 
'ClangRefactoring::RefactoringEngine'
[   90s]98 | RefactoringEngine engine{connectionClient.serverProxy(), 
refactoringClient, filePathCache, symbolQuery};
[   90s]   |  
 ^
[   90s]   |  
 |
[   90s]   |  
 


Le 23/02/2021 à 17:00, Michael Jackson a écrit :
>
> Cool Thanks for the information and steps. I did all steps and patched
> the code to successfully compile on my end. I created a new branch and
> pushed that branch to my fork on GitHub (github.com/imikejackson). I
> also updated the cmake.yml build matrix to also build the
> clangrefactoringplugin? I’ll check back later this afternoon to 
see if
> a GitHub action performed the build?
>
>  
>
> --
>
> Mike Jackson
>
>  
>
> *From: *Cristian Adam 
> *Date: *Tuesday, February 23, 2021 at 10:41 AM
> *To: *Michael Jackson , Qt-creator
> 
> *Subject: *Re: [Qt-creator] Unable to Compile QtCreator (4.15)
>
>  
>
> On 23/02/2021 16:25, Michael Jackson wrote:
>
> Oh. Should I not be compiling those plugins? I liked having them around 
> in earlier releases of QtCreator. On a related note is there a web site that 
> shows the results of CI builds and their configurations? Or a place I can 
> submit a build? Would that be the Gerrit site?
>
>  
>
> We have GitHub Actions enabled at
> https://github.com/qt-creator/qt-creator/actions
> <https://github.com/qt-creator/qt-creator/actions>
>
> If you have a GitHub account you can:
>
>  1. Fork https://github.com/qt-creator/qt-creator
> <https://github.com/qt-creator/qt-creator>
>  2. Add your GitHub fork to your Qt Creator git checkout
> $ git remote add github https://github.com/
> <https://github.com/>/qt-creator.git
>  3. Push to your GitHub fork
> $ git push github --force
>
> Your GitHub fork will get its own build of Qt Creator. The build is
> ccache backed, and after the cache is warm, a build should take ~30
> minutes. You also get build artifacts for Linux, Window and macOS.
>
> Cheers,
> Cristian.
>
>
> ___
> Qt-creator mailing list
> Qt-creator@qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator



___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Michael Jackson
Cool Thanks for the information and steps. I did all steps and patched the code 
to successfully compile on my end. I created a new branch and pushed that 
branch to my fork on GitHub (github.com/imikejackson). I also updated the 
cmake.yml build matrix to also build the clangrefactoringplugin? I’ll check 
back later this afternoon to see if a GitHub action performed the build?

 

--

Mike Jackson

 

From: Cristian Adam 
Date: Tuesday, February 23, 2021 at 10:41 AM
To: Michael Jackson , Qt-creator 

Subject: Re: [Qt-creator] Unable to Compile QtCreator (4.15)

 

On 23/02/2021 16:25, Michael Jackson wrote:
Oh. Should I not be compiling those plugins? I liked having them around in 
earlier releases of QtCreator. On a related note is there a web site that shows 
the results of CI builds and their configurations? Or a place I can submit a 
build? Would that be the Gerrit site?
 
We have GitHub Actions enabled at 
https://github.com/qt-creator/qt-creator/actions 

If you have a GitHub account you can:
Fork https://github.com/qt-creator/qt-creator
Add your GitHub fork to your Qt Creator git checkout
$ git remote add github https://github.com//qt-creator.git
Push to your GitHub fork
$ git push github --force
Your GitHub fork will get its own build of Qt Creator. The build is ccache 
backed, and after the cache is warm, a build should take ~30 minutes. You also 
get build artifacts for Linux, Window and macOS.

Cheers,
Cristian.

___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Cristian Adam

On 23/02/2021 16:25, Michael Jackson wrote:


Oh. Should I not be compiling those plugins? I liked having them around in 
earlier releases of QtCreator. On a related note is there a web site that shows 
the results of CI builds and their configurations? Or a place I can submit a 
build? Would that be the Gerrit site?

We have GitHub Actions enabled at 
https://github.com/qt-creator/qt-creator/actions 



If you have a GitHub account you can:

1. Fork https://github.com/qt-creator/qt-creator
   
2. Add your GitHub fork to your Qt Creator git checkout
   $ git remote add github https://github.com//qt-creator.git
3. Push to your GitHub fork
   $ git push github --force

Your GitHub fork will get its own build of Qt Creator. The build is 
ccache backed, and after the cache is warm, a build should take ~30 
minutes. You also get build artifacts for Linux, Window and macOS.


Cheers,
Cristian.

___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Michael Jackson
On 2/23/21, 10:16 AM, "Cristian Adam"  wrote:

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://g...@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.

Oh. Should I not be compiling those plugins? I liked having them around in 
earlier releases of QtCreator. On a related note is there a web site that shows 
the results of CI builds and their configurations? Or a place I can submit a 
build? Would that be the Gerrit site?

Thank You
Mike Jackson


___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Cristian Adam

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://g...@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.

___
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Eike Ziller
Probably broke with
Core: Streamline SearchResultWindow interface (Ic2740477) · Gerrit Code Review
https://codereview.qt-project.org/c/qt-creator/qt-creator/+/334090

Since clangrefactoring is not built by default, this wasn’t noticed.

Br, Eike

> On Feb 23, 2021, at 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:
> 
> 69 warnings generated.
> [867/2446] Building CXX object 
> src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
> FAILED: 
> src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
>  
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
>  -DBUILD_SQLITE_LIBRARY -DCLANGREFACTORING_LIBRARY 
> -DCLANG_BINDIR=\"/Users/Shared/OpenSource/libclang/bin\" 
> -DCLANG_INCLUDE_DIR=\"/Users/Shared/OpenSource/libclang/lib/clang/11.0.0/include\"
>  -DCLANG_VERSION=\"11.0.0\" -DClangRefactoring_EXPORTS -DHAVE_FDATASYNC 
> -DHAVE_ISNAN -DHAVE_MALLOC_USABLE_SIZE -DQT_CONCURRENT_LIB -DQT_CORE_LIB 
> -DQT_CREATOR -DQT_DISABLE_DEPRECATED_BEFORE=0x050900 -DQT_GUI_LIB 
> -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_JAVA_STYLE_ITERATORS 
> -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB 
> -DRELATIVE_DATA_PATH=\"../Resources\" 
> -DRELATIVE_DOC_PATH=\"../Resources/doc\" 
> -DRELATIVE_LIBEXEC_PATH=\"../Resources/libexec\" 
> -DRELATIVE_PLUGIN_PATH=\"../PlugIns\" -DSQLITE_CORE 
> -DSQLITE_DEFAULT_FOREIGN_KEYS=1 -DSQLITE_DEFAULT_MEMSTATUS=0 
> -DSQLITE_DEFAULT_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 
> -DSQLITE_DQS=0 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 
> -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_NULL_TRIM 
> -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_STAT4 
> -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS 
> -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MAX_WORKER_THREADS -DSQLITE_OMIT_DECLTYPE 
> -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_LOAD_EXTENSION 
> -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_UTF16 -DSQLITE_TEMP_STORE=2 
> -DSQLITE_THREADSAFE=2 -DSQLITE_USE_ALLOCA -Isrc/plugins/clangrefactoring 
> -I/Users/Shared/OpenSource/qt-creator/src/plugins/clangrefactoring 
> -Isrc/plugins/clangrefactoring/ClangRefactoring_autogen/include -Isrc 
> -I/Users/Shared/OpenSource/qt-creator/src/plugins 
> -I/Users/Shared/OpenSource/qt-creator/src/libs/clangsupport 
> -I/Users/Shared/OpenSource/qt-creator/src/libs 
> -I/Users/Shared/OpenSource/qt-creator/src/libs/sqlite 
> -I/Users/Shared/OpenSource/qt-creator/src/libs/sqlite/../3rdparty/sqlite 
> -I/Users/Shared/OpenSource/qt-creator/src/libs/3rdparty 
> -I/Users/Shared/OpenSource/qt-creator/src/libs/3rdparty/syntax-highlighting/src/lib
>  
> -I/Users/Shared/OpenSource/qt-creator/src/libs/3rdparty/syntax-highlighting/autogenerated/src/lib
>  -iframework /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib -isystem 
> /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtConcurrent.framework/Headers
>  -isystem 
> /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtCore.framework/Headers 
> -isystem /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/./mkspecs/macx-clang 
> -isystem 
> /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtNetwork.framework/Headers
>  -isystem 
> /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtGui.framework/Headers 
> -isystem 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers
>  -isystem 
> /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtWidgets.framework/Headers
>  -g -isysroot 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
>  -mmacosx-version-min=10.15 -fPIC -fvisibility=hidden 
> -fvisibility-inlines-hidden -fPIC -std=c++17 -Winvalid-pch -Xclang 
> -include-pch -Xclang 
> /Users/Shared/OpenSource/qt-creator-builds/Release/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchGui.dir/cmake_pch.hxx.pch
>  -Xclang -include -Xclang 
> /Users/Shared/OpenSource/qt-creator-builds/Release/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchGui.dir/cmake_pch.hxx
>  -MD -MT 
> src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
>  -MF 
> src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o.d
>  -o 
> src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
>  -c 
> /Users/Shared/OpenSource/qt-creator/src/plugins/clangrefactoring/qtcreatorsearchhandle.cpp
> /Users/Shared/OpenSource/qt-creator/src/plugins/clangrefactoring/qtcreatorsearchhandle.cpp:45:39:
>  error: too many arguments to function call, expected single 

[Qt-creator] Unable to Compile QtCreator (4.15)

2021-02-23 Thread Michael Jackson
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:

69 warnings generated.
[867/2446] Building CXX object 
src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
FAILED: 
src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
 -DBUILD_SQLITE_LIBRARY -DCLANGREFACTORING_LIBRARY 
-DCLANG_BINDIR=\"/Users/Shared/OpenSource/libclang/bin\" 
-DCLANG_INCLUDE_DIR=\"/Users/Shared/OpenSource/libclang/lib/clang/11.0.0/include\"
 -DCLANG_VERSION=\"11.0.0\" -DClangRefactoring_EXPORTS -DHAVE_FDATASYNC 
-DHAVE_ISNAN -DHAVE_MALLOC_USABLE_SIZE -DQT_CONCURRENT_LIB -DQT_CORE_LIB 
-DQT_CREATOR -DQT_DISABLE_DEPRECATED_BEFORE=0x050900 -DQT_GUI_LIB 
-DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_JAVA_STYLE_ITERATORS 
-DQT_RESTRICTED_CAST_FROM_ASCII -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB 
-DRELATIVE_DATA_PATH=\"../Resources\" -DRELATIVE_DOC_PATH=\"../Resources/doc\" 
-DRELATIVE_LIBEXEC_PATH=\"../Resources/libexec\" 
-DRELATIVE_PLUGIN_PATH=\"../PlugIns\" -DSQLITE_CORE 
-DSQLITE_DEFAULT_FOREIGN_KEYS=1 -DSQLITE_DEFAULT_MEMSTATUS=0 
-DSQLITE_DEFAULT_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 
-DSQLITE_DQS=0 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 
-DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_NULL_TRIM 
-DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_STAT4 
-DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS 
-DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_MAX_WORKER_THREADS -DSQLITE_OMIT_DECLTYPE 
-DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_LOAD_EXTENSION 
-DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_UTF16 -DSQLITE_TEMP_STORE=2 
-DSQLITE_THREADSAFE=2 -DSQLITE_USE_ALLOCA -Isrc/plugins/clangrefactoring 
-I/Users/Shared/OpenSource/qt-creator/src/plugins/clangrefactoring 
-Isrc/plugins/clangrefactoring/ClangRefactoring_autogen/include -Isrc 
-I/Users/Shared/OpenSource/qt-creator/src/plugins 
-I/Users/Shared/OpenSource/qt-creator/src/libs/clangsupport 
-I/Users/Shared/OpenSource/qt-creator/src/libs 
-I/Users/Shared/OpenSource/qt-creator/src/libs/sqlite 
-I/Users/Shared/OpenSource/qt-creator/src/libs/sqlite/../3rdparty/sqlite 
-I/Users/Shared/OpenSource/qt-creator/src/libs/3rdparty 
-I/Users/Shared/OpenSource/qt-creator/src/libs/3rdparty/syntax-highlighting/src/lib
 
-I/Users/Shared/OpenSource/qt-creator/src/libs/3rdparty/syntax-highlighting/autogenerated/src/lib
 -iframework /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib -isystem 
/Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtConcurrent.framework/Headers
 -isystem 
/Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtCore.framework/Headers 
-isystem /Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/./mkspecs/macx-clang 
-isystem 
/Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtNetwork.framework/Headers 
-isystem 
/Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtGui.framework/Headers 
-isystem 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -isystem 
/Users/Shared/IMF_SDK/Qt5.14.2/5.14.2/clang_64/lib/QtWidgets.framework/Headers 
-g -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
 -mmacosx-version-min=10.15 -fPIC -fvisibility=hidden 
-fvisibility-inlines-hidden -fPIC -std=c++17 -Winvalid-pch -Xclang -include-pch 
-Xclang 
/Users/Shared/OpenSource/qt-creator-builds/Release/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchGui.dir/cmake_pch.hxx.pch
 -Xclang -include -Xclang 
/Users/Shared/OpenSource/qt-creator-builds/Release/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchGui.dir/cmake_pch.hxx
 -MD -MT 
src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
 -MF 
src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o.d
 -o 
src/plugins/clangrefactoring/CMakeFiles/ClangRefactoring.dir/qtcreatorsearchhandle.cpp.o
 -c 
/Users/Shared/OpenSource/qt-creator/src/plugins/clangrefactoring/qtcreatorsearchhandle.cpp
/Users/Shared/OpenSource/qt-creator/src/plugins/clangrefactoring/qtcreatorsearchhandle.cpp:45:39:
 error: too many arguments to function call, expected single argument 'item', 
have 3 arguments
searchResult->addResult(fileName, lineText, textRange);
~~~   ^~~
/Users/Shared/OpenSource/qt-creator/src/plugins/coreplugin/find/searchresultwindow.h:79:5:
 note: 'addResult' declared here
void addResult(const SearchResultItem );
^
1 error generated.
[884/2446] Building CXX object