Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT 4.8.2 as Static library for Windows CE

QT 4.8.2 as Static library for Windows CE

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k 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.
  • G Offline
    G Offline
    gmgunderground
    wrote on last edited by
    #1

    Hi all, I have built QT 4.8.2 as Static Library, all is done well, but If I try to use those on my VC2008 project I have the following errors. If I use DLL version all is working. I'm going crazy ! I have read all the tutorials, I have set the necessary optiond /MT /MTd .... I have problems only with static compilation of my project (QT static compilation OK). Can someone tell me where I'm wrong?

    Errore 1 error LNK2001: simbolo esterno "private: static class QTextCodec * QString::codecForCStrings" (?codecForCStrings@QString@@0PAVQTextCodec@@A) non risolto AppCFG.obj SNFUN2*
    Errore 2 error LNK2001: simbolo esterno "private: static class QTextCodec * QString::codecForCStrings" (?codecForCStrings@QString@@0PAVQTextCodec@@A) non risolto AppStrings.obj SNFUN2
    Errore 3 error LNK2001: simbolo esterno "private: static class QTextCodec * QString::codecForCStrings" (?codecForCStrings@QString@@0PAVQTextCodec@@A) non risolto ComsCFG.obj SNFUN2
    Errore 4 error LNK2001: simbolo esterno "private: static class QTextCodec * QString::codecForCStrings" (?codecForCStrings@QString@@0PAVQTextCodec@@A) non risolto HeaderCFG.obj SNFUN2
    Errore 5 error LNK2001: simbolo esterno "private: static struct QString::Data QString::shared_null" (?shared_null@QString@@0UData@1@A) non risolto snfun2.obj SNFUN2
    Errore 7 error LNK2001: simbolo esterno "public: static struct QMetaObject const QMainWindow::staticMetaObject" (?staticMetaObject@QMainWindow@@2UQMetaObject@@B) non risolto moc_snfun2.obj SNFUN2
    Errore 6 error LNK2001: simbolo esterno "public: static struct QMetaObject const QObject::staticMetaObject" (?staticMetaObject@QObject@@2UQMetaObject@@B) non risolto snfun2.obj SNFUN2
    Errore 8 error LNK2019: riferimento al simbolo esterno WinMain non risolto nella funzione WinMainCRTStartup corelibc.lib SNFUN2
    Errore 9 fatal error LNK1120: 5 esterni non risolti C:\Documents and Settings\User1\Desktop\GSE\SNFUN2_QT\AdvTPC66ST SNFUN2

    Tank you very much to everyone

    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