Ich verwende cpprest mit Qt Creator 4.2.1 Basierend auf Qt 5.8.0 (MSVC 2015, 32 Bit).Linking Fehler in Dienstprogramm :: Konvertierungen :: to_string_t in qt Schöpfer
Ich habe die .pro
Datei geändert
INCLUDEPATH += C:/cpprest/Release/include
Ich erhalte die folgende Fehlermeldung anzuzeigen:
mainwindow.obj:-1: error: LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string,class std::allocator > __cdecl utility::conversions::to_string_t(class std::basic_string,class std::allocator > const &)" ([email protected]@[email protected]@[email protected][email protected][email protected]@@[email protected][email protected]@@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) referenced in function "class web::uri __cdecl generateOMDBQuery(class std::basic_string,class std::allocator > const &)" ([email protected]@[email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
nach this Antwort muss ich
Treat wchar_t gesetzt war Eingebauter Typ zu Nein in C/C++ -> Sprache.
Bis dahin verstehe ich das für Visual Studios einstellen. Wie kann ich dies in QT Creator setzen?
Keine Import-Bibliothek für dieses Projekt verwendet wird, ist vielleicht der Grund. – AlexanderVX