Error: cannot find -lQtOpenGL



  • Hi guys.
    I'm making my first steps into the mobile development, so I'm following this "tutorial":http://www.forum.nokia.com/Develop/Qt/Getting_started/Step_3.xhtml. I already have a nice app with QtOpenGL, that works fine in the desktop world, but gives me error in Nokia Qt Sdk Qt Simulator:

    @
    "cannot find -lQtOpenGL"@

    After googling for a while I found "this":http://discussion.forum.nokia.com/forum/showthread.php?209020-QT-OpenGL(ES)-Support-and-Schedule . It seems that Qt simulator doesn't support OpenGL, is this correct ?

    So I try to compile it to symbian device option and got the following:

    @
    "error: The Symbian SDK and the project sources must reside on the same drive."
    @

    I also tried to build the animatedtiles examples, that works without errors, I was able to create the sis file. If I correctly understood to run it in a symbian, I only have to copy the animatedtile.sys and qt_installer.sis ? Also I dont have any simbian phone, I just trying to create the sys to test it later in a borrowed phone. I 'm using Nokia Qt Sdk 1.0.2 with Vista.
    What´s the TRK debugging application, is it mandatory to install it in the mobile device ?
    Thanks

    (EDIT by moderator): highlight the error messages



  • TRK is not mandatory. It is used to debug your app from desktop IDE while running the app on Symbian device.



  • [quote author="john_god" date="1292482419"]Hi guys.
    So I try to compile it to symbian device option and got the following:

    @
    "error: The Symbian SDK and the project sources must reside on the same drive."
    @
    [/quote]

    john_god, it's a requirement of the Symbian SDK: both SDK and project source code must be in the same drive, so if you installed the SDK in C:, the source code of your project must be in that drive as well.



  • I don't think QtOpenGL works on Symbian yet! See in the platform notes:
    http://doc.trolltech.com/4.7/platform-notes-symbian.html

    QtOpenGL is stated to be planned for a future release.



  • Thank you guys. Today I manage to run my first test Qt mobile app in a Nokia E71 :)
    I removed QtOpenGL, and put the code directory in the same drive. I also had other error, when installing the sis file throught the Nokia PC Suite, because the phone date has set to 2008. Once I set the correct date, the file installed just fine.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.