View Single Post
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#126
hm i think i didn't explain what i'm doing very well

i'm not running xephyr or qtcreator under cygwin (that would probably require a rebuild), i'm just sending their output to the XWin server of cygwin/x.

this is the short VM startup skript (to demonstrate):

Code:
#!/bin/sh
export DISPLAY=windowshost:0.0
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &
gnome-terminal --command="/bin/bash -c '~/Maemo_Install/Scripts/Development/Start_x86_Scratchbox'" &
/home/maemo/qtsdk-2009.03/bin/qtcreator &
so, for qtcreator everything stays the same, :2 is the xephyr inside the VM, only that xephyr itself forwards to XWin.
this way, there's no mouse grab issue, either.


of course, it still suffers a performance hit, so to develop natively under windows setting up scripts and a qtcreator-plugin as you are planning is the only way.

but what about maemo-specific libraries? can they be imported to work with qtcreator under windows? as i said i'm new to C++, so this might be as easy as including the header files...