Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11643

DEF file bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.8.0
    • 4.6.2
    • Build tools: qmake
    • None
    • WindowsXP

      If project have DEF_FILE set in .pro file, then that file(.def) is searched at wrong location(-build dir) instead of dir set in DEF_FILE.
      If I manually copy def file to '-build' dir then compiling is ok

      compile output looks like this:
      ----------------------------------------------------------------
      c:/qt/qtcreator-1.3.83/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: def-file_bug.def: No such file: No such file or directory
      collect2: ld returned 1 exit status
      mingw32-make[1]: *** [debug\def-file_bug.dll] Error 1
      mingw32-make: *** [debug] Error 2
      Exited with code 2.
      Error while building project def-file_bug (target: Desktop)
      When executing build step 'Make'
      ----------------------------------------------------------------

      take a look at attachment.

        1. def-file_bug.zip
          0.5 kB
        2. explorer.png
          explorer.png
          49 kB
        3. filemon-show-the-error.png
          filemon-show-the-error.png
          109 kB
        4. qtcreator-error.png
          qtcreator-error.png
          75 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jbornema Joerg Bornemann
            boris.barbulovski Boris Barbulovski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes