Results 1 to 12 of 12

Thread: Qt Creator and Building example widgets on embedded platforme

  1. #1
    Join Date
    May 2011
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Qt Creator and Building example widgets on embedded platforme

    Hello
    Apologizes if this is rather target specific, but I think the question is generic enough to ask hear.
    Qt Creator OMAP-L138 and Building DVSDK qtopia example widgets

    I have Qt Creator 2.1.0 based on Qt 4.7.1 (32 bit) running under Ubuntu 10.04.LTS with a target of a OMAP-L138 evaluation board.
    I went in to Qt Creator Tools-->Options-->Qt4 and manually added a Version named Qt Embedded and pointed the qmake location to be
    /home/user/ti-dvsdk_omapl138-evm_4_02_00_06/linux-devkit/bin/qmake
    Things I note:

    1 there is no mkspec:
    showing up when I hover the mouse over my manually added a Version named Qt Embedded.

    2 there is never a Auto-detected Qt in PATH.

    3 there is a message at the bottom Qt Creator Tools-->Options-->Qt4
    Qt version is not properly installed, please run make install.

    Where does it want me to run make install from ? Or ??

    How do I get a mkspec into the above, and do I need it?

    How do I get the Auto-detected Qt in PATH to show up, or is it necessary?

    If I shut down Qt-Creator and restart from the command line ie
    user@user-desktopUbuntuLTS:~/QtSDK/QtCreator/bin$ ./qtcreator,
    the previously manually added Version named Qt Embedded is no longer there?

    My goal is to be able to compile some of the supplied Qt widgets in the DVSDK using Qt-Creator and run them on the OMAP-L138 evaluation board touch screen.

    Any help or point me to links that may be able to help would be appreciated...
    I am a newbie to Qt-Creaitor, and may be trying to do this all wrong?

    Please advise any links / advice / examples you can for my issues... Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator and Building example widgets on embedded platforme

    What happens if you open a console cd to the directory containing your special qmake release and run "./qmake -v"? Furthermore, if you cd to the "mkspecs" directory inside Qt installation, does it contain a soft link called "default" pointing to a directory named after your platform?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    May 2011
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Creator and Building example widgets on embedded platforme

    Hello wysota
    Wow ! thanks for getting back so fast..
    I hope what I have below can help you help me !
    Thanks !!

    user@user-desktopUbuntuLTS:~/ti-dvsdk_omapl138-evm_4_02_00_06/linux-devkit/bin$ ./qmake -v
    QMake version 2.01a
    Using Qt version 4.6.3 in /linux-devkit/lib

    user@user-desktopUbuntuLTS:~/ti-dvsdk_omapl138-evm_4_02_00_06/linux-devkit$ ls -l mkspecs
    lrwxrwxrwx 1 user user 47 2011-05-06 09:28 mkspecs -> arm-none-linux-gnueabi/usr/share/qtopia/mkspecs

    user@user-desktopUbuntuLTS:~/ti-dvsdk_omapl138-evm_4_02_00_06/linux-devkit/mkspecs$ ls -l default
    lrwxrwxrwx 1 user user 20 2011-05-06 09:28 default -> linux-gnueabi-oe-g++

    user@user-desktopUbuntuLTS:~/ti-dvsdk_omapl138-evm_4_02_00_06/linux-devkit/mkspecs$ ls -l linux-gnueabi-oe-g++
    lrwxrwxrwx 1 user user 9 2011-05-06 09:28 linux-gnueabi-oe-g++ -> linux-g++

    Please let me know if you need anything more, or ?


    Added after 10 minutes:


    Sorry wysota did you want the mkspecs and hence where QtSDK and Qt Creator is at if so its...
    user@user-desktopUbuntuLTS:~/QtSDK/Desktop/Qt/473/gcc/mkspecs$ ls -l default
    lrwxrwxrwx 1 user user 9 2011-05-10 15:48 default -> linux-g++
    Last edited by gusQt1; 14th May 2011 at 13:07.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator and Building example widgets on embedded platforme

    We don't care about creator or QtSDK. We care about your device Qt installation. It seems your qmake might be broken. Try compiling some simple project with it manually.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    May 2011
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Creator and Building example widgets on embedded platforme

    Sorry I was going to mention that in the last thread... Yes I can compile manually...


    Added after 23 minutes:


    OK I'm able to build now (I was loading the wrong .pro I wanted to build in Qt Creator)... However I can not seem to select from the Build-->Open Build/Run Target Selector a target to embedded.. all that shows up is Desktop
    Desktop Qt 4.7.3 for GCC (Qt SDK) Release or Debug.. No selection for Embedded or any other.
    Sorry for the .pro mixup.
    Last edited by gusQt1; 14th May 2011 at 14:49.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator and Building example widgets on embedded platforme

    If you switch to the "Projects" tab, you should be able to click on the "+" sign and choose other targets, provided your target is being detected as non-desktop. If not, you can choose the build configuration from the ui below the target configuration.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    May 2011
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Creator and Building example widgets on embedded platforme

    Clicking on the Projects icon there are Desktop and Maemo with the - and + sign
    Under the General
    Qt version I can select my Qt Embedded
    There is nothing in the Tool chain: it is grayed out
    Shadow build is not checked
    Build directory looks ok
    Then there is a Error message
    Error: The Qt version is invalid: Qt version is not properly installed, pleas.... I cant read the rest..
    I think this is related to above
    3 there is a message at the bottom Qt Creator Tools-->Options-->Qt4
    Qt version is not properly installed, please run make install.

    Is this maybe my trouble?
    Thanks

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator and Building example widgets on embedded platforme

    No idea. What exactly would you expect to obtain (apart getting rid of the error)? If you can build using your environment then it seems to work fine regardless of the error.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    May 2011
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Creator and Building example widgets on embedded platforme

    I would expect to obtain a embedded build that I can run on my target which is embedded Linux.
    With the selections as described above when I now attempt to build I get
    Build Issues
    :-1: error: The Qt version is invalid: Qt version is not properly installed, please run make install
    I do not understand what It wants me to do... ?
    Thanks

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator and Building example widgets on embedded platforme

    Quote Originally Posted by gusQt1 View Post
    With the selections as described above when I now attempt to build I get
    Build Issues
    :-1: error: The Qt version is invalid: Qt version is not properly installed, please run make install
    I do not understand what It wants me to do... ?
    It wants you to run "make install" And seriously I guess QtCreator detects the path embedded in qmake differs from the one where your installation resides. QMake declares it is using /linux-devkit/lib as the installation path but in reality your Qt installation is elsewhere.

    How did you obtain this Qt installation? Did you build it yourself from sources?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  11. #11
    Join Date
    May 2011
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Creator and Building example widgets on embedded platforme

    OK, run "make install" from which directory / path ?

    The Qt installation on
    /home/user/ti-dvsdk_omapl138-evm_4_02_00_06/linux-devkit/
    came from Texas Insterments... It is part of the DVSDK (Digital Video Software Developers Kit)
    I do not know it's origin... other then it is installed when you install the DVSDK. Don't think that helps you to much, sorry

    The Qt-Creator and SDK came from
    http://qt.nokia.com/products/qt-sdk
    That probably does not help you help me ether...

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Creator and Building example widgets on embedded platforme

    Quote Originally Posted by gusQt1 View Post
    The Qt installation on
    /home/user/ti-dvsdk_omapl138-evm_4_02_00_06/linux-devkit/
    came from Texas Insterments... It is part of the DVSDK (Digital Video Software Developers Kit)
    I do not know it's origin... other then it is installed when you install the DVSDK. Don't think that helps you to much, sorry
    Maybe you should contact the vendor then? Or download the sources from the vendor's website and build the suite yourself.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 3
    Last Post: 7th October 2010, 00:00
  2. Building Qt Embedded for arm architecture
    By Naami in forum Qt Programming
    Replies: 1
    Last Post: 28th July 2010, 15:54
  3. Building Qt Embedded for arm architecture
    By Naami in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 27th July 2010, 13:47
  4. Issues while building embedded QT with open GL ES2
    By SantoshR in forum General Programming
    Replies: 0
    Last Post: 3rd May 2010, 14:17
  5. Problem building qt embedded for WinCE and VS2005
    By high_flyer in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 5th June 2009, 02:04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.