Results 1 to 3 of 3

Thread: QT on Cell BE

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question QT on Cell BE

    I am required to develop a GUI application on IBM Cell BE using Cell SDK, so I decided to use QT for developing my UI. But I am facing a question, my problem is I want to use QT to develop the UI but the main functionality and computation(which will include data distribution and synchronizing between processors) will be done by Cell SDK libraries so does anyone have any idea how can I combine the two? Can I compile QT code with ppu-gcc?


    Thanks in advance

  2. #2
    Join Date
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question Re: QT on Cell BE

    example code I am using is

    Qt Code:
    1. #include <qapplication.h>
    2. #include <qpushbutton.h>
    3.  
    4. int main( int argc, char **argv )
    5. {
    6. QApplication a( argc, argv );
    7.  
    8. QPushButton hello( "Hello world!", 0 );
    9. hello.resize( 100, 30 );
    10.  
    11. a.setMainWidget( &hello );
    12. hello.show();
    13. return a.exec();
    14. }
    To copy to clipboard, switch view to plain text mode 
    compile instruction is

    ./ppu-gcc -I/usr/local/Trolltech/Qt-4.5.1/include/Qt /home/Progs/testqt.c -o testqt

    where this "-I/usr/local/Trolltech/Qt-4.5.1/include/Qt" means look for header files in the following directory "/usr/local/Trolltech/Qt-4.5.1/include/Qt"

    and the error I get is
    "Qtcore/qcoreapplication.h: No such file or directory"

    and likewise similar errors for other header files which means that compiler cannot find the header files defined in qapplication.h, even after adding the required path in PATH env variable, it didnt help.
    Last edited by jpn; 16th July 2009 at 19:41. Reason: missing [code] tags

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QT on Cell BE

    Why don't you use qmake? At least try to compile a dummy app with makefile created by qmake to see all the necessary compiler arguments.
    J-P Nurmi

Similar Threads

  1. How to tell if QTableView cell is visible ?
    By steviekm3 in forum Qt Programming
    Replies: 0
    Last Post: 2nd March 2009, 10:04
  2. Validating QTable's cell
    By soumyadeep_pan in forum Qt Programming
    Replies: 2
    Last Post: 20th January 2009, 03:41
  3. Problems with QString
    By cyberboy in forum Qt Programming
    Replies: 2
    Last Post: 13th October 2008, 08:18
  4. Word wrapping in a QTableWidget cell
    By jcooperddtd in forum Qt Programming
    Replies: 3
    Last Post: 1st May 2007, 03:57
  5. word wrapping in QTable Cell
    By joseph in forum General Discussion
    Replies: 0
    Last Post: 27th November 2006, 09:30

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
  •  
Qt is a trademark of The Qt Company.