Hello world example not displaying anything on LCD



  • I have colibri evaluation board 3.1a with Tegra 2 on it. I have compiled QT library and copied to board. I was trying simple hello world button app. Program runs fine(confirmed by inserting prints), but i dont get anything on the LCD display.

    This is the simple code i am trying

    QApplication a( argc, argv );

    QPushButton hello( "Hello world!", 0 );
    hello.resize( 100, 30 );

    a.setMainWidget( &hello );
    hello.show();
    return a.exec();

    PS: I am running Linux on the board.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    That's a bit low on information. What version of Qt ? What distribution are you running ? Using a window manager ? etc.



  • @SGaist Thanks for reply. I am new to qt. I am using qt-everywhere-opensource-src-4.8.4. I have compiled libraries and app for my board through command line.
    I have used this option to configure qt
    ./configure -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/QtEmbedded -little-endian -v
    Then copied libraries to the board at same location as mentioned in prefix.


  • Lifetime Qt Champion

    You should consider 4.8.6 or even the git version since they are more recent.

    Then the Toradex knowledge base might also contain useful information


Log in to reply
 

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