Important: Please read the Qt Code of Conduct -

Visual Studio 2013 Web Linker Error

  • I'm in the process of evaluating Qt to see if it will work for our project. I'm having trouble just getting a decent install, so this problem may be related to how the product was installed.

    We are using Visual Studio 2013 on Windows and hopefully switching to Visual Studio 2015 ASAP.

    Right now I'm getting a lot of linker errors, mosting arouind QWeb... related classes. For example:

    ui.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWebFrame::addToJavaScriptWindowObject(class QString const &,class QObject *,enum QWebFrame::ValueOwnership)" (_imp?addToJavaScriptWindowObject@QWebFrame@@QEAAXAEBVQString@@PEAVQObject@@W4ValueOwnership@1@@Z) referenced in function "private: void __cdecl UI::addToJavaScript(void)" (?addToJavaScript@UI@@AEAAXXZ)

    There are other problems too which make me think it didn't install correctly. For example, when my computer starts, qt asks me to check for an update and opens two folders on my desktop.

    Anyway, very weird stuff and very little documentation on installing for my environment.

    Any hints on fixing this particular problem or documentation regarding a re-install?