Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Hello world example not displaying anything on LCD
Forum Updated to NodeBB v4.3 + New Features

Hello world example not displaying anything on LCD

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    invoker
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      0
      • SGaistS SGaist

        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.

        I Offline
        I Offline
        invoker
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved