Linuxathome.net

Linux News And Help For Home Broadband Internet
It is currently Fri Apr 28, 2017 9:11 pm

All times are UTC + 10 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Sep 02, 2002 2:10 pm 
Offline
Newbie

Joined: Mon Sep 02, 2002 1:57 pm
Posts: 1
Hi All,

I am facing the problem with QT-Designer and when I am compiling the program it is saying crt1.o is not available.



Qt uic (User Interface Conversion) problem



Step 1. I created a .ui file containing a push button using QT Designer which is available in QT version 3.0.5 under Linux environment

Step 2. Then I generated the header file using the command



Uic –o filename.h filename.ui



Step 3. Then I generated the implementation file using the command



Uic –i filename.h –o filename.cpp filename.ui



Step 4. Then I created a filename.pro file as follows



TEMPLATE=app

CONFIG+=qt warn_on release

HEADERS=filename.h

SOURCES=filename.h

TARGET=filename



Step 4. When I compile this newly generated filename.cpp file as follows

4.1 qmake –o Makefile filename.pro



It is perfect and returns to the prompt.



4.2 Now when I issue the make command as follows

make

I get the error as follows –



G++ -o filename filename.o moc_filename.o -W1, -rpath,

/root/qt-x11-free-3.0.5/lib –l/root/qt-x11-free-3.0.5/lib

-l/usr/X11R6/lib –lqt –lXext –lX11 -lm

/usr/bin/ld: cannot find –lqt

collect2: ld returned 1 exit status

make: ***[filename] Error 1



How do I fix this bug?



Actually, I went through the search and I found the following environment variable settings in one of the websites.



Export Xsed=sed


I did the above changes also, but still encountered the same problem.


Any Sugestions??

Thanks,
Vivek.
venkatavivek@hotmail.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 10 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group