QtCreator 17 + Qt6.10.1 + Raspberry Pi => No executable file was specified
-
Hi,
I try to get a test application running.
I have Ubuntu 24.04 with QtCreator 17.0.2 and Qt6.10.1.
I cross-compiled Qt for Raspberry Pi.
I also created a Kit in QtCreator.Now I want to creat a minimal test application and execute it on the Raspberry Pi.
I am able to compile the project, but when I press "Debug" I get the following message
No executable file was specified.I don't know how to solve this.
Until now I only worked with an older version of Qt, QtCreator and also with qmake.
Can someone help with the settings in the newer QtCreator and cmake?My CMakeLists.txt looks like this:
cmake_minimum_required(VERSION 3.16) project(CreatorTest VERSION 0.1 LANGUAGES CXX) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(qt_host_path "/opt/qt6.10.1-host/" CACHE PATH "Path to host Qt installation") find_package(Qt6 REQUIRED COMPONENTS Quick) qt_standard_project_setup(REQUIRES 6.8) qt_add_executable(appCreatorTest main.cpp ) qt_add_qml_module(appCreatorTest URI CreatorTest VERSION 1.0 QML_FILES Main.qml ) target_link_libraries(appCreatorTest PRIVATE Qt6::Quick ) include(GNUInstallDirs) install(TARGETS appCreatorTest # BUNDLE DESTINATION . # LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) -
M MHermann has marked this topic as solved