Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Link probleme: error LNK2019: unresolved external symbol "__declspec(dllimport) public:

Link probleme: error LNK2019: unresolved external symbol "__declspec(dllimport) public:

Scheduled Pinned Locked Moved Unsolved German
1 Posts 1 Posters 790 Views
  • 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
    Galilio
    wrote on last edited by
    #1

    Hallo,
    ich kriege beim migrieren von einen alten Projekt "Qt4" zu Qt5 immer einen Links Problem in der Art:

    3> : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QSizePolicy::QSizePolicy(enum QSizePolicy::Policy,enum QSizePolicy::Policy,enum QSizePolicy::ControlType)" (__imp_??0QSizePolicy@@QAE@W4Policy@0@0W4ControlType@0@@Z) referenced in function "public: void __thiscall Ui_EFIToolEnhancedClass::setupUi(class QMainWindow *)" (?setupUi@Ui_EFIToolEnhancedClass@@QAEXPAVQMainWindow@@@Z)
    3> : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall QSizePolicy::setHeightForWidth(bool)" (__imp_?setHeightForWidth@QSizePolicy@@QAEX_N@Z) referenced in function "public: void __thiscall Ui_EFIToolEnhancedClass::setupUi(class QMainWindow *)" (?setupUi@Ui_EFIToolEnhancedClass@@QAEXPAVQMainWindow@@@Z)
    3> : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall QSizePolicy::hasHeightForWidth(void)const " (__imp_?hasHeightForWidth@QSizePolicy@@QBE_NXZ) referenced in function "public: void __thiscall Ui_EFIToolEnhancedClass::setupUi(class QMainWindow *)" (?setupUi@Ui_EFIToolEnhancedClass@@QAEXPAVQMainWindow@@@Z)
    
    

    Ich habe eigentlich den .pro File mit "QT += widgets" erweitert aber das Link Problem ist gleich geblieben.
    Es handelt sich um eine Visual Studio 2015 mit der Qt5 Plugin.

    Was muss ich noch bei der Link anpassen?

    Danke

    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