简体   繁体   中英

Qt hello world example does not display 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();

确保使用-qws标志:

./myapp -qws

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM