Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtCreator for MacOS, debug/release application shadow build path
Forum Updated to NodeBB v4.3 + New Features

QtCreator for MacOS, debug/release application shadow build path

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 127 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.
  • B Offline
    B Offline
    Bengt 0
    wrote on 15 Aug 2020, 13:57 last edited by
    #1

    Hi,

    I am using the MacPorts version of Qt5, 5.14.2.
    Here I have an annoying problem when debugging and/or starting the built application from QtCreator, version 4.12.1.

    I am using shadow build, and path is normally set to
    build-APPNAME-Desktop_Qt_5_14_2_from_MacPorts_x86_64-Debug by the config.
    Application output says:
    15:50:00: Failed to start program. Path or permissions wrong?
    ...
    15:50:00: The process failed to start. Either the invoked program ".../source-code/build-APPNAME-Desktop_Qt_5_14_2_from_MacPorts_x86_64-Debug/debug/APPNAME.app/Contents/MacOS/APPNAME" is missing, or you may have insufficient permissions to invoke the program.

    The solution is to change the shadow build path to
    build-APPNAME-Desktop_Qt_5_14_2_from_MacPorts_x86_64-Debug/debug in the config settings. The same for release.

    After build, the application is placed in build-APPNAME-Desktop_Qt_5_14_2_from_MacPorts_x86_64-Debug/debug/debug and release/release.
    Then it is possible to debug and/or start the application from QtCreator.

    I would assume this is not the intended way to do things.
    Is this fixed in the latest QtCreator (not in MacPorts yet)?

    BN

    1 Reply Last reply
    0

    1/1

    15 Aug 2020, 13:57

    • Login

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