Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Linker errors when building Qt 5.6 for Windows CE 7
Forum Updated to NodeBB v4.3 + New Features

Linker errors when building Qt 5.6 for Windows CE 7

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 469 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.
  • P Offline
    P Offline
    piotr1
    wrote on last edited by
    #1

    Hi,

    I am trying to build Qt 5.6.1 from source for a Win CE 7 target device. I have installed VS2008 and the SDK for my embedded device. From the command prompt I run:

    configure -platform win32-msvc2008 -xplatform wince70embedded-armv4i-msvc2008
    nmake
    

    Configure runs fine, however, I get some linker errors all related to

    numeric_limits<some type>::min or max
    

    Like this:

    moc_qfilesystemwatcher_polling_p.obj : error LNK2001: unresolved external symbol
     "__declspec(dllimport) public: static __int64 __cdecl std::numeric_limits<__int
    64>::min(void)" (__imp_?min@?$numeric_limits@_J@std@@SA_JXZ)
    moc_qfilesystemwatcher_win_p.obj : error LNK2001: unresolved external symbol "__
    declspec(dllimport) public: static __int64 __cdecl std::numeric_limits<__int64>:
    :min(void)" (__imp_?min@?$numeric_limits@_J@std@@SA_JXZ)
    qmimetypeparser.obj : error LNK2001: unresolved external symbol "__declspec(dlli
    mport) public: static __int64 __cdecl std::numeric_limits<__int64>::min(void)" (
    __imp_?min@?$numeric_limits@_J@std@@SA_JXZ)
    
    

    I have tried to build with

    DEFINES += NOMINMAX
    

    in the qmake.conf files, as I read that this might be related to some windows macro issues. But no luck. Same errors.

    Can someone please give me advice how to solve this?

    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