Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 4.7.0 static build for wince
Forum Updated to NodeBB v4.3 + New Features

Qt 4.7.0 static build for wince

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sergey.pakhandrin
    wrote on last edited by
    #1

    Hi!

    I can't do a static build of Qt 4.7.0 for WinCE. First I copy Qt 4.7.0 wince sources to C:\Qt\4.7.0_wince Run a configure with params: -platform win32-msvc2008 -xplatform wincewm60professional-msvc2008. Then setcepath.bat for wincewm60professional-msvc2008 and then nmake. Everything was alright.

    Then I need to do a static version of Qt's libs. How should I do this? I create another Qtdir with the same sources of Qt 4.7.0 wince in C:\Qt\4.7.0_wince_static Run a configure with params: -release -nomake examples -nomake demos -no-qt3support -no-openssl -no-opengl -no-webkit -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite -platform win32-msvc2008 -xplatform wincewm60professional-msvc2008 -qt-libjpeg -qt-libpng -qt-gif -static

    Then setcepaths.bat for wincewm60professional-msvc2008 But on nmake after 20mins I got an error:

    Generating Code...
    link /LIBPATH:"c:\Qt\4.7.0_wince_static\lib" /LIBPATH:"c:\Qt\4.7.0_wince
    _static\lib" /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /INCREMENTAL:NO /SUBSYSTEM:WINDO
    WSCE,5.02 /MACHINE:THUMB /OUT:....\bin\qmlviewer.exe @C:\Users\SerGe\AppData\Lo
    cal\Temp\nm315F.tmp
    QtDeclarative.lib(qdeclarativevaluetype.obj) : warning LNK4217: locally defined
    symbol ?qt_defaultDpi@@YAHXZ (int __cdecl qt_defaultDpi(void)) imported in funct
    ion "public: float __cdecl QDeclarativeFontValueType::pointSize(void)const " (?p
    ointSize@QDeclarativeFontValueType@@QBAMXZ)
    QtGui.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol getenv refere
    nced in function jinit_memory_mgr
    ....\bin\qmlviewer.exe : fatal error LNK1120: 1 unresolved externals
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\ce\bin\x86_arm\link.EXE"' : return code '0x460'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\bin\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    What's wrong? Please help me to solve this problem. Thanks in advance!!!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved