Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Could not find the executable please find one .
Forum Updated to NodeBB v4.3 + New Features

Could not find the executable please find one .

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 6.1k Views 1 Watching
  • 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.
  • Y Offline
    Y Offline
    ysing
    wrote on last edited by
    #1

    Hello,

    I'm trying to run the text editor example in the Qt creator tutorial (a project that combines qt quick , qml and c++)
    but when I want to run the project this error occurs : " Could not find the executable please find one . "

    Can anybody help me to find out the problem ?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Can you do clean build and try to execute ? Also are you able to create simple Qt Quick Application and run the program ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        ysing
        wrote on last edited by
        #3

        hello,

        I created a simple Qt quick application before and it worked very well .

        Yes , I made clean -> run qmake -> build -> run, but this didn't work.

        I copied all the project in a new folder and I did the same steps mentioned previously but I didn't solve the problem :( .
        The project contains a plugin I don't know if I have make additional configurations .

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          ysing
          wrote on last edited by
          #4

          well actually ,I found out that the build directory of the project was outside the project directory hence I moved it into the project directory.

          When I try to run the project it still says could not find the executable please choose one , but I didn't find an executable in the build-gettingStartedQml-desktop
          directory.

          The example I'm talking about is located in : examples/quick/tutorials/gettingStartedQml directory.

          1 Reply Last reply
          0
          • dheerendraD Offline
            dheerendraD Offline
            dheerendra
            Qt Champions 2022
            wrote on last edited by
            #5

            You are building the plugin. This is QmlPlugin. This QmlPlugin is used in other project inside the other project. Please look at how QmlExtension Plugins work. This will help you to use the project you are building. Since it is plugin, it asking the executable to run. So don't run the project directly. It is not meant to be like that.

            Dheerendra
            @Community Service
            Certified Qt Specialist
            http://www.pthinks.com

            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