QT应用程序在BuildBot上构建后变为Windows Old
Qt Application becomes windows-old styled after build on a buildbot
我从QT 5.6到5.10.1开始迁移,并面临此问题。在5.6上,样式是" WindowsVista",所有样式都效果很好。现在看来QT无法检测到这一点并使用" Windows"样式。
此外,在我的PC上,5.10.1的构建看起来不错。它在Windows 10 x64上工作,与BuildBot相同。配置行:
-release -prefix C:repositoryx64qt5 -force-debug-info -platform win32-msvc2013 -nomake examples -no-compile-examples -nomake tests -opengl dynamic -opensource -confirm-license -mp -no-strip
我在没有Ruby和Perl Libs的情况下构建QT,因为这是我的项目不必要的。
也许是配置中的问题,因为在5.6中有/qtbase中有configureApp.exe,现在我看不到它。但是我不明白原因。
我发现了一个问题。QT5.10.1之后," WindowsVista"样式成为插件。因此,在最终部署文件 WindowsVistastyle.dll 中存在。我在此 .dll 中添加了一个文件夹"/样式",问题已经消失了。
相关文章:
- 在VS代码中交叉编译Windows与Linux上的MinGW的SDL程序
- 在Linux for Windows上编译C++代码时出错
- 在Windows上用C++裁剪HBITMAP
- C++ Windows 驱动程序MSB3030无法复制该文件,因为它找不到
- 如何加载(或映射)文件部分的最大大小,但适合在Windows上的RAM
- std::threads可以从Windows DLL中的全局变量创建/销毁吗?
- 当我编译webrtc服务器时,Windows上只支持clang-cl
- 为什么在Windows上的VS 2019和Clang 9中"size_t"在没有标题的情况下工作
- Windows/Cygwin - 不能使用 pybind11 - 犯错误
- Windows 10-使用gtkmm-3.0库和g++[包括再现]的分段故障
- 在Windows中以.exe的形式运行c++
- 为什么包含windows.h会产生语法错误,从而阻止类的实例化?(C2146,C2065)
- 无法在windows控制台中为C++程序提供必要的输入
- 在Windows中查找扬声器输出的当前音量级别
- Windows.h与GLFW.h的接口
- 在 Windows 上,是否可以让 dll 在不使用 PATH 环境变量的情况下在另一个文件夹中查找依赖项?
- 在Linux和C++中的Windows上,散列字符串值会产生不同的输出
- Active Directory:从网络服务帐户下运行的Windows服务调用ADsOpenObject时失败
- c++17文件系统::recursive_directory迭代器()在mac上没有给出这样的目录,但在windows上
- QT应用程序在BuildBot上构建后变为Windows Old