Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 17 + Qt6.10.1 + Raspberry Pi => No executable file was specified
Forum Updated to NodeBB v4.3 + New Features

QtCreator 17 + Qt6.10.1 + Raspberry Pi => No executable file was specified

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 73 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.
  • M Offline
    M Offline
    MHermann
    wrote last edited by MHermann
    #1

    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}
    )
    
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      MHermann
      wrote last edited by
      #2

      Solution was to install gbdserver on the Raspberry Pi.

      1 Reply Last reply
      2
      • M MHermann has marked this topic as solved

      • Login

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