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. Unresolved external: qt_wince_calloc
Qt 6.11 is out! See what's new in the release blog

Unresolved external: qt_wince_calloc

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.3k 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
    stottle
    wrote on last edited by
    #1

    I'm trying to build qt5 alpha for wince. I'm stuck building gui from qtbase, where it is failing with an unresolved external when trying to link.

    @
    link /LIBPATH:"c:\Qt5a\src\qtbase\lib" /LIBPATH:"c:\Qt5a\src\qtbase\lib" /LIBPATH:"c:\Qt5a\src\qtbase\lib" /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /INCREMENTAL:NO /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB /DLL /SAFESEH:NO /VERSION:5.00 /OUT:....\lib\QtGui5.dll @C:\Users\build\AppData\Local\Temp\nm9671.tmp
    Creating library ....\lib\QtGui5.lib and object ....\lib\QtGui5.ex[
    qpaintengine_raster.obj : error LNK2019: unresolved external symbol qt_wince_calloc referenced in function "public: void __cdecl QClipData::initialize(void)" (?initialize@QClipData@@QAAXXZ)
    ....\lib\QtGui5.dll : fatal error LNK1120: 1 unresolved externals
    @

    qt_wince_calloc is part of qfunctions_wince.cpp, which is build as part of corelib/kernel, and I can see qfunctions_wince.obj in corelib/tmp/obj/release_shared. But when linking the gui folder structure it isn't finding it.

    If I try just copying the file into the gui/tmp/obj/release_shared folder and adding the .obj gui's makefile, I get a bunch of link errors for already defined functions (not qt_wince_calloc), plus some unresolved externals from other parts of qfunctions_wince.obj.

    Any suggestions for how to get this working?

    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