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

Can't build user project with qmake with a Qt6 built with -qtlibinfix XX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.1.0 Beta 1
    • Fix Version/s: 6.1.0 Beta3
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Windows 10, Qt 6.1.0 beta1.
    • Platform/s:
      Windows
    • Commits:
      d4a79dba3bcfd7f263146ede63b409fab2a7cb78 (qt/qtbase/6.1) 7b4507d0be28d1258d5569182a03e8ead8620f2d (qt/tqtc-qtbase/6.2)

      Description

      I built Qt 6.1.0 beta1 using the following configure: 

      configure -release -qtnamespace XXX -qtlibinfix XX -opensource -confirm-license -skip qt5compat -skip qtdoc -skip qtquick3d -skip qtquickcontrols2 -skip qtquicktimeline -skip qtshadertools -skip qtwayland
      

      So far so good, the build completed successfully.

      However when building my Qt application (via Qt Creator 4.14.1+a QMake .pro file), at some point during the build it fails with the following message:

      NMAKE:-1: error: U1073: don't know how to make 'C:\Qt\Qt-6.1.0b1\lib\Qt6EntryPoint.lib'
      

      When checking the lib folder, there is a lib file named Qt6EntryPointXX.lib, as expected with the configure -qtlibinfix XX option. But for some reason it is ignored when qmake is looking for the Qt6EntryPoint lib (maybe because this file didn't exist in Qt5 and was not fully set up to use qtlibinfix ?).

       

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            divide Robin Lobel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change