Important: Please read the Qt Code of Conduct -

Project in 64 bits including 32 bits library

  • Hi,
    I think it's on way...
    My compilation has passed !!!
    I have juste some error with linking library, I have compiled in 64bits my personnal library. That remove some errors, but I have one that can't be recompile, (supplier lib) how can I include it ?
    You have an idea ?

    Thx for reply.

  • hi,

    which plaftorm?
    BTW, generally it's possible to link 32bit libraries to 64bit executable.

  • Windows 8.1 Qt : 5.4.1 Compiler : MinGW 4.8 64 bits
    And My error :

    C:/Qt/qt-5.4.1-x64-mingw492r1-seh-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lApiUsb
    collect2.exe: error: ld returned 1 exit status

    1 Problème :
    :-1: erreur : skipping incompatible C:/Users/franck/Documents/Qt/ULD_64/lib/ApiUsb.dll when searching for -lApiUsb

    Proble de link because this lib is 32bits