UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    QTCreator Error

    Scheduled Pinned Locked Moved App Development
    4 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • 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.
    • U Offline
      ublurk
      last edited by

      So I have created a project then run clickable ide qtcreator
      and I am getting an error that in the ide that the project could not be loaded

      error: No "" CMake configuration found. Available configuration: "Release".
      Make sure that CMAKE_BUILD_TYPE variable matches the "Build type" field.
      
      lduboeufL 1 Reply Last reply Reply Quote 0
      • lduboeufL Offline
        lduboeuf @ublurk
        last edited by

        @ublurk said in QTCreator Error:

        So I have created a project then run clickable ide qtcreator
        and I am getting an error that in the ide that the project could not be loaded

        error: No "" CMake configuration found. Available configuration: "Release".
        Make sure that CMAKE_BUILD_TYPE variable matches the "Build type" field.
        

        Did you launched qtcreator in the project folder ? is it a clickable project ?

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          ublurk @lduboeuf
          last edited by

          @lduboeuf it a clickable project and it is launched from the project folder.

          lduboeufL 1 Reply Last reply Reply Quote 0
          • lduboeufL Offline
            lduboeuf @ublurk
            last edited by lduboeuf

            @ublurk said in QTCreator Error:

            @lduboeuf it a clickable project and it is launched from the project folder.

            ok, i see, it fails to recognize the project configuration. You sometimes need to re-run cmake or re-scan the project. Did you answer "Y" to the "Do you want Clickable to setup a QtCreator project for you? [Y/n]: Y" What kind of project it is , QML or cpp ?

            I've just tried with a "fresh" QML project, and it works the first time. ( clickable 8.0.1 )
            But sometimes you need to tune the project, especially if you ran clickable desktop before on the project. In that case a clickable clean should do the trick.

            Or see Build configuration. Eg. toggle the "initial configuration" then click on "re-configure with initial Parameters"
            Capture d’écran de 2024-03-08 12-10-39.png

            1 Reply Last reply Reply Quote 0
            • LakotaubpL Lakotaubp moved this topic from New Contributors on

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post