[SOLVED]QtXmlPatterns4.dll not generated when cross-compiling Qt for Windows CE 6.0



  • Hi,

    I've recently been able to successfully cross-compile Qt for a Windows CE 6.0 R3/ARM target that relies on a custom SDK that I generated. For the moment, I'm just trying to run some of the compiled demos on the target device. I've successfully been able to run the textedit demo on the target, but I wanted to try the minehunt declarative example as I'm interested in seeing a Qt Quick app running on the device. I've identified that minehunt.exe depends on the following Qt dlls:

    QtCore4.dll
    QtDeclarative4.dll
    QtGui4.dll
    QtNetwork4.dd
    QtScript4.dll
    QtSql4.dll
    QtXmlPatterns4.dll

    I checked my $QTDIR\lib folder and it contains all the dlls listed above except for QtXmlPatterns4.dll. It seems that for some reason QtXmlPatterns4.dll did not get generated when I was cross-compiling Qt (although QtXml4.dll did get generated). After inspecting the $QTDIR\include folder, I confirmed that a QtXmlPatterns folder exists here.

    What could have gone wrong in the cross-compilation process to have skipped the generation of QtXmlPatterns4.dll without generating an error?

    For reference, this is the configure command I used for the cross-compile:

    configure -platform win32-msvc2005 -xplatform wince60mysdk-armv4i-msvc2005 -no-qt3support -no-webkit -no-phonon -no-phonon-backend

    Any help in resolving this issue is greatly appreciated.

    Thanks!



  • Still no luck resolving this issue. Anyone have any ideas?

    I thought that maybe QtXmlPatterns4.dll was being excluded from the build by one of the options I specified in the configure call when cross-compiling Qt, so I tried the following configure call instead:

    configure -platform win32-msvc2005 -xplatform wince60mysdk-armv4i-msvc2005 -no-phonon -no-phonon-backend

    Unfortunately, this didn't work either. :(



  • I just noticed that shortly after configure is executed, it outputs the following:

    Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    build_all
    debug
    cross_compile
    Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    s60
    ipv6
    script
    scripttools
    phonon
    phonon-backend
    multimedia
    audio-backend
    declarative
    native-gestures
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config

    QMAKESPEC...................wince60sirius-armv4i-msvc2005 (commandline)
    Architecture................windowsce
    Maketool....................nmake
    Debug symbols...............yes
    Link Time Code Generation...no
    Accessibility support.......yes
    STL support.................no
    Exception support...........no
    RTTI support................no
    MMX support.................no
    3DNOW support...............no
    SSE support.................no
    SSE2 support................no
    IWMMXT support..............no
    OpenGL support..............no
    OpenVG support..............no
    OpenSSL support.............no
    QtDBus support..............no
    QtXmlPatterns support.......no
    Phonon support..............yes
    QtMultimedia support........yes
    WebKit support..............no
    Declarative support.........yes
    Declarative debugging.......yes
    QtScript support............yes
    QtScriptTools support.......yes
    Graphics System.............raster
    Qt3 compatibility...........no

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............yes
    MNG support.............plugin
    FreeType support........no

    Styles:
    Windows.................yes
    Windows XP..............no
    Windows Vista...........no
    Plastique...............no
    Cleanlooks..............no
    Motif...................no
    CDE.....................no
    Windows CE..............yes
    Windows Mobile..........yes
    S60.....................no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............C:\Qt\QtWinCE\4.7.4
    Build is done in............C:\Qt\QtWinCE\4.7.4-build
    Install prefix..............
    Headers installed to........
    Libraries installed to......
    Plugins installed to........
    Imports installed to........
    Binaries installed to.......
    Docs installed to...........
    Data installed to...........
    Translations installed to...
    Examples installed to.......
    Demos installed to..........

    Using c runtime detection...yes
    Cetest support..............no
    Signature...................no

    One of those lines lists "QtXmlPatterns support.......no". How can I enable this? I tried configure -help but none of the options seem to specify anything about QtXmlPatterns.



  • Ok, finally figured it out. For anyone else who encounters this issue, the QtXmlPatterns4.dll file is dependent on the -exceptions option. So, the following configure command worked for me:

    configure -platform win32-msvc2005 -xplatform wince60mysdk-armv4i-msvc2005 -exceptions

    I couldn't find any Qt documentation that documents this dependency, so perhaps it should be made more clear so others don't run into the same issue.



  • I have the same issue with you,i run the follow command:
    configure -platform win32-msvc2005 -xplatform wince60standard-armv4i-msvc2005 -qt-sql-sqlite
    but only follow dlls generated:
    QtCore4.dll
    QtDeclarative4.dll
    QtGui4.dll
    QtNetwork4.dd
    QtScript4.dll
    QtSql4.dll

     i can not find QtXmlPatterns4.dll and QtOpenGL4.dll ,can you ?
    

    And i want to deply qml program on wince too,But how can i use Declarative module to show qml file?
    it didn't work!!! I don't know if i ignore some required dlls?or on the wince qml must run with qmlviewer.exe? dou you have the same experience?


Log in to reply
 

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