Results 1 to 3 of 3

Thread: SDK 4.6 & Qt Embedded for Linux

  1. #1
    Join Date
    Mar 2009
    Posts
    72
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default SDK 4.6 & Qt Embedded for Linux

    Hi, is it possible to use the compiled SDK (4.6) in a Qt Embedded Linux environment instead of manually build it from sources?

    Qt Creator returns me some linking errors:

    Qt Code:
    1. undefined reference to 'qwsServer'
    2. undefined reference to 'QWSServer::setCursorVisible(bool)'
    3. ...
    To copy to clipboard, switch view to plain text mode 

    The QtGui module is in the linker command line argument list.

  2. #2
    Join Date
    Nov 2009
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: SDK 4.6 & Qt Embedded for Linux

    You have Qt libs with SDK for desktop version, they use X11/WINAPI/COCOA like windowing system. For example Qt X11 libs know nothing about cocoa and winapi. But all of them know nothing about qws, that uses by Qt embedded.
    Qt embedded use qws server. That's why you have to have Qt embedded builded for your target platform. Because of there are a lot of target platform with different environments, it's impossible to redistribute Qt embedded binary libs, thats why you have to build Qt embedded libs from sources at least for your target device, Additionally you can build Qt embedded for your host device for debugging application using Qvfb (supported only on linux).

    But you still able to make application working on Qt embedded and Qt Desktop version as well, all you need to close by #define directive appropriated source code pieces, that use QWS specific code.

  3. #3
    Join Date
    Nov 2010
    Location
    Monterrey, Nuevo Leon, Mexico
    Posts
    8
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11

    Default Re: SDK 4.6 & Qt Embedded for Linux

    Hi zuck and rule,

    I got this error at the moment of build my application:
    baseWindow.o: In function `BaseWindow::timeToCheckMouse()':
    baseWindow.cpp.text+0x4c17): undefined reference to `qwsServer'
    baseWindow.cpp.text+0x4c28): undefined reference to `QWSServer:penMouse()'
    collect2: ld returned 1 exit status

    May you be more specific about how to solve this problem?

    Regards and thanks in advance


    Added after 25 minutes:


    Hi zuck and rule,

    Some details about my application.

    My application is running with qt-embedded-linux-opensource-src-4.4.0 and uses an specific jpeg library (jpeg-8a). Actually I want to run/execute my app in my fedora Linux machine with qt-everywhere-opensource-src-4.7.1 and jpeg-8a library.

    Regards and thanks
    Last edited by ivanqt; 21st December 2010 at 14:56.

Similar Threads

  1. Qt Embedded cross compiler make fails
    By quado player in forum Installation and Deployment
    Replies: 0
    Last Post: 1st September 2009, 14:22
  2. Qt Embedded
    By lixo1 in forum Newbie
    Replies: 4
    Last Post: 2nd March 2009, 17:24
  3. Qt Embedded + OpenGL problem
    By EeroS in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 7th October 2008, 14:32
  4. embedded font/locale problems
    By GW in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 10th October 2007, 15:42

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.