Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT for Qnx Project Configuration / Kit Error
Forum Updated to NodeBB v4.3 + New Features

QT for Qnx Project Configuration / Kit Error

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 4 Posters 180 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GShelkar
    wrote last edited by
    #1

    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.png image(1).png image(2).png

    jsulmJ 1 Reply Last reply
    0
    • G GShelkar

      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.png image(1).png image(2).png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @GShelkar said in QT for Qnx Project Configuration / Kit Error:

      Working "QT for Qnx" Project was copied from one ubuntu OS laptop to another

      Including CMakeLists.txt.user? That file should not be copied.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zvoopz
        wrote last edited by
        #3

        Op somehow configures qmake having cmake

        jsulmJ 1 Reply Last reply
        0
        • Z zvoopz

          Op somehow configures qmake having cmake

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote last edited by
          #4

          @zvoopz What do you mean? OP clearly uses CMake as you can see in the build log.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            zvoopz
            wrote last edited by
            #5

            Look at the sreenshots he has provided - qmake

            jsulmJ 1 Reply Last reply
            0
            • cristian-adamC Online
              cristian-adamC Online
              cristian-adam
              wrote last edited by
              #6

              Which version of Qt Creator is being used here?

              It looks like Qt Creator is passing the --sysroot argument to the QNX compiler frontend, which apparently is unsupported.

              1 Reply Last reply
              0
              • Z zvoopz

                Look at the sreenshots he has provided - qmake

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote last edited by jsulm
                #7

                @zvoopz said in QT for Qnx Project Configuration / Kit Error:

                Look at the sreenshots he has provided - qmake

                This is how you add a Qt version in QtCreator - by pointing to qmake

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved