Depentent 'd:\qt\qt5.10\lib\QT5PrintSupportd.lib does not exist



  • Follow up problem after compiling QT 5.10. I'm still using qt creator 4.4.1 as I have trouble downloading a newer version in my environment (web proxy).
    However after nmake install I started qt creator opened my project added:
    CONFIG += static
    added in Tools->Options->Build & Run -> Qt Versions

    1. add
    2. D:\QT\qt5.10\bin\qmake.exe
      it's now under manual with a yellow warning icon though.... don't know why.

    in Kits I cloned the existing "Desktop Qt 5.9.2 MSVC2017 64 bit and changed the Qt version to Qt 5.10.0
    In Project I then set "clone of Desktop Qt 5.10.0 MSVC 2017 as active.

    1.Clean all

    1. run qmake
    2. Build all

    it fails with "Depentent 'd:\qt\qt5.10\lib\QT5PrintSupport.lib does not exist"
    QT5PrintSupportd.lib does not exist. But Qt5PrintSupport.lib does... when googling for qt5printsupportd I find nothing... nada !


  • Lifetime Qt Champion

    Hi,

    Did you compile both a debug and release version of Qt ?



  • no only Release.
    [Edit] ok... I get your point... when trying to build Release I don't get that error but :
    windowsprintersupport.lib(main.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

    [Edit 2:] I started with Debug and Release but the Debug part appers to use a huge amount of diskspace... I actually ran out of it... that's why I reduced it to Release only.

    [Edit 3:] Changed the Compiler to "Microsoft Visual C++ Compiler 15.0 (amd64_x86)" now the Release part compiles and I can execute the binary on a nother system without further dynamic libraries in the path. So target achieved.
    Now I will try to build it with the Debug part as well.

    Thank you SGaist !


  • Lifetime Qt Champion

    You're welcome !

    Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.