LinuxFB build on desktop without mouse and keyboard
-
Hi,
i "managed to build Qt5":http://qt-project.org/forums/viewthread/31621/ for ubuntu server (without window manager).Following "this guide ":http://qt-project.org/wiki/Building_Qt_5_from_Git and a lot of "help":http://qt-project.org/forums/viewthread/31621/ from SGaist i was able to build Qt5.
This is my build configuration:
@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)@I am using ubuntu desktop for my development enviroment and then i copy the binary file to my target system(ubuntu server , without window manager).
On the target system i start my app as usual ./app and my application starts normally (window, widgets, etc..)but i do not have mouse and keyboard. I can not type or move the mouse in my application.
I am sure that the keyboard is detected on the system because i am able to login and start the app.
I am also sure that the keyboard is detected because if do @cat /dev/mouse2@ and move the mouse i see data on the display.To have control of the mouse and keyboard is there a special way to start the app or different build configuration?