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.
-
Hi,
What version of Qt are you using ?
What version of Qt Creator ?
What OS are you running ? -
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 :)