| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 3 | |
Hi All :-) , I'm using Qt eclipse integration for creating my own projects, lately I faced a problem (see log file in the attachment plz) when I tried to use outside static library called Qgar <http://www.qgar.org/>, although I set right paths for Qgar <http://www.qgar.org/> library as shown in the pics (see attachment plz) Could you please tell me what happen? *Note: * Qt version: 4.4.0-b1 CDT version: 4.0.3.200802251018 OS: WinXp -- [ signature omitted ]
Attachment:
qtlib.zip
Description: Zip compressed data
What does this have to do with QT? Itâs an eclipse issueâ. Or an Qgar issueâ but not a QT issueâ Please find an appropriate mailing list Scott From: M. Bashir Al-Noimi [mailto:mhdbnoimi@xxxxxxxxx] Sent: Monday, April 14, 2008 12:21 PM To: Qt Interest List Subject: Include paths for libraries usage Hi All :-) , I'm using Qt eclipse integration for creating my own projects, lately I faced a problem (see log file in the attachment plz) when I tried to use outside static library called Qgar <http://www.qgar.org/> , although I set right paths for Qgar <http://www.qgar.org/> library as shown in the pics (see attachment plz) Could you please tell me what happen? Note: Qt version: 4.4.0-b1 CDT version: 4.0.3.200802251018 OS: WinXp -- [ signature omitted ]
Scott Aron Bloom wrote: > What does this have to do with QT? > > > > Itâs an eclipse issueâ. Or an Qgar issueâ but not a QT issueâ Please > find an appropriate mailing list > > > > Scott > No, it's Qt issue cuz I could build my own project when i used ISO C++ without Qt. > > > *From:* M. Bashir Al-Noimi [mailto:mhdbnoimi@xxxxxxxxx] > *Sent:* Monday, April 14, 2008 12:21 PM > *To:* Qt Interest List > *Subject:* Include paths for libraries usage > > > > Hi All :-) , > > I'm using Qt eclipse integration for creating my own projects, lately > I faced a problem (see log file in the attachment plz) when I tried to > use outside static library called Qgar <http://www.qgar.org/>, > although I set right paths for Qgar <http://www.qgar.org/> library as > shown in the pics (see attachment plz) > > Could you please tell me what happen? > > *Note: * > Qt version: 4.4.0-b1 > CDT version: 4.0.3.200802251018 > OS: WinXp > > -- > Best Regards ØØÙØØÙ > Muhammad Bashir Al-Noimi ÙØÙØ ØØÙØ ØÙÙØÙÙÙ > > My Blog ÙØÙÙØÙ > http://mbnoimi.net/ -- [ signature omitted ]
According to that logicâ anyone who cant build KDE should post a request here? You cannot build KDE without Qt using ISO C++â hence it must be a QT issueâ Also, the word is because, not cuzâ and please not plzâ We are not in a chat roomâ This is clearly an environmental issueâ set your paths correctly and it will workâ Scott From: M. Bashir Al-Noimi [mailto:mhdbnoimi@xxxxxxxxx] Sent: Monday, April 14, 2008 4:15 PM To: Scott Aron Bloom Cc: Qt Interest List Subject: Re: Include paths for libraries usage Scott Aron Bloom wrote: What does this have to do with QT? Itâs an eclipse issueâ. Or an Qgar issueâ but not a QT issueâ Please find an appropriate mailing list Scott No, it's Qt issue cuz I could build my own project when i used ISO C++ without Qt. From: M. Bashir Al-Noimi [mailto:mhdbnoimi@xxxxxxxxx] Sent: Monday, April 14, 2008 12:21 PM To: Qt Interest List Subject: Include paths for libraries usage Hi All :-) , I'm using Qt eclipse integration for creating my own projects, lately I faced a problem (see log file in the attachment plz) when I tried to use outside static library called Qgar <http://www.qgar.org/> , although I set right paths for Qgar <http://www.qgar.org/> library as shown in the pics (see attachment plz) Could you please tell me what happen? Note: Qt version: 4.4.0-b1 CDT version: 4.0.3.200802251018 OS: WinXp -- Best Regards ØØÙØØÙ Muhammad Bashir Al-Noimi ÙØÙØ ØØÙØ ØÙÙØÙÙÙ My Blog ÙØÙÙØÙ http://mbnoimi.net/ -- [ signature omitted ]
> lately I faced a problem (see log file in the attachment plz) when I > tried to use outside static library called Qgar, although I set > right paths for Qgar library as shown in the pics (see attachment plz) First of all one thing that does not have to do with you problem, but you should think about it anyways: In your include-statements, you should include the Qt Files with an upper case "Q" instead of a lowercase "q" like this: #include <QApplication> Your code will never compile on systems with a case sensitive file system (like most unix/linuxes). Regarding your problem: I can see you setting a QGAR variable, but I cannot see where you include that path. Your g++ call also shows no reference to the QGAR lib. Regards, Malte -- [ signature omitted ]
Hi Muhammad, when you use the Qt Eclipse integration, you need to add additional include pathes in the .pro file instead of in the project properties. see http://doc.trolltech.com/latest/qmake-variable-reference.html#includepath The reason is that the intermediate makefile is generated by qmake which takes information only from the .pro file. We are aware that this needs to be better documented. Good luck, Alessandro M. Bashir Al-Noimi schrieb: > Hi All :-) , > > I'm using Qt eclipse integration for creating my own projects, lately I > faced a problem (see log file in the attachment plz) when I tried to use > outside static library called Qgar <http://www.qgar.org/>, although I > set right paths for Qgar <http://www.qgar.org/> library as shown in the > pics (see attachment plz) > > Could you please tell me what happen? > > *Note: * > Qt version: 4.4.0-b1 > CDT version: 4.0.3.200802251018 > OS: WinXp > > -- > Best Regards ØØÙØØÙ > Muhammad Bashir Al-Noimi ÙØÙØ ØØÙØ ØÙÙØÙÙÙ > > My Blog ÙØÙÙØÙ > http://mbnoimi.net/ -- [ signature omitted ]
Alessandro Portale wrote: > Hi Muhammad, > > when you use the Qt Eclipse integration, you need to add additional > include pathes in the .pro file instead of in the project properties. > see > http://doc.trolltech.com/latest/qmake-variable-reference.html#includepath > The reason is that the intermediate makefile is generated by qmake > which takes information only from the .pro file. > > We are aware that this needs to be better documented. > > Good luck, > Alessandro > Thanks a lot Alessandro, I can build my project correctly -- [ signature omitted ]
Hi All :-) , I'm using Qt eclipse integration for creating my own projects, lately I faced a problem (see log file in this <http://www.quickfilepost.com/download.do?get=98460ae96759c0f43b6a1764dd0f233e>link plz) when I tried to use outside static library called Qgar <http://www.qgar.org/>, although I set right paths for Qgar <http://www.qgar.org/> library as shown in the pics (see this <http://www.quickfilepost.com/download.do?get=98460ae96759c0f43b6a1764dd0f233e>link plz) Could you please tell me what happen? *Note: * Qt version: 4.4.0-b1 CDT version: 4.0.3.200802251018 OS: WinXp -- [ signature omitted ]