Skip to content
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

执行make遇到不少问题,能不能列出一些依赖的库需要安装的 #21

Open
blueshame opened this issue Nov 23, 2019 · 2 comments

Comments

@blueshame
Copy link

g++ -MM -MF main.d -I../../../interface/core -I../../../source/public -I../../../interface/uidemo -I"/usr/include/qt4" -I"/usr/include/qt4/QtCore" -I"/usr/include/qt4/QtGui" -I"/usr/include/qt4/QtWidgets" -I"/usr/include/qt4/qtmain" -I"._qt" -DQT_CORE_LIB -DQT_GUI_LIB main.cpp
In file included from main.cpp:1:
mainwnd.h:5:10: fatal error: ui_app.h: No such file or directory
#include "ui_app.h"

GOOGLE了一些信息,感觉是qt编译出来的,但是对qt不熟,这些应该怎么做?

@rhcad
Copy link
Owner

rhcad commented Dec 5, 2019

可以不用QT,本项目中的QT只是示意性的,还没有在实际项目中应用

@Hitaylor
Copy link

Hitaylor commented Sep 2, 2020

我在ubuntu 16.04 64bit环境下执行make,报1楼同样的错误,如果把config.mk中qt4 的设置改成c++仍然报相同的错。
QT4_INCLUDE ?=/usr/include/c++
QT4_LIB ?=/usr/lib/x86_64-linux-gnu/
如果把上述两行注释掉则报c++0x_warning.h:32:2: error: #error This
file requires compiler and library support for the upcoming ISO C++
standard, C++0x. This support is currently experimental, and must be
enabled with the -std=c++0x or -std=gnu++0x compiler options.
请问作者是否有解决方案,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants