Qt app without window manager.
-
Did you cleanup before rebuilding ?
-
It was a fresh build in a new directory.
-
Did you try with -qpa linuxfb ?
-
This is my configuration now:
@sudo ./configure -opensource -release -force-debug-info -confirm-license -static -qt-sql-mysql -qt-zlib -qt-libpng -qt-libjpeg -no-openssl -no-pch -qpa linuxfb -no-xcb -nomake examples -nomake tests@@Build options:
Configuration .......... accessibility alsa audio-backend avx avx2 c++11 clock-gettimeclock-monotonic compile_examples concurrent cups dbus evdev eventfd fontconfig
force_debug_info full-config getaddrinfo getifaddrs gif glib gstreamer gtk2 gtkstyle iconv
icu inotify ipv6ifname jpeg large-config largefile linuxfb medium-config minimal-config
mremap nis opengl pcre png pulseaudio qpa qpa reduce_exports reduce_relocations release rpath
small-config sse2 sse3 sse4_1 sse4_2 ssse3 static system-freetype v8 v8snapshot xlib xrender
zlib
Build parts ............ libs tools
Mode ................... release (with debug info)
Using C++11 ............ yes
Using PCH .............. no
Target compiler supports:
SSE2/SSE3/SSSE3 ...... yes/yes/yes
SSE4.1/SSE4.2 ........ yes/yes
AVX/AVX2 ............. yes/yesQt modules and options:
Qt D-Bus ............... yes (loading dbus-1 at runtime)
Qt Concurrent .......... yes
Qt GUI ................. yes
Qt Widgets ............. yes
JavaScriptCore JIT ..... yes (To be decided by JavaScriptCore)
QML debugging .......... yes
Use system proxies ..... noSupport enabled for:
Accessibility .......... yes
ALSA ................... yes
CUPS ................... yes
FontConfig ............. yes
Iconv .................. yes
ICU .................... yes
Image formats:
GIF .................. yes (in QtGui, using system library)
JPEG ................. yes (in QtGui, using bundled copy)
PNG .................. yes (in QtGui, using bundled copy)
Glib ................... yes
GStreamer .............. yes
GTK theme .............. yes
Large File ............. yes
libudev ................ no
Networking:
getaddrinfo .......... yes
getifaddrs ........... yes
IPv6 ifname .......... yes
OpenSSL .............. no
NIS .................... yes
OpenGL ................. desktop
OpenVG ................. no
PCRE ................... yes (bundled copy)
pkg-config ............. yes
PulseAudio ............. yes
QPA backends:
DirectFB ............. no
EGLFS ................ no
KMS .................. no
LinuxFB .............. yes
XCB .................. no
Session management ..... yes
SQL drivers:
DB2 .................. no
InterBase ............ no
MySQL ................ qt
OCI .................. no
ODBC ................. no
PostgreSQL ........... no
SQLite 2 ............. no
SQLite ............... yes (plugin, using bundled copy)
TDS .................. no
udev ................... no
xkbcommon .............. no
zlib ................... yes (bundled copy)
@It is building now, fingers crossed.
-
So far so great.
I built twice. It failed the first time because i forgot to ommit the webkit, pfff.
The second time it build perfectly with the above configuration. Thanks SGaist.
So i quickly built a simple gui app and copied it in the target system and voila a window appeared :) .
But, still a but, i don't have a mouse and keyboard. And the system is stuck at this point.
-
Great !
You can also move/remove the webkit folder if you want to avoid that.
Are both detected on your target system ?
-
My target system is just a console system. I guess at least the keyboard should be ok because i am able to launch it.
How can i check if mouse is detected also?
-
Update:
AnalogClock example runs ok. I mean that the clock ticks.
I changed my app by placing a QLineEdit and i can see the cursor in the QLineEdit blinking but i can't type nor move the mouse.
-
Update: yes mouse is detected on the target system.
-
What kind of device is reported ? (/dev/mouse or... ?)
-
Yes /dev/mouse2 .
There is also /dev/mouse1 but it appers that the correct one is /dev/mouse2
-
Then you might need to setup that information before starting your application but I don't know if Qt 5 has the same set of variables / command line options as Qt 4 for that, sorry.
-
Ok, thanks a lot. You've been very helpful.
I will start a new thread for this problem.
Edit: Follow "this thread":http://qt-project.org/forums/viewthread/31911/ for mouse and keyboard problem.