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. qmake 5.14.0 - linking behaviour changed, breaks build

qmake 5.14.0 - linking behaviour changed, breaks build

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 305 Views
  • 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.
  • V Offline
    V Offline
    Vadi2
    wrote on last edited by
    #1

    I link to Hunspell in the following way on Windows:

        LIBS +=  \
            -llua51 \
            -lpcre-1 \
            -llibhunspell-1.6 \
    

    qmake included in Qt 5.13.2 generated the following arguments which worked great:

    [...] release\mudlet.exe @object_script.mudlet.Release  -llua51 -lpcre-1 C:\Qt\Tools\mingw730_32\lib\libhunspell-1.6.a
    

    However qmake included in Qt 5.14.0 generates the following argument which fails to link - library not found:

    mudlet.exe @object_script.mudlet  -llua51 -lpcre-1 -lhunspell-1.6.a
    

    Is this a bug in qmake, and if so, how can I work around this regression?

    aha_1980A 1 Reply Last reply
    0
    • V Vadi2

      I link to Hunspell in the following way on Windows:

          LIBS +=  \
              -llua51 \
              -lpcre-1 \
              -llibhunspell-1.6 \
      

      qmake included in Qt 5.13.2 generated the following arguments which worked great:

      [...] release\mudlet.exe @object_script.mudlet.Release  -llua51 -lpcre-1 C:\Qt\Tools\mingw730_32\lib\libhunspell-1.6.a
      

      However qmake included in Qt 5.14.0 generates the following argument which fails to link - library not found:

      mudlet.exe @object_script.mudlet  -llua51 -lpcre-1 -lhunspell-1.6.a
      

      Is this a bug in qmake, and if so, how can I work around this regression?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Vadi2

      That looks like QTBUG-80792 or one of the related bugreports.

      5.14.1 contains the first fixes.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      4
      • V Offline
        V Offline
        Vadi2
        wrote on last edited by
        #3

        Qt 5.14.1 is still broken, unfortunately: https://ci.appveyor.com/project/Mudlet/mudlet/builds/31027365

        Looks like more fixes are needed.

        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