[Qt-embedded-interest] Antwort: problems in installing Qt-embedded 4.5 in Linux fedora 8
Markus Franke
Franke.M at sebakmt.com
Tue Mar 24 08:04:07 CET 2009
Hi Avishek,
qt-embedded-interest-bounces at trolltech.com schrieb am 24.03.2009 05:21:39:
> [root at localhost textedit]# qmake textedit.pro
> [root at localhost textedit]# make
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -
> DQT_CORE_LIB -DQT_SHARED -I../../../Qt-4.4.3/mkspecs/linux-g++ -I. -I..
> /../../Qt-4.4.3/include/QtCore -I../../../Qt-4.4.3/include/QtCore
-I../..
> /../Qt-4.4.3/include/QtGui -I../../../Qt-4.4.3/include/QtGui -I../../..
> /Qt-4.4.3/include -I. -I. -o textedit.o textedit.cpp
> textedit.cpp:58:31: error: QTextDocumentWriter: No such file or
directory
> textedit.cpp: In member function ?bool TextEdit::fileSave()?:
> textedit.cpp:425: error: ?QTextDocumentWriter? was not declared in this
scope
> textedit.cpp:425: error: expected `;' before ?writer?
> textedit.cpp:426: error: ?writer? was not declared in this scope
> make: *** [textedit.o] Error 1
> [root at localhost textedit]#
> Seems like it can't make sense of the Qt embedded class
> 'QTextDocumentWriter'.I didn't get any errors when I was doing the
> installation,so,I am confused as to what's wrong?Do I need to do
> something after pasting the 'PATH=/usr..' to make everything functional.
Looks like as if you are trying to compile with the wrong Qt version. The
output above indicates that your where using qmake from Qt 4.4.3 instead
of Qt 4.5.0. Are you sure the Qt 4.5.0 installation directory is in your
path. Check with "which qmake" which path points to the default "qmake".
Furthermore, have you compiled Qt Embedded with the default settings or
did you switch off some features? This might be also a reason why
"QTextDocumentWriter" cannot be found.
Mit freundlichen Grüßen / Best regards
Markus Franke
Entwicklung/ Development
SebaKMT
Hagenuk KMT Kabelmesstechnik GmbH
Röderaue 41
01471 Radeburg / Germany
Reg.Gericht (01067 Dresden) HRB 12567
Geschäftsf.: Dr. Max Iann
Phone +49 (0)35208 84 29142
Fax +49 (0)35208 84 29249
e-mail: franke.m at sebaKMT.com
web: http//www.sebaKMT.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-embedded-interest/attachments/20090324/9702d1e6/attachment.html
More information about the Qt-embedded-interest
mailing list