Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 2010 09:47:17 +0000
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-questions@freebsd.org, freebsd-ports@FreeBSD.org
Subject:   doxygen 1.6.2: portmaster reports error: qt.prf:170: Unknown test function: qtAddLibrary
Message-ID:  <4B41B925.2090302@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
After performing updates via portmaster on a regular basis on a FreeBSD 
8.0-STABLE/amd64  server, I got this following sticky error. I have no 
clue how to fix this. Any ideas?

Regards,
Oliver

---

g++  -o ../bin/doxytag ../objects/doxytag.o ../objects/logos.o 
../objects/version.o   -L/usr/local/lib -L../lib -lqtools -liconv
gmake[2]: Leaving directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/src'
gmake[1]: Leaving directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/src'
gmake -C addon/doxywizard
gmake[1]: Entering directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/addon/doxywizard'
qmake-qt4 doxywizard.pro -o Makefile.doxywizard
qt.prf:170: Unknown test function: qtAddLibrary
gmake -f Makefile.doxywizard
gmake[2]: Entering directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/addon/doxywizard'
c++ -c -pipe -O2 -pipe -march=nocona -fno-strict-aliasing -Wall -W 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB 
-I/u r/local/share/qt/mkspecs/freebsd-g++ -I. -I/include -I. -Imoc 
-I/usr/local/include -o obj/doxywizard.o doxywizard.cpp
doxywizard.cpp:1:17: error: QtGui: No such file or directory
In file included from doxywizard.cpp:2:
doxywizard.h:4:23: error: QMainWindow: No such file or directory
doxywizard.h:5:21: error: QSettings: No such file or directory
doxywizard.h:6:23: error: QStringList: No such file or directory
In file included from doxywizard.cpp:4:
expert.h:4:21: error: QSplitter: No such file or directory
expert.h:5:23: error: QDomElement: No such file or directory
expert.h:6:17: error: QHash: No such file or directory
In file included from doxywizard.cpp:2:
doxywizard.h:19: error: expected class-name before '{' token
doxywizard.h:20: error: ISO C++ forbids declaration of 'Q_OBJECT' with 
no type
doxywizard.h:22: error: expected ';' before 'public'
doxywizard.h:24: error: expected ',' or '...' before '&' token
doxywizard.h:24: error: ISO C++ forbids declaration of 'QString' with no 
type
doxywizard.h:27: error: 'QCloseEvent' has not been declared
doxywizard.h:28: error: 'QString' does not name a type
doxywizard.h:31: error: expected `:' before 'slots'
doxywizard.h:32: error: expected primary-expression before 'void'
doxywizard.h:32: error: ISO C++ forbids declaration of 'slots' with no type
doxywizard.h:32: error: expected ';' before 'void'
doxywizard.h:42: error: expected `:' before 'slots'
doxywizard.h:43: error: expected primary-expression before 'void'
doxywizard.h:43: error: ISO C++ forbids declaration of 'slots' with no type
doxywizard.h:43: error: expected ';' before 'void'
doxywizard.h:56: error: expected ',' or '...' before '&' token
doxywizard.h:56: error: ISO C++ forbids declaration of 'QString' with no 
type
doxywizard.h:57: error: expected ',' or '...' before '&' token
doxywizard.h:57: error: ISO C++ forbids declaration of 'QString' with no 
type
doxywizard.h:58: error: expected ',' or '...' before '&' token
doxywizard.h:58: error: ISO C++ forbids declaration of 'QString' with no 
type
doxywizard.h:59: error: expected ',' or '...' before '&' token
doxywizard.h:59: error: ISO C++ forbids declaration of 'QString' with no 
type
doxywizard.h:73: error: 'QString' does not name a type
doxywizard.h:74: error: 'QSettings' does not name a type
doxywizard.h:76: error: 'QStringList' does not name a type
In file included from doxywizard.cpp:4:
expert.h:18: error: expected class-name before '{' token
expert.h:19: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
expert.h:21: error: expected ';' before 'public'
expert.h:26: error: expected ',' or '...' before '&' token
expert.h:26: error: ISO C++ forbids declaration of 'QString' with no type
expert.h:27: error: 'QTextStream' has not been declared
expert.h:28: error: 'QByteArray' does not name a type
expert.h:29: error: expected ',' or '...' before '&' token
expert.h:29: error: ISO C++ forbids declaration of 'QByteArray' with no type
expert.h:30: error: ISO C++ forbids declaration of 'QHash' with no type
expert.h:30: error: expected ';' before '<' token
expert.h:31: error: expected `;' before 'void'
expert.h:32: error: expected ',' or '...' before '&' token
expert.h:32: error: ISO C++ forbids declaration of 'QString' with no type
expert.h:33: error: expected ',' or '...' before '&' token
expert.h:33: error: ISO C++ forbids declaration of 'QString' with no type
expert.h:34: error: 'QString' does not name a type
expert.h:36: error: expected `:' before 'slots'
expert.h:37: error: expected primary-expression before 'void'
expert.h:37: error: ISO C++ forbids declaration of 'slots' with no type
expert.h:37: error: expected ';' before 'void'
expert.h:38: error: ISO C++ forbids declaration of 'QWidget' with no type
expert.h:38: error: expected ';' before '*' token
expert.h:40: error: expected `:' before 'slots'
expert.h:41: error: expected primary-expression before 'void'
expert.h:41: error: ISO C++ forbids declaration of 'slots' with no type
expert.h:41: error: expected ';' before 'void'
expert.h:46: error: expected primary-expression before 'void'
expert.h:46: error: ISO C++ forbids declaration of 'signals' with no type
expert.h:46: error: expected ';' before 'void'
expert.h:49: error: expected ',' or '...' before '&' token
expert.h:49: error: ISO C++ forbids declaration of 'QDomElement' with no 
type
expert.h:50: error: 'QTextStream' has not been declared
expert.h:50: error: 'QDomElement' has not been declared
expert.h:52: error: ISO C++ forbids declaration of 'QSplitter' with no type
expert.h:52: error: expected ';' before '*' token
expert.h:56: error: ISO C++ forbids declaration of 'QHash' with no type
expert.h:56: error: expected ';' before '<' token
expert.h:57: error: ISO C++ forbids declaration of 'QHash' with no type
expert.h:57: error: expected ';' before '<' token
expert.h:58: error: ISO C++ forbids declaration of 'QHash' with no type
expert.h:58: error: expected ';' before '<' token
expert.h:61: error: 'QDomElement' does not name a type
In file included from doxywizard.cpp:5:
wizard.h:39: error: expected class-name before '{' token
wizard.h:40: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
wizard.h:42: error: expected ';' before 'public'
wizard.h:46: error: expected `:' before 'slots'
wizard.h:47: error: expected primary-expression before 'void'
wizard.h:47: error: ISO C++ forbids declaration of 'slots' with no type
wizard.h:47: error: expected ';' before 'void'
wizard.h:49: error: expected ',' or '...' before '&' token
wizard.h:49: error: ISO C++ forbids declaration of 'QString' with no type
wizard.h:50: error: expected ',' or '...' before '&' token
wizard.h:50: error: ISO C++ forbids declaration of 'QString' with no type
wizard.h:51: error: expected ',' or '...' before '&' token
wizard.h:51: error: ISO C++ forbids declaration of 'QString' with no type
wizard.h:52: error: expected ',' or '...' before '&' token
wizard.h:52: error: ISO C++ forbids declaration of 'QString' with no type
wizard.h:64: error: ISO C++ forbids declaration of 'QHash' with no type
wizard.h:64: error: expected ';' before '<' token
wizard.h:68: error: expected class-name before '{' token
wizard.h:69: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
wizard.h:70: error: expected ';' before 'public'
wizard.h:74: error: expected `:' before 'slots'
wizard.h:75: error: expected primary-expression before 'void'
wizard.h:75: error: ISO C++ forbids declaration of 'slots' with no type
wizard.h:75: error: expected ';' before 'void'
wizard.h:86: error: ISO C++ forbids declaration of 'QHash' with no type
wizard.h:86: error: expected ';' before '<' token
wizard.h:90: error: expected class-name before '{' token
wizard.h:91: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
wizard.h:93: error: expected ';' before 'public'
wizard.h:97: error: expected `:' before 'slots'
wizard.h:98: error: expected primary-expression before 'void'
wizard.h:98: error: ISO C++ forbids declaration of 'slots' with no type
wizard.h:98: error: expected ';' before 'void'
wizard.h:119: error: ISO C++ forbids declaration of 'QHash' with no type
wizard.h:119: error: expected ';' before '<' token
wizard.h:123: error: expected class-name before '{' token
wizard.h:124: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
wizard.h:126: error: expected ';' before 'public'
wizard.h:130: error: expected `:' before 'slots'
wizard.h:131: error: expected primary-expression before 'void'
wizard.h:131: error: ISO C++ forbids declaration of 'slots' with no type
wizard.h:131: error: expected ';' before 'void'
wizard.h:152: error: ISO C++ forbids declaration of 'QHash' with no type
wizard.h:152: error: expected ';' before '<' token
wizard.h:156: error: expected class-name before '{' token
wizard.h:157: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
wizard.h:158: error: expected ';' before 'public'
wizard.h:162: error: expected `:' before 'slots'
wizard.h:163: error: expected primary-expression before 'void'
wizard.h:163: error: ISO C++ forbids declaration of 'slots' with no type
wizard.h:163: error: expected ';' before 'void'
wizard.h:165: error: expected `:' before 'slots'
wizard.h:166: error: expected primary-expression before 'void'
wizard.h:166: error: ISO C++ forbids declaration of 'slots' with no type
wizard.h:166: error: expected ';' before 'void'
wizard.h:171: error: ISO C++ forbids declaration of 'QHash' with no type
wizard.h:171: error: expected ';' before '<' token
doxywizard.cpp:9: error: no 'MainWindow& MainWindow::instance()' member 
function declared in class 'MainWindow'
doxywizard.cpp: In constructor 'MainWindow::MainWindow()':
doxywizard.cpp:16: error: class 'MainWindow' does not have any field 
named 'm_settings'
doxywizard.cpp:16: error: 'QString' has not been declared
doxywizard.cpp:16: error: 'QString' has not been declared
doxywizard.cpp:18: error: 'menuBar' was not declared in this scope
doxywizard.cpp:18: error: 'tr' was not declared in this scope
doxywizard.cpp:19: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:20: error: 'SLOT' was not declared in this scope
doxywizard.cpp:20: error: 'Qt' has not been declared
doxywizard.cpp:20: error: 'Qt' has not been declared
doxywizard.cpp:21: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:22: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:23: error: 'Qt' has not been declared
doxywizard.cpp:23: error: 'Qt' has not been declared
doxywizard.cpp:24: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:25: error: 'Qt' has not been declared
doxywizard.cpp:25: error: 'Qt' has not been declared
doxywizard.cpp:25: error: 'Qt' has not been declared
doxywizard.cpp:26: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:27: error: 'Qt' has not been declared
doxywizard.cpp:27: error: 'Qt' has not been declared
doxywizard.cpp:30: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:32: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:36: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:37: error: 'manual' was not declared in this scope
doxywizard.cpp:37: error: 'Qt' has not been declared
doxywizard.cpp:38: error: invalid use of incomplete type 'struct QMenu'
doxywizard.h:14: error: forward declaration of 'struct QMenu'
doxywizard.cpp:42: error: 'class Expert' has no member named 'modelData'
doxywizard.cpp:45: error: 'QWidget' was not declared in this scope
doxywizard.cpp:45: error: 'topPart' was not declared in this scope
doxywizard.cpp:45: error: expected type-specifier before 'QWidget'
doxywizard.cpp:45: error: expected `;' before 'QWidget'
doxywizard.cpp:46: error: 'QVBoxLayout' was not declared in this scope
doxywizard.cpp:46: error: 'rowLayout' was not declared in this scope
doxywizard.cpp:46: error: expected type-specifier before 'QVBoxLayout'
doxywizard.cpp:46: error: expected `;' before 'QVBoxLayout'
doxywizard.cpp:49: error: 'QHBoxLayout' was not declared in this scope
doxywizard.cpp:49: error: 'dirLayout' was not declared in this scope
doxywizard.cpp:49: error: expected type-specifier before 'QHBoxLayout'
doxywizard.cpp:49: error: expected `;' before 'QHBoxLayout'
doxywizard.cpp:50: error: invalid use of incomplete type 'struct QLineEdit'
doxywizard.h:11: error: forward declaration of 'struct QLineEdit'
doxywizard.cpp:51: error: invalid use of incomplete type 'struct 
QPushButton'
doxywizard.h:12: error: forward declaration of 'struct QPushButton'
doxywizard.cpp:56: error: 'runTab' was not declared in this scope
doxywizard.cpp:56: error: expected type-specifier before 'QWidget'
doxywizard.cpp:56: error: expected `;' before 'QWidget'
doxywizard.cpp:57: error: 'runTabLayout' was not declared in this scope
doxywizard.cpp:57: error: expected type-specifier before 'QVBoxLayout'
doxywizard.cpp:57: error: expected `;' before 'QVBoxLayout'
doxywizard.cpp:60: error: 'runLayout' was not declared in this scope
doxywizard.cpp:60: error: expected type-specifier before 'QHBoxLayout'
doxywizard.cpp:60: error: expected `;' before 'QHBoxLayout'
doxywizard.cpp:61: error: invalid use of incomplete type 'struct 
QPushButton'
doxywizard.h:12: error: forward declaration of 'struct QPushButton'
doxywizard.cpp:62: error: invalid use of incomplete type 'struct 
QPushButton'
doxywizard.h:12: error: forward declaration of 'struct QPushButton'
doxywizard.cpp:63: error: invalid use of incomplete type 'struct QLabel'
doxywizard.h:10: error: forward declaration of 'struct QLabel'
doxywizard.cpp:64: error: invalid use of incomplete type 'struct 
QPushButton'
doxywizard.h:12: error: forward declaration of 'struct QPushButton'
doxywizard.cpp:65: error: invalid use of incomplete type 'struct 
QPushButton'
doxywizard.h:12: error: forward declaration of 'struct QPushButton'
doxywizard.cpp:66: error: invalid use of incomplete type 'struct 
QPushButton'
doxywizard.h:12: error: forward declaration of 'struct QPushButton'
doxywizard.cpp:75: error: invalid use of incomplete type 'struct QLabel'
doxywizard.h:10: error: forward declaration of 'struct QLabel'
doxywizard.cpp:76: error: 'QGridLayout' was not declared in this scope
doxywizard.cpp:76: error: 'grid' was not declared in this scope
doxywizard.cpp:76: error: expected type-specifier before 'QGridLayout'
doxywizard.cpp:76: error: expected `;' before 'QGridLayout'
doxywizard.cpp:77: error: invalid use of incomplete type 'struct QTextEdit'
doxywizard.h:13: error: forward declaration of 'struct QTextEdit'
doxywizard.cpp:78: error: invalid use of incomplete type 'struct QTextEdit'
doxywizard.h:13: error: forward declaration of 'struct QTextEdit'
doxywizard.cpp:79: error: invalid use of incomplete type 'struct QTextEdit'
doxywizard.h:13: error: forward declaration of 'struct QTextEdit'
doxywizard.cpp:79: error: 'QString' has not been declared
doxywizard.cpp:80: error: invalid use of incomplete type 'struct QTextEdit'
doxywizard.h:13: error: forward declaration of 'struct QTextEdit'
doxywizard.cpp:84: error: 'launchLayout' was not declared in this scope
doxywizard.cpp:84: error: expected type-specifier before 'QHBoxLayout'
doxywizard.cpp:84: error: expected `;' before 'QHBoxLayout'
doxywizard.cpp:85: error: invalid use of incomplete type 'struct 
QPushButton'
doxywizard.h:12: error: forward declaration of 'struct QPushButton'
doxywizard.cpp:92: error: 'QTabWidget' was not declared in this scope
doxywizard.cpp:92: error: 'tabs' was not declared in this scope
doxywizard.cpp:92: error: expected type-specifier before 'QTabWidget'
doxywizard.cpp:92: error: expected `;' before 'QTabWidget'
doxywizard.cpp:97: error: invalid use of incomplete type 'struct QLabel'
doxywizard.h:10: error: forward declaration of 'struct QLabel'
doxywizard.cpp:99: error: invalid use of incomplete type 'struct QLabel'
doxywizard.h:10: error: forward declaration of 'struct QLabel'
doxywizard.cpp:102: error: 'setCentralWidget' was not declared in this scope
doxywizard.cpp:103: error: 'statusBar' was not declared in this scope
doxywizard.cpp:106: error: invalid use of incomplete type 'struct QProcess'
doxywizard.h:15: error: forward declaration of 'struct QProcess'
doxywizard.cpp:108: error: invalid use of incomplete type 'struct QTimer'
doxywizard.h:16: error: forward declaration of 'struct QTimer'
doxywizard.cpp:114: error: expected primary-expression before 'int'
doxywizard.cpp:114: error: 'currentChanged' was not declared in this scope
doxywizard.cpp:114: error: 'SIGNAL' was not declared in this scope
doxywizard.cpp:114: error: expected primary-expression before 'int'
doxywizard.cpp:114: error: 'connect' was not declared in this scope
doxywizard.cpp:115: error: 'clicked' was not declared in this scope
doxywizard.cpp:116: error: 'QAction' was not declared in this scope
doxywizard.cpp:116: error: expected primary-expression before ')' token
doxywizard.cpp:116: error: 'triggered' was not declared in this scope
doxywizard.cpp:116: error: expected primary-expression before ')' token
doxywizard.cpp:116: error: 'openRecent' was not declared in this scope
doxywizard.cpp:117: error: 'returnPressed' was not declared in this scope
doxywizard.cpp:118: error: 'readyReadStandardOutput' was not declared in 
this scope
doxywizard.cpp:119: error: expected primary-expression before 'int'
doxywizard.cpp:119: error: incomplete type 'QProcess' used in nested 
name specifier
doxywizard.cpp:119: error: 'finished' was not declared in this scope
doxywizard.cpp:120: error: 'timeout' was not declared in this scope
doxywizard.cpp:124: error: 'showSettings' cannot be used as a function
doxywizard.cpp:125: error: 'changed' was not declared in this scope
doxywizard.cpp: At global scope:
doxywizard.cpp:128: error: variable or field 'closeEvent' declared void
doxywizard.cpp:128: error: 'QCloseEvent' was not declared in this scope

doxywizard.cpp:128: error: 'event' was not declared in this scope
gmake[2]: *** [obj/doxywizard.o] Error 1
gmake[2]: Leaving directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/addon/doxywizard'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/ports/devel/doxygen/work/doxygen-1.6.2/addon/doxywizard'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/doxygen.
*** Error code 1

Stop in /usr/ports/devel/doxygen.

===>>> make failed for devel/doxygen
===>>> Aborting update

===>>> Update for doxygen-1.6.1 failed
===>>> Aborting update




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B41B925.2090302>