QT_CONFIG(printer)#endiftest.cpp:25:6: error: division byQT_CONFIG(printer)test.cpp:25:6: error: division by zero in preprocessor expression ^~~~~~~~~~~~~~~~~~
/usr/inc
但是我得到了这个Qt5相关的错误。我正在使用QT5.7.1的开源版本。我在Qt5PrintSupportConfig.cmake文件夹中找不到任何名为Qt5的文件。我发现的最接近的东西是文件夹printsupport中的printsupport。什么可能是问题所在?CMake Error at C:/Qt5.7.1/5.7/winrt_x64_msvc2015/lib/
但是现在我不断地收到关于丢失dll的错误(qsvg,Qt5PrintSupport)。\lib\site-pac6584 WARNING: lib not found: Qt5Svg.dll dependency\qsvgicon.dll
6992 WARNING: lib not found: Qt5PrintSupport.dll depe
我刚刚将一个在Qt5中构建的项目移到了我的CMake项目树中。我在CMake目录中导出了该项目。)#find all the qt UI stuff "ui/*.ui"
#make them into::Widgets ${Boost_LIBRARIES} ${OpenCV_LIBS} Qt5::PrintSupport