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. Windows compiling: Problems with output destination from Mingw
Forum Updated to NodeBB v4.3 + New Features

Windows compiling: Problems with output destination from Mingw

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 907 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.
  • J Offline
    J Offline
    js08k
    wrote on last edited by
    #1

    I am trying to setup my project to be compatible to build in both linux and windows environment. Linux will output my files in the shadow directory lake one would expect. However when in windows, mingw (because of settings somewhere) is tacking on debug (if in debug) and release (if in release) to the destination directory. This is causing angst with the linker because the shadow build directory no longer matches what the .pro is expecting.

    To sum it up:
    How to stop mingw from tacking on debug/release to destination directory when building?

    1 Reply Last reply
    0
    • podsvirovP Offline
      podsvirovP Offline
      podsvirov
      wrote on last edited by
      #2

      "Here":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html you can find a description of all the qmake (*.pro) variables.
      In this case, you can help the variable "DESTDIR":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#destdir.
      For example:

      @
      DESTDIR = bin
      @

      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