Solved

Compliling and running QT and third party libraries.on Linux

Posted on 2011-03-06
1
354 Views
Last Modified: 2012-05-11
Hello from a newbie to QT. I have been reading a text that shows me the way to compile and run QT programs using the following steps given that I have a simple helloworld file
:

[1] qmake -project
[2] qmake hello.pro
[3] make
[4] ./hello.


All this is fine and I understand this. But what if I have a yet another third party library that I am using in my application ...say for example the Boost library. WHere am I to specify the include dir (using -I option) and the library dir (using the -Loption) for Boost ??? I am at a loss and editing the Makefile generated by Qmake gives me the shivers because I dont know where to insert what. Any help would be appreciated.


--------------------------
hello.cpp
----------------------------

1 #include <QApplication>
2 #include <QLabel>
3 int main(int argc, char *argv[])
4 {
5     QApplication app(argc, argv);
6     QLabel *label = new QLabel("Hello Qt!");
7     label->show();
8     return app.exec();
9 }

Open in new window

0
Comment
Question by:arjoshi77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
arjoshi77 earned 0 total points
ID: 35046614
i found the solution mysekf. Thankd for reading.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question