Linuxathome.net https://forum.linuxathome.net/ |
|
QT- Designer Installation Probelm https://forum.linuxathome.net/viewtopic.php?f=3&t=87 |
Page 1 of 1 |
Author: | venkatavivek [ Mon Sep 02, 2002 2:10 pm ] |
Post subject: | QT- Designer Installation Probelm |
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 |
Page 1 of 1 | All times are UTC + 10 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |