New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error #180
Comments
Hi! I generally use MSVC compiler to build Qt projects on Windows, I haven't used MinGW in a while with Qt. Another thing, based on your log it seems that you are using Qt 5.12 to compile Serial Studio. However, development of the project is currently done using Qt 6 (preferably Qt 6.5 or above). Can you please try to compile the project using Qt6 and get back to me? 你好我通常使用MSVC编译器在Windows上构建Qt项目,我已经有一段时间没有在Qt上使用MinGW了。另一件事,根据您的日志,您似乎正在使用Qt 5.12来编译Serial Studio。然而,该项目的开发目前使用Qt 6(最好是Qt 6.5或以上)。你能试着用Qt6编译这个项目并回复我吗? |
Another thing, when you clone the repository using Git, it is necessary to run these commands:
Alternatively, you can just use:
Downloading the ZIP file directly from GitHub might not work, as the library dependencies (submodules) are not included in the file. 另一件事,当您使用 Git 克隆存储库时,需要运行以下命令:
或者,您可以只使用:
直接从 GitHub 下载 ZIP 文件可能不起作用,因为文件中不包含库依赖项(子模块) |
D:/qt5_15/Tools/mingw810_64/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory 'D:/cs/cs/Serial-Studio-1.1.7/build-Serial-Studio-Desktop_Qt_5_15_2_MinGW_64_bit-Release'
uic ../Serial-Studio-1.1.7/libs/QSimpleUpdater/src/Downloader.ui
/usr/bin/sh: D:\qt5_15\5.15.2\mingw81_64\bin\uic.exe: command not found
mingw32-make[1]: Leaving directory 'D:/cs/cs/Serial-Studio-1.1.7/build-Serial-Studio-Desktop_Qt_5_15_2_MinGW_64_bit-Release'
mingw32-make[1]: *** [Makefile.Release:14644: uic/ui_Downloader.h] Error 127
mingw32-make: *** [Makefile:45: release] Error 2
01:07:06: 进程"D:\qt5_15\Tools\mingw810_64\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project Serial-Studio (kit: Desktop Qt 5.15.2 MinGW 64-bit)
When executing step "Make"
01:07:06: Elapsed time: 00:07.
When I compile the latest version 1.1.7 , I encountered the above fault, which indicates that uic cannot be found. I am using the Windows os
The text was updated successfully, but these errors were encountered: