Compile Qt 4.7.3 for windows ce with drag and drop and QGesture support

  • Hi,

    I try to build Qt 4.7.3 with drag and drop support as well as QGesture for a custom windows ce sdk. I have no idea, how I can compile qt with drag and drop as well as QGesture support. I tried first just to configure with default parameters like:

    configure -platform win32-msvc2008 -xplatform wince60NetDCU10-armv4i-msvc2008

    The mkspecs is actually a copy of wince60standard-armv4i-msvc2005 except of the CE_SDK as well as the QMAKE_COMPILER_DEFINES -= _MSC_VER=1400, QMAKE_COMPILER_DEFINES += _MSC_VER=1500

    When I run my Application on the Windows ce, the drag and drop doesn't work. I don't know if the problem comes from the Windows ce or if there is no drag and drop support compiled in the qt version. How can I find out if this compiled qt version has really drag and drop included?

    I tried to configure also my qt with the qconfig tool, which shows up the requirements for drag and drop.
    and IMAGEFORMAT_XPM requires: STYLE_PLASTIQUE and more, but when I configure the qt for windows ce with this qconfig file the Plastique style is for example removed, which means for me, that also the drag and drop feature is removed, because of the requirements.

    Thanks for your help.

  • I found out, that drag and drop doesn't work, when I drag a file from the windows ce "explorer" to the Qt Application. But in the Qt Application internaly it works. Although the cursor stuff isn't showen.

  • One thing I've found on WinCE is that the icon used for drag and drop replaces the mouse cursor. On CE there's a maximum size for the cursor so if the icon you're trying to show is bigger than this it doesn't display.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.