编译linux 64时,生成-Qunused参数时出现Qt错误

时间:2018-06-17 17:38:29

标签: qt ubuntu makefile compiler-errors

编译破折号时,我在make上遇到以下错误。 我正在编译ubuntu 16.04。

CXX      qt/qt_libbitcoinqt_a-bantablemodel.o
g++: error: unrecognized command line option ‘-Qunused-arguments’
Makefile:9012: recipe for target 'qt/qt_h2o_qt-macnotificationhandler.o' failed
make[2]: *** [qt/qt_h2o_qt-macnotificationhandler.o] Error 1

我使用以下cmds编译:

# linux GUI 64bit
export CXXFLAGS=-std=c++11
CONFIG_SITE=$DEPS/x86_64-pc-linux-gnu/share/config.site ./configure --prefix=/ --with-gui=qt5 --disable-tests
make clean
make -j4 V=1 

这是我从别人那里得到的一个项目。任何帮助它完全赞赏。我需要完全重新做qt吗?

0 个答案:

没有答案