PDA

View Full Version : QT with no screen



knobby67
21st September 2014, 17:14
Hi All,
I have some Qt code I've written for data capture, it runs fine on a PC in console mode. Basically it captures data, stores some XML files and sends data via the internet. I've been asked to run it on an ARM board, this board has no screen. I've made the linux system using "buildroot" and included Qt cross compiled for the system. So basically can I get console built code to run without a screen or screenbuffer? Second how can I cross compile with Qt? EG normally with linux all i'd do is a switch in my makefile from "gcc" to "arm-gcc" how can I do this in linux?

Thanks All :D

aamer4yu
22nd September 2014, 11:16
So basically can I get console built code to run without a screen or screenbuffer?
Yes, you can.


how can I cross compile with Qt? EG normally with linux all i'd do is a switch in my makefile from "gcc" to "arm-gcc" how can I do this in linux?
1) You can setup cross compilation toolkit in Qt Creator ,, search how to do it.
2) Ever gone through -spec argument for qmake ?