Qmake x86/x64 and dependent lib files



  • Hi

    I have a project which targets windows x86 and x64 os. I'm using MSVC compiler with QtCreator in order to achieve that goal.
    Now my problem is that, I want to specify qmake to take x64 version of dependend lib files when I build with x64 qt version, the same with x86. For example:
    @win32:LIBS += ../Libs/SomeLibrary.lib@
    I have 2 edition of SomeLibrary.lib, one is x86 and one is x64. How can I tell qmake to take the correct version of lib file?
    Thanks


Log in to reply
 

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