[Qt-embedded-interest] problems in installing Qt-embedded 4.5 in Linux fedora 8
Avishek_Sharma
Avishek_Sharma at satyam.com
Tue Mar 24 08:57:05 CET 2009
Thanks Markus.
Glad to finally have an answer.You are right,when I run 'which qmake',I get --
[root at localhost Desktop]# which qmake
/usr/local/Trolltech/Qt-4.4.3/bin/qmake
How do I change it?I did try setting PATH=/usr/local/Trolltech/QtEmbedded-4.5.0-tp1/bin:$PATH export PATH (directly copied from the install.txt ) in .profile(which I created in 'root' directory as I didn't find any pre existing '.profile' in my 'root' directory(even after ls -a) ).Do I need to do something else or ,am I pasting it in the wrong directory?I am new to Linux,so,I assumed '/root' is 'home directory for root user...right.
I didn't change anything during the installation,just ran the commands as given in the install.txt.But,I haven't yet done anything about qvfb.Could that be a problem?
Please advice.
regards,
Avishek
________________________________________
From: Markus Franke [Franke.M at sebakmt.com]
Sent: Tuesday, March 24, 2009 12:34 PM
To: Avishek_Sharma
Cc: qt-embedded-interest at trolltech.com
Subject: Antwort: [Qt-embedded-interest] problems in installing Qt-embedded 4.5 in Linux fedora 8
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
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
More information about the Qt-embedded-interest
mailing list