To acgtyrant
這個軟件是基於Qt4開發的,但是目前默認的qmake是qmake-qt5,所以會出錯。
將qmake修改成qmake-qt4,並進行相應的簡單處理就好了。
Search Criteria
Package Details: opencc-gui git-1
Package Actions
| Package Base: | opencc-gui |
|---|---|
| Description: | Gui in Qt of Library for Open Chinese Convert |
| Upstream URL: | http://code.google.com/p/opencc/ |
| Category: | i18n |
| Licenses: | |
| Submitter: | perlawk |
| Maintainer: | perlawk |
| Last Packager: | None |
| Votes: | 0 |
| First Submitted: | 2012-04-06 03:34 |
| Last Updated: | 2014-01-04 06:50 |
Latest Comments
Comment by renyuneyun
Comment by acgtyrant
编译出错啦!(敲碗
==> Starting build()...
Cloning into 'opencc-gui'...
remote: Counting objects: 199, done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 199 (delta 122), reused 161 (delta 85)
Receiving objects: 100% (199/199), 499.76 KiB | 264.00 KiB/s, done.
Resolving deltas: 100% (122/122), done.
Checking connectivity... done
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I../src -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I. -o main.o ../src/main.cpp
../src/main.cpp:19:30: fatal error: QtGui/QApplication: No such file or directory
#include <QtGui/QApplication>
^
compilation terminated.
Makefile:609: recipe for target 'main.o' failed
make: *** [main.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build opencc-gui.
==> Restart building opencc-gui ? [y/N]