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

qt_lib_gui_private.pri and qt_lib_network_private.pri have some stuff block build when build and dev are different machine.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Out of scope
    • Affects Version/s: 5.12.1
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Qt 5.12.1 build from source, GCC 8.2/MinGW-w64 6.0.0
    • Platform/s:
      Windows

      Description

      files location are
      $\mkspecs\modules\qt_lib_gui_private.pri
      $\mkspecs\modulesqt_lib_network_private.pri

       

      I have my "build qt machine"(named A) and "dev app based on qt machine"(named B), every thing works well on A and when I copy whole qt to B. my app cannot be built.
      A and B has same Qt path, but not same GCC/MinGW Path

      qt_lib_gui_private.pri have following line

      QMAKE_LIBS_DXGI = q:/gcc/mingw64/lib/libdxgi.a
      QMAKE_LIBS_D3D11 = q:/gcc/mingw64/lib/libd3d11.a
      QMAKE_LIBS_D2D1 = q:/gcc/mingw64/lib/libd2d1.a
      QMAKE_LIBS_D2D1_1 = q:/gcc/mingw64/lib/libd2d1.a
      QMAKE_LIBS_DXGI1_2 = q:/gcc/mingw64/lib/libdxgi.a
      QMAKE_LIBS_D3D11_1 = q:/gcc/mingw64/lib/libd3d11.a
      QMAKE_LIBS_D3D9 = q:/gcc/mingw64/lib/libd3d9.a
      QMAKE_LIBS_DWRITE = q:/gcc/mingw64/lib/libdwrite.a
      QMAKE_LIBS_DWRITE_1 = q:/gcc/mingw64/lib/libdwrite.a
      QMAKE_LIBS_DWRITE_2 = q:/gcc/mingw64/lib/libdwrite.a
      QMAKE_LIBS_DXGUID = q:/gcc/mingw64/lib/libdxguid.a
      QMAKE_LIBS_OPENGL = q:/gcc/mingw64/lib/libglu32.a q:/gcc/mingw64/lib/libopengl32.a q:/gcc/mingw64/lib/libgdi32.a q:/gcc/mingw64/lib/libuser32.a

      and qt_lib_network_private.pri has

      QMAKE_LIBS_NETWORK = q:/gcc/mingw64/lib/libws2_32.a

       

      all these follow the machine A, but when build on machine B, paths do not exists.

      comment/delete these lines, qt build back works

       

      this is regression issue and Qt 5.12.0 did not have this issue.

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              dext dexter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes