Skip to content
  • 144k Topics
    722k Posts
    Working "QT for Qnx" Project was copied from one ubuntu OS laptop to another. But facing some issues in building the project configuration and the kit configuration Please share the solution I have attached the screenshots The error logs as as below; "[cmake] Running /usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug in /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug. [cmake] CMake Warning at build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/.qtc/package-manager/auto-setup.cmake:403 (message): [cmake] Qt Creator: CMake version 3.24 is needed for MaintenanceTool find_package() [cmake] provider. To disable this warning set [cmake] QT_CREATOR_SKIP_MAINTENANCE_TOOL_PROVIDER to ON. [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:3 (project) [cmake] [cmake] [cmake] -- The CXX compiler identification is QCC 8.3.0 [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -- broken [cmake] CMake Error at /usr/local/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message): [cmake] The C++ compiler [cmake] [cmake] "/home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++" [cmake] [cmake] is not able to compile a simple test program. [cmake] [cmake] It fails with the following output: [cmake] [cmake] Change Dir: /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeTmp [cmake] [cmake] Run Build Command(s):/usr/bin/ninja cmTC_7942f && [1/2] Building CXX object CMakeFiles/cmTC_7942f.dir/testCXXCompiler.cxx.o [cmake] FAILED: CMakeFiles/cmTC_7942f.dir/testCXXCompiler.cxx.o [cmake] /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -Vgcc_ntoaarch64le --sysroot=/home/smit/qnx710_1/target/qnx7 -lang-c++ -DQT_QML_DEBUG -Wp,-MD,CMakeFiles/cmTC_7942f.dir/testCXXCompiler.cxx.o.d -Wp,-MT,CMakeFiles/cmTC_7942f.dir/testCXXCompiler.cxx.o -Wp,-MF,CMakeFiles/cmTC_7942f.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_7942f.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx [cmake] cc: unknown option: '--sysroot=/home/smit/qnx710_1/target/qnx7' [cmake] ninja: build stopped: subcommand failed. [cmake] [cmake] [cmake] [cmake] [cmake] [cmake] CMake will not be able to correctly generate this project. [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:3 (project) [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeOutput.log". [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeError.log". [cmake] [cmake] The command "/usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug" terminated with exit code 1. [cmake] [cmake] Elapsed time: 00:00. [cmake] Running /usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug -DQT_QMAKE_EXECUTABLE:FILEPATH=/mnt/4ED41108D410F3C5/Qt/QT/6.9.1/qnx71_aarch64le/bin/qmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=/mnt/4ED41108D410F3C5/Qt/QT/6.9.1/qnx71_aarch64le/lib/cmake/Qt6/qt.toolchain.cmake -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_CXX_COMPILER_TARGET:STRING=aarch64-qnx-gnu -DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG -DCMAKE_C_COMPILER:FILEPATH=/home/smit/qnx710_1/host/linux/x86_64/usr/bin/qcc -DCMAKE_PREFIX_PATH:PATH=/mnt/4ED41108D410F3C5/Qt/QT/6.9.1/qnx71_aarch64le -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/.qtc/package-manager/auto-setup.cmake -DQT_MAINTENANCE_TOOL:FILEPATH=/mnt/4ED41108D410F3C5/Qt/QT/MaintenanceTool -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_CXX_COMPILER:FILEPATH=/home/smit/qnx710_1/host/linux/x86_64/usr/bin/qcc -DCMAKE_COLOR_DIAGNOSTICS:BOOL=ON -DCMAKE_C_COMPILER_TARGET:STRING=aarch64-qnx-gnu -UCMAKE_SYSROOT -DQT_CREATOR_SKIP_MAINTENANCE_TOOL_PROVIDER:BOOL=ON in /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug. [cmake] -- The CXX compiler identification is QCC 8.3.0 [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -- broken [cmake] CMake Error at /usr/local/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message): [cmake] The C++ compiler [cmake] [cmake] "/home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++" [cmake] [cmake] is not able to compile a simple test program. [cmake] [cmake] It fails with the following output: [cmake] [cmake] Change Dir: /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeTmp [cmake] [cmake] Run Build Command(s):/usr/bin/ninja cmTC_af65b && [1/2] Building CXX object CMakeFiles/cmTC_af65b.dir/testCXXCompiler.cxx.o [cmake] FAILED: CMakeFiles/cmTC_af65b.dir/testCXXCompiler.cxx.o [cmake] /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -Vgcc_ntoaarch64le --sysroot=/home/smit/qnx710_1/target/qnx7 -lang-c++ -DQT_QML_DEBUG -Wp,-MD,CMakeFiles/cmTC_af65b.dir/testCXXCompiler.cxx.o.d -Wp,-MT,CMakeFiles/cmTC_af65b.dir/testCXXCompiler.cxx.o -Wp,-MF,CMakeFiles/cmTC_af65b.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_af65b.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx [cmake] cc: unknown option: '--sysroot=/home/smit/qnx710_1/target/qnx7' [cmake] ninja: build stopped: subcommand failed. [cmake] [cmake] [cmake] [cmake] [cmake] [cmake] CMake will not be able to correctly generate this project. [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:3 (project) [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeOutput.log". [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeError.log". [cmake] [cmake] The command "/usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug -DQT_QMAKE_EXECUTABLE:FILEPATH=/mnt/4ED41108D410F3C5/Qt/QT/6.9.1/qnx71_aarch64le/bin/qmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=/mnt/4ED41108D410F3C5/Qt/QT/6.9.1/qnx71_aarch64le/lib/cmake/Qt6/qt.toolchain.cmake -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_CXX_COMPILER_TARGET:STRING=aarch64-qnx-gnu -DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG -DCMAKE_C_COMPILER:FILEPATH=/home/smit/qnx710_1/host/linux/x86_64/usr/bin/qcc -DCMAKE_PREFIX_PATH:PATH=/mnt/4ED41108D410F3C5/Qt/QT/6.9.1/qnx71_aarch64le -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/.qtc/package-manager/auto-setup.cmake -DQT_MAINTENANCE_TOOL:FILEPATH=/mnt/4ED41108D410F3C5/Qt/QT/MaintenanceTool -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_CXX_COMPILER:FILEPATH=/home/smit/qnx710_1/host/linux/x86_64/usr/bin/qcc -DCMAKE_COLOR_DIAGNOSTICS:BOOL=ON -DCMAKE_C_COMPILER_TARGET:STRING=aarch64-qnx-gnu -UCMAKE_SYSROOT -DQT_CREATOR_SKIP_MAINTENANCE_TOOL_PROVIDER:BOOL=ON" terminated with exit code 1. [cmake] [cmake] Elapsed time: 00:00. [cmake] Running /usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug in /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug. [cmake] -- The CXX compiler identification is QCC 8.3.0 [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -- broken [cmake] CMake Error at /usr/local/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message): [cmake] The C++ compiler [cmake] [cmake] "/home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++" [cmake] [cmake] is not able to compile a simple test program. [cmake] [cmake] It fails with the following output: [cmake] [cmake] Change Dir: /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeTmp [cmake] [cmake] Run Build Command(s):/usr/bin/ninja cmTC_e5f93 && [1/2] Building CXX object CMakeFiles/cmTC_e5f93.dir/testCXXCompiler.cxx.o [cmake] FAILED: CMakeFiles/cmTC_e5f93.dir/testCXXCompiler.cxx.o [cmake] /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -Vgcc_ntoaarch64le --sysroot=/home/smit/qnx710_1/target/qnx7 -lang-c++ -DQT_QML_DEBUG -Wp,-MD,CMakeFiles/cmTC_e5f93.dir/testCXXCompiler.cxx.o.d -Wp,-MT,CMakeFiles/cmTC_e5f93.dir/testCXXCompiler.cxx.o -Wp,-MF,CMakeFiles/cmTC_e5f93.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_e5f93.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx [cmake] cc: unknown option: '--sysroot=/home/smit/qnx710_1/target/qnx7' [cmake] ninja: build stopped: subcommand failed. [cmake] [cmake] [cmake] [cmake] [cmake] [cmake] CMake will not be able to correctly generate this project. [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:3 (project) [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeOutput.log". [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeError.log". [cmake] [cmake] The command "/usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug" terminated with exit code 1. [cmake] [cmake] Elapsed time: 00:00. [cmake] Running /usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug in /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug. [cmake] -- The CXX compiler identification is QCC 8.3.0 [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -- broken [cmake] CMake Error at /usr/local/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message): [cmake] The C++ compiler [cmake] [cmake] "/home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++" [cmake] [cmake] is not able to compile a simple test program. [cmake] [cmake] It fails with the following output: [cmake] [cmake] Change Dir: /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeTmp [cmake] [cmake] Run Build Command(s):/usr/bin/ninja cmTC_1c69d && [1/2] Building CXX object CMakeFiles/cmTC_1c69d.dir/testCXXCompiler.cxx.o [cmake] FAILED: CMakeFiles/cmTC_1c69d.dir/testCXXCompiler.cxx.o [cmake] /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -Vgcc_ntoaarch64le --sysroot=/home/smit/qnx710_1/target/qnx7 -lang-c++ -DQT_QML_DEBUG -Wp,-MD,CMakeFiles/cmTC_1c69d.dir/testCXXCompiler.cxx.o.d -Wp,-MT,CMakeFiles/cmTC_1c69d.dir/testCXXCompiler.cxx.o -Wp,-MF,CMakeFiles/cmTC_1c69d.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_1c69d.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx [cmake] cc: unknown option: '--sysroot=/home/smit/qnx710_1/target/qnx7' [cmake] ninja: build stopped: subcommand failed. [cmake] [cmake] [cmake] [cmake] [cmake] [cmake] CMake will not be able to correctly generate this project. [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:3 (project) [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeOutput.log". [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeError.log". [cmake] [cmake] The command "/usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug" terminated with exit code 1. [cmake] [cmake] Elapsed time: 00:00. [cmake] Running /usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug in /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug. [cmake] -- The CXX compiler identification is QCC 8.3.0 [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ [cmake] -- Check for working CXX compiler: /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -- broken [cmake] CMake Error at /usr/local/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message): [cmake] The C++ compiler [cmake] [cmake] "/home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++" [cmake] [cmake] is not able to compile a simple test program. [cmake] [cmake] It fails with the following output: [cmake] [cmake] Change Dir: /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeTmp [cmake] [cmake] Run Build Command(s):/usr/bin/ninja cmTC_376f2 && [1/2] Building CXX object CMakeFiles/cmTC_376f2.dir/testCXXCompiler.cxx.o [cmake] FAILED: CMakeFiles/cmTC_376f2.dir/testCXXCompiler.cxx.o [cmake] /home/smit/qnx710_1/host/linux/x86_64/usr/bin/q++ -Vgcc_ntoaarch64le --sysroot=/home/smit/qnx710_1/target/qnx7 -lang-c++ -DQT_QML_DEBUG -Wp,-MD,CMakeFiles/cmTC_376f2.dir/testCXXCompiler.cxx.o.d -Wp,-MT,CMakeFiles/cmTC_376f2.dir/testCXXCompiler.cxx.o -Wp,-MF,CMakeFiles/cmTC_376f2.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_376f2.dir/testCXXCompiler.cxx.o -c testCXXCompiler.cxx [cmake] cc: unknown option: '--sysroot=/home/smit/qnx710_1/target/qnx7' [cmake] ninja: build stopped: subcommand failed. [cmake] [cmake] [cmake] [cmake] [cmake] [cmake] CMake will not be able to correctly generate this project. [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:3 (project) [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeOutput.log". [cmake] See also "/home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug/CMakeFiles/CMakeError.log". [cmake] [cmake] The command "/usr/local/bin/cmake -S /home/smit/Downloads/QT_IC_LIB_2025JUN06_2 -B /home/smit/Downloads/QT_IC_LIB_2025JUN06_2/build/Qt_6_9_1_for_QNX_7_1_ARMv8-Debug" terminated with exit code 1. [cmake] [cmake] Elapsed time: 00:00. " [image: d5fa876c-01af-48f4-a2f3-5dd2969d6d87.png] [image: 1b4e53e1-1231-42d1-9443-0208bcc0c9b1.png] [image: 54ea14a9-a5ed-4352-aa2f-9cb466811cd7.png]
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k Topics
    23k Posts
    @NavdeepKaur You can try to build and install QtWebEngine explicetly (build and install that module after installing rest of Qt).
  • Everything related to designing and design tools

    127 Topics
    383 Posts
    I see this is an old thread and I see several unresolved threads on this topic. I'm leaving this incase it helps someone else who ends up here. The solution was twofold for me. Go to File > Export Project and select Enable Python Generator. This will create a main.py. Make sure you pip install PySide6-DS Hope this helps someone.
  • Everything related to the QA Tools

    77 213 18 days ago
    77 Topics
    213 Posts
    Hello i am using WinCC OA to develop a qt application. WinCC OA has some custom elements which cannot be detected by squish for example a polygon. Squish is now not able to detect this element with the picker. I know the name of the element but as it is of WinCC OA internal i do not know the type: waitForObject( {"container": "container", "name": "POLYGON1","type": "???","visible": 1} ); How do i get this information? And what to use if unknown? Is there any other way? I mainly just need to click this element. Thanks a lot
  • Everything related to learning Qt.

    382 2k 3 days ago
    382 Topics
    2k Posts
    Thank you 😊
  • 2k Topics
    13k Posts
    Oh right, I forgot about that one. Depending on the content you can apply the same to rows. In any case, since your issue is fixed, please mark the thread as solved using the "Topic Tools" button so that other forum members may know a solution has been found :-)
  • 4k Topics
    18k Posts
    @Max Ok, j'ai compris : en modifiant la taille de la fonte du QLineEdit inclus dans le QTimeEdit, ça fonctionne. Bêtement je prenais la police "f" du QLineEdit inclus, modifiais la taille de "f" et faisais QLineEdit->parent->setFont(f). Ici "parent" était de trop. En me relisant, j'espère que ce que j'ai écris est compréhensible... A+ Sylvain
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k Topics
    10k Posts
    @RokeJulianLockhart to the best of my knowledge, no. The first release of Discourse was in 2014 and the forum is several years older than that.