Project "qtstyleplugin" (GitHub) compilation errors



  • I've downloaded the Qt Style Plugins project from here:

    https://github.com/qt/qtstyleplugins

    When I try to compile with Qt Creator, I get several errors:

    LINK : fatal error LNK1181: cannot open input file '.obj\debug\qcleanlooksstyle.obj'
    LINK : fatal error LNK1181: cannot open input file '.obj\release\qcleanlooksstyle.obj'
    LINK : fatal error LNK1181: cannot open input file '.obj\debug\qcdestyle.obj'
    LINK : fatal error LNK1181: cannot open input file '.obj\release\qcdestyle.obj'
    LINK : fatal error LNK1181: cannot open input file '.obj\debug\qplastiquestyle.obj'
    LINK : fatal error LNK1181: cannot open input file '.obj\release\qplastiquestyle.obj'
    LINK : fatal error LNK1181: cannot open input file '.obj\debug\qbb10brightstyle.obj'
    LINK : fatal error LNK1181: cannot open input file '.obj\release\qbb10brightstyle.obj'

    Any idea what's going wrong? I would be grateful for information on how to compile it successfully.


  • Lifetime Qt Champion

    Hi,

    What version of Qt are you using ?
    What version of Qt Creator ?
    What OS are you running ?


  • Lifetime Qt Champion

    Hi
    I downloaded it and open the pro file and it just compiled with Creator 4.9 and Qt5.12.3 and visual studio 2015.
    i copied the dlls to C:\Qt\5.12.3\msvc2017_64\plugins\styles
    and used
    a.setStyle(QStyleFactory::create("cleanlooks"));
    and it was fun to see cleanlooks on Windows 10 :)



  • @SGaist QT Creator 4.7.0
    Qt 5.11.1
    MSVC 2015, 32 bit
    Windows 10

    I am able to successfully compile and run another project.

    The .OBJ modules mentioned above are not to be found anywhere.


Log in to reply