[Qt-interest] Newbie - Help needed

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri May 28 06:36:51 CEST 2010


On Thu, May 27, 2010 at 7:41 PM, John Philip Bosco
<john.philip at kcubeconsulting.com> wrote:
> Hello list,
>
> I am a novice linux user and have managed to build a QT GUI application on
> Debian 5 (lenny1) using the latest QT SDK (4.6.2). I have also created a

When you downloaded the SDK, did it come along with QT libraries?
(check 'lib' folder under the install dir)

I downloaded the linux version (I'm running Ubuntu 10.04) from here
(did not use apt):
http://qt.nokia.com/downloads/sdk-linux-x11-32bit-cpp

The lib folder under the SDK install folder has all the required QT libraries.

If at runtime it's not able to find the libraries, did you check if
the QT lib folder is there in your env's LD_LIBRARY_PATH var?

HTH,
-mandeep


> debian package for this application and installed it on a fresh debian
> machine where there is no QT SDK available. When I ran the application, it
> reported saying,
>
>
>
> error while loading shared libraries: libQtGui.so.4: cannot open shared
> object file: No such file or directory
>
>
>
> So I installed libqtgui4 and libqtcore4 libraries using apt-get.
> Unfortunately this installs only 4.4.3-1  version of QT libraries. So when I
> try to run the application again, I keep getting the below error:
>
> ./gui_app: symbol lookup error: ./gui_app : undefined symbol:
> _ZN11QMainWindow15setDocumentModeEb
>
>
>
> Any suggestion on how I can resolve this issue?
>
> Many thanks in advance.
>
> Regards,
>
> John Philip B
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list