Important: Please read the Qt Code of Conduct -

Relative pathing with Qt Creator question

  • I started a set of projects with Qt Creator and they did not use relative paths to the build output directory. Is there a way to use relative pathing to the given project for build output?

  • Moderators

    (I'm assuming you are using qmake here)
    Yes, just set DESTDIR, OUTDIR, MOC_DIR, RCC_DIR to some relative path, disable shadow building and you are done.

    Or just disable shadow building - it will build in PWD then.

Log in to reply