We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm running Qt6.6 on a Windows machine. I've added QT to my system path and has everything installed. However, I get an error from CMAKE
[proc] Executing command: cmake --version [proc] Executing command: cmake -E capabilities [variant] Loaded new set of variants [kit] Successfully loaded 21 kits from C:\Users\kurian_2\AppData\Local\CMakeTools\cmake-tools-kits.json [presetController] Successfully validated presets in C:\src\projects\qtest\blog-vscode-template\CMakePresets.json [presetController] Successfully validated presets in C:\src\projects\qtest\blog-vscode-template\CMakeUserPresets.json [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --version [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -E capabilities [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja exited with code: 1 [main] Configuring project: blog-vscode-template [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja [cmake] CMake Error at CMakeLists.txt:12 (find_package): [cmake] Could not find a configuration file for package "QT" that is compatible [cmake] with requested version "". [cmake] [cmake] The following configuration files were considered but not accepted: [cmake] [cmake] C:/Qt/6.6.0/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake, version: 6.6.0 (64bit) [cmake] [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja exited with code: 1
I'm not able to debug the problem. Is there anything that I'm doing wrong?
Cheers, Kurian
The text was updated successfully, but these errors were encountered:
Hi,
Is this a x86_64 Windows or something else ?
If x86_64, do you have the msvc c++ toolchain installed ? Usually done via the Visual Studio installer
Sorry, something went wrong.
Yes it's x86_64 Windows Machine. I have mscv c++ toolchain installed.
Can you remove the build directory and post a new paste ? Yours seems clipped, I'd expect to see some lines saying "Detecting CXX compiler"
iamsergio
No branches or pull requests
I'm running Qt6.6 on a Windows machine. I've added QT to my system path and has everything installed. However, I get an error from CMAKE
[proc] Executing command: cmake --version [proc] Executing command: cmake -E capabilities [variant] Loaded new set of variants [kit] Successfully loaded 21 kits from C:\Users\kurian_2\AppData\Local\CMakeTools\cmake-tools-kits.json [presetController] Successfully validated presets in C:\src\projects\qtest\blog-vscode-template\CMakePresets.json [presetController] Successfully validated presets in C:\src\projects\qtest\blog-vscode-template\CMakeUserPresets.json [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --version [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -E capabilities [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja exited with code: 1 [main] Configuring project: blog-vscode-template [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja [cmake] CMake Error at CMakeLists.txt:12 (find_package): [cmake] Could not find a configuration file for package "QT" that is compatible [cmake] with requested version "". [cmake] [cmake] The following configuration files were considered but not accepted: [cmake] [cmake] C:/Qt/6.6.0/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake, version: 6.6.0 (64bit) [cmake] [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -SC:/src/projects/qtest/blog-vscode-template -BC:/src/projects/qtest/blog-vscode-template/build-debug-msvc -G Ninja exited with code: 1
I'm not able to debug the problem. Is there anything that I'm doing wrong?
Cheers,
Kurian
The text was updated successfully, but these errors were encountered: