Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5 vc12 64 build with webkit giving unresolved for WebKit::WebProcessMainQt
Forum Updated to NodeBB v4.3 + New Features

Qt5 vc12 64 build with webkit giving unresolved for WebKit::WebProcessMainQt

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 1.9k 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
    StaticPhilly
    wrote on last edited by
    #1

    Evening all,

    when building Qt 5.1 with webkit on windows using vc 2012 I keep getting the following unresolved.
    if I skip over building QtWebProcess.exe then it continues and builds fine

    does anyone have any idea what the cause of this could be?

    configure:
    configure -static -release -opensource -openssl -icu -prefix C:\Development\Qt
    @MainQt.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl WebKit::WebProcessMainQt(class QGuiApplication *)" (_imp?WebProcessMainQt@WebKit@@YAHPEAVQGuiApplication@@@Z) referenced in function main
    MainQt.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl WebKit::initializeWebKitWidgets(void)" (_imp?initializeWebKitWidgets@WebKit@@YAXXZ) referenced in function main
    ....\bin\QtWebProcess.exe : fatal error LNK1120: 2 unresolved externals
    jom: C:\Development\Qt\src\qtwebkit\Source\WebKit2\Makefile.WebProcess.Release [
    ....\bin\QtWebProcess.exe] Error 1120
    jom: C:\Development\Qt\src\qtwebkit\Source\WebKit2\Makefile.WebProcess [release]
    Error 2
    jom: C:\Development\Qt\src\qtwebkit\Source\Makefile.QtWebKit [sub-WebKit2-WebPro
    cess-pro-make_first-ordered] Error 2
    jom: C:\Development\Qt\src\qtwebkit\Makefile [sub-Source-QtWebKit-pro-make_first
    -ordered] Error 2
    jom: C:\Development\Qt\src\Makefile [module-qtwebkit-make_first] Error 2@

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pszalanski
      wrote on last edited by
      #2

      I have the exact same error. I noticed that the static release build of WebProcessMainQt exports the missing symbol, whereas the debug build does not. The same thing goes for InitWebKitQt.lib.

      I do not understand why building release or debug should influence if a symbol is exported or not. This is very odd. I looked through the .pro files and generated Makefiles and could not find any clue.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        huajin
        wrote on last edited by
        #3

        do you resolved the error?
        i have the same error.

        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