Why no make QtCreator.exe file
-
Hello, All!
I downloaded the Qt source code and compiled it.
Although there were some warningsNodes path: qml/QtQuickEffectMaker/defaultnodes CMake Warning (dev) at D:/QtSource/ReleaseVS/Build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:3620 (message): TraceUtils.js is not an ECMAScript module and also doesn't contain '.pragma library'. It will be re-evaluated in the context of every QML document that explicitly or implicitly imports QtQuick.VirtualKeyboard.Styles. Set its QT_QML_SKIP_QMLDIR_ENTRY source file property to FALSE if you really want this to happen. Set it to TRUE to prevent it. Call Stack (most recent call first): D:/QtSource/ReleaseVS/Build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:960 (qt6_target_qml_sources) D:/QtSource/ReleaseVS/Build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:322 (qt6_add_qml_module) qtvirtualkeyboard/src/styles/CMakeLists.txt:14 (qt_internal_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it. Skipping the build as the condition "LINUX OR MACOS OR QNX" is not met. -- Configuration summary has been written to D:/QtSource/ReleaseVS/Build/config.summary Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available. Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available. WARNING: No perl found, compiling opus without some optimizations. WARNING: Qt WebEngine And Qt Pdf SBOM generation will be skipped due to missing dependencies. WARNING: No WebView2 SDK found, compiling QtWebView without WebView2 plugin. Please set WEBVIEW2_SDK_ROOT to point to WebView2 SDK directory.
Here is the log file for the Qt configuration
D:\QtSource\Bat>rem set Path=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools;C:\Program Files\Microsoft Visual Studio\2022\Community\Team Tools\DiagnosticsHub\Collector;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\\x64;C:\Program Files (x86)\Windows Kits\10\bin\\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\\MSBuild\Current\Bin\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\;C:\Prg\Python313\Scripts\;C:\Prg\Python313\;C:\Prg\VulkanSDK\1.4.321.1\Bin;C:\Prg\VulkanSDK0\1.3.275.0\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Prg\cmake-4.1.0-windows-x86_64\bin;C:\Prg\Ninja;C:\Prg\PortableGit\cmd;C:\Prg\Win_Flex_Bizon;C:\Prg\nodejs\;C:\Prg\GnuWin32\bin;C:\Prg\zstd-v1.5.7-win64\dll;C:\QtSource\ReleaseVS\Lib\bin;C:\Prg\vcpkg\packages\protobuf_x64-windows;C:\Prg\vcpkg\packages\abseil_x64-windows;C:\Prg\vcpkg\packages\utf8-range_x64-windows;C:\Users\NavadvipaPC\AppData\Local\Microsoft\WindowsApps;C:\Users\NavadvipaPC\.dotnet\tools;C:\Users\NavadvipaPC\AppData\Roaming\npm;C:\Users\NavadvipaPC\AppData\Local\GitHubDesktop\bin;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\Linux\bin\ConnectionManagerExe;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg;C:\Prg\PostgreSQL\17 D:\QtSource\Bat>rem set OPENSSL_DIR=C:\Prg\OpenSSL\3.4.1 D:\QtSource\Bat>rem set PATH=/bin;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools;C:\Program Files\Microsoft Visual Studio\2022\Community\Team Tools\DiagnosticsHub\Collector;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\\x64;C:\Program Files (x86)\Windows Kits\10\bin\\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\\MSBuild\Current\Bin\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\;C:\Prg\Python313\Scripts\;C:\Prg\Python313\;C:\Prg\VulkanSDK\1.4.321.1\Bin;C:\Prg\VulkanSDK0\1.3.275.0\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Prg\cmake-4.1.0-windows-x86_64\bin;C:\Prg\Ninja;C:\Prg\PortableGit\cmd;C:\Prg\Win_Flex_Bizon;C:\Prg\nodejs\;C:\Prg\GnuWin32\bin;C:\Prg\zstd-v1.5.7-win64\dll;C:\QtSource\ReleaseVS\Lib\bin;C:\Prg\vcpkg\packages\protobuf_x64-windows;C:\Prg\vcpkg\packages\abseil_x64-windows;C:\Prg\vcpkg\packages\utf8-range_x64-windows;C:\Users\NavadvipaPC\AppData\Local\Microsoft\WindowsApps;C:\Users\NavadvipaPC\.dotnet\tools;C:\Users\NavadvipaPC\AppData\Roaming\npm;C:\Users\NavadvipaPC\AppData\Local\GitHubDesktop\bin;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\Linux\bin\ConnectionManagerExe;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg D:\QtSource\Bat>rem set OPENSSL_INCDIR=/include D:\QtSource\Bat>rem set OPENSSL_LIBDIR=/lib D:\QtSource\Bat>set BUILD_DIR=D:/QtSource D:\QtSource\Bat>cd D:/QtSource/ReleaseVS/Build D:\QtSource\ReleaseVS\Build>D:/QtSource/Qt6/configure.bat -prefix D:/QtSource/ReleaseVS/Lib -release -qt-zlib -sql-psql -confirm-license -DOPENSSL_ROOT=C:/Prg/OpenSSL/3.4.1 -- -DCMAKE_PREFIX_PATH=C:/Prg/libclang_vs;C:/Prg/PostgreSQL/17 'C:/Prg/cmake-4.1.0-windows-x86_64/bin/cmake.exe' '-DCMAKE_PREFIX_PATH=C:/Prg/libclang_vs;C:/Prg/PostgreSQL/17' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DCMAKE_INSTALL_PREFIX=D:/QtSource/ReleaseVS/Lib' '-DCMAKE_BUILD_TYPE=Release' '-DQT_EXTRA_DEFINES=OPENSSL_ROOT=C:/Prg/OpenSSL/3.4.1' '-DFEATURE_system_zlib=OFF' '-DFEATURE_sql_psql=ON' '-G' 'Ninja' 'D:/QtSource/qt6' -- The CXX compiler identification is MSVC 19.44.35215.0 -- The C compiler identification is MSVC 19.44.35215.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking dependencies of submodule 'qtbase' -- Checking dependencies of submodule 'qtimageformats' -- Checking dependencies of submodule 'qtlanguageserver' -- Checking dependencies of submodule 'qtshadertools' -- Checking dependencies of submodule 'qtsvg' -- Checking dependencies of submodule 'qtdeclarative' -- Checking dependencies of submodule 'qtquicktimeline' -- Checking dependencies of submodule 'qtquick3d' -- Checking dependencies of submodule 'qtmultimedia' -- Checking dependencies of submodule 'qt3d' -- Checking dependencies of submodule 'qt5compat' -- Checking dependencies of submodule 'qtactiveqt' -- Checking dependencies of submodule 'qtcharts' -- Checking dependencies of submodule 'qtcoap' -- Checking dependencies of submodule 'qtconnectivity' -- Checking dependencies of submodule 'qtdatavis3d' -- Checking dependencies of submodule 'qtgraphs' -- Checking dependencies of submodule 'qtwebsockets' -- Checking dependencies of submodule 'qthttpserver' -- Checking dependencies of submodule 'qtserialport' -- Checking dependencies of submodule 'qtpositioning' -- Checking dependencies of submodule 'qtlocation' -- Checking dependencies of submodule 'qtquick3dphysics' -- Checking dependencies of submodule 'qtsensors' -- Checking dependencies of submodule 'qttools' -- Checking dependencies of submodule 'qtwebchannel' -- Checking dependencies of submodule 'qtwebengine' -- Checking dependencies of submodule 'qtdoc' -- Checking dependencies of submodule 'qtgrpc' -- Checking dependencies of submodule 'qtlottie' -- Checking dependencies of submodule 'qtmqtt' -- Checking dependencies of submodule 'qtnetworkauth' -- Checking dependencies of submodule 'qtopcua' -- Checking dependencies of submodule 'qtqa' -- Checking dependencies of submodule 'qtquickeffectmaker' -- Checking dependencies of submodule 'qtremoteobjects' -- Checking dependencies of submodule 'qtscxml' -- Checking dependencies of submodule 'qtserialbus' -- Checking dependencies of submodule 'qtspeech' -- Checking dependencies of submodule 'qttranslations' -- Checking dependencies of submodule 'qtvirtualkeyboard' -- Checking dependencies of submodule 'qtwayland' -- Checking dependencies of submodule 'qtwebview' -- Configuring submodule 'qtbase' -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' -- Configuring submodule 'qtimageformats' -- Configuring submodule 'qtlanguageserver' -- Configuring submodule 'qtshadertools' -- Configuring submodule 'qtsvg' -- Configuring submodule 'qtdeclarative' -- Configuring submodule 'qtquicktimeline' -- Configuring submodule 'qtquick3d' -- Configuring submodule 'qtmultimedia' -- Configuring submodule 'qt3d' -- Configuring submodule 'qt5compat' -- Configuring submodule 'qtactiveqt' -- Configuring submodule 'qtcharts' -- Configuring submodule 'qtcoap' -- Configuring submodule 'qtconnectivity' -- Configuring submodule 'qtdatavis3d' -- Configuring submodule 'qtgraphs' -- Configuring submodule 'qtwebsockets' -- Configuring submodule 'qthttpserver' -- Configuring submodule 'qtserialport' -- Configuring submodule 'qtpositioning' -- Configuring submodule 'qtlocation' -- Configuring submodule 'qtquick3dphysics' -- Configuring submodule 'qtsensors' -- Configuring submodule 'qttools' -- Configuring submodule 'qtwebchannel' -- Configuring submodule 'qtwebengine' -- Configuring submodule 'qtdoc' -- Configuring submodule 'qtgrpc' -- Could NOT find protobuf (missing: protobuf_DIR) -- Could NOT find protobuf (missing: protobuf_DIR) -- Could NOT find protobuf (missing: protobuf_DIR) -- Could NOT find protobuf (missing: protobuf_DIR) -- Configuring submodule 'qtlottie' -- Configuring submodule 'qtmqtt' -- Configuring submodule 'qtnetworkauth' -- Configuring submodule 'qtopcua' -- Configuring submodule 'qtqa' -- Configuring submodule 'qtquickeffectmaker' -- Configuring submodule 'qtremoteobjects' -- Configuring submodule 'qtscxml' -- Configuring submodule 'qtserialbus' -- Configuring submodule 'qtspeech' -- Configuring submodule 'qttranslations' -- Configuring submodule 'qtvirtualkeyboard' -- Configuring submodule 'qtwayland' -- Configuring submodule 'qtwebview' -- Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, you must run 'cmake --install .' Qt will be installed into 'D:/QtSource/ReleaseVS/Lib' To configure and build other Qt modules, you can use the following convenience script: D:/QtSource/ReleaseVS/Lib/bin/qt-configure-module.bat If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory Alternatively, you can add the --fresh flag to your CMake flags. -- Configuring done (200.4s) -- Generating done (58.4s) -- Build files have been written to: D:/QtSource/ReleaseVS/Build
Here are my steps when installing Qt.
https://gitflic.ru/project/navadvipa-chandra-das/slovar-shrily-prabhupady-na-copperspice
All the points of Qt were successfully compiled and linked.
Then I downloaded QtCreator and compiled it.
Everything seems to compile without errors, but as a result there is no file. QtCreator.exe . Not in the folder D:\QtSource\qtcreator_build_vs It's not in the folder."C:\Program Files (x86)\QtCreator" He's not here either.Please help me solve this riddle.
Thanks!With best regards, Navadvipa Chandra das.
-
Why do you want to compile the whole Qt and QtCreator by yourself?
And no - I won't look at a russian site. If you got errors post them here. You only showed how you configured Qt, nothing more.
-
Hello, Christian and All!
We can say that it's just my desire to build Qt and QtCreator from the source. Recently, this has been working quite well, but Qt and QtCreator are not standing still.
Although the source code build was useful to me when I was developing the QStorage class. I started by adding virtual functions to the QObject class, debugging it and then removing these functions.I made a mistake in the first message. There were still errors, but they were at the end of compilation. Here they are:
D:\QtSource\Bat\qt-creator-build-vs.log
The forum site marks my message as SPAM and it doesn't send it.
It is not clear how to send an error here to the forum.Thanks!
With best regards, Navadvipa Chandra das. -
D:\QtSource\qt-creator\src\tools\qmlpuppet\qmlpuppet\editor3d\camerageometry.cpp(157): error C2039: 'calculateGlobalVariables': is not a member of 'QSSGRenderCamera'
-
D:\QtSource\qt-creator\src\tools\qmlpuppet\qmlpuppet\editor3d\generalhelper.cpp(365): error C2039: 'globalTransform': is not a member of 'QSSGRenderModel'
D:\QtSource\qt-creator\src\tools\qmlpuppet\qmlpuppet\editor3d\mousearea3d.cpp(812): error C2660: 'QSSGRenderNode::getDirection': function does not take 0 arguments
D:\QtSource\qt-creator\src\tools\qmlpuppet\qmlpuppet\editor3d\mousearea3d.cpp(1041): error C2660: 'QSSGRenderNode::getDirection': function does not take 0 arguments
D:\QtSource\qt-creator\src\tools\qmlpuppet\qmlpuppet\editor3d\mousearea3d.cpp(1041): error C2088: built-in operator '-=' cannot be applied to an operand of type 'QVector3D'
I just copied lines randomly from the log. Other lines are not allowed by the forum to send!
-
Hi,
Which version of Qt are you trying to build ?
Which version of Qt Creator are you trying to build ? -
Hello SGaist and All!
I'm trying to compile the current dev version.
the log file flashes version 6.11.0, for example:-- Installing: D:/QtSource/ReleaseVS/Lib/include/QtPdf/6.11.0/QtPdf/private/qpdfdocument_p.h
Qt I get like this:
git clone git://code.qt.io/qt/qt5.git qt6 init-repository.bat
I also get Qt Creator from git
git clone git://code.qt.io/qt-creator/qt-creator.git git submodule update --init --recursive
With respect, Navadvipa Chandra das.
-
Hello SGaist and All!
I'm trying to compile the current dev version.
the log file flashes version 6.11.0, for example:-- Installing: D:/QtSource/ReleaseVS/Lib/include/QtPdf/6.11.0/QtPdf/private/qpdfdocument_p.h
Qt I get like this:
git clone git://code.qt.io/qt/qt5.git qt6 init-repository.bat
I also get Qt Creator from git
git clone git://code.qt.io/qt-creator/qt-creator.git git submodule update --init --recursive
With respect, Navadvipa Chandra das.
@Navadvipa-Chandra-das said in Why no make QtCreator.exe file:
the log file flashes version 6.11.0, for example:
Qt 6.11 has not yet been released. Please use a released version that is tested and known to work (the latest is Qt 6.9.2)
-
Hello, JKSH and All!
Thank you, SGaist and JKSH! It helped.
git clone git://code.qt.io/qt/qt5.git qt6 git switch 6.9.2 init-repository.bat
And everything went like clockwork without a single "failed:" both when compiling Qt and when compiling QtCreator.
If anyone needs instructions when compiling Qt, then I have sketched out a small cheat sheet. I used it myself. I collected bits and pieces wherever I could. Detailed instructions are almost impossible to find.
https://gitflic.ru/project/navadvipa-chandra-das/slovar-shrily-prabhupady-na-copperspice
Thanks!
With tregards, Navadvipa Chandra das. -