[Webkit-unassigned] [Bug 91229] New: [Qt] MSVC: unresolved external symbol __DllMainCRTStartup at 12

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 06:08:57 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91229

           Summary: [Qt] MSVC: unresolved external symbol
                    __DllMainCRTStartup at 12
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jocelyn.turcotte at nokia.com
                CC: hausmann at webkit.org, ossy at webkit.org,
                    joel.dillon at codethink.co.uk
            Blocks: 76776


Since the recent build changes in QtWebKit I get this error while linking QtWebKit.

>From my investigations, this seems to happen since there is no more obj files linked into the DLL, only static libraries.
The way the linker usually links to MSVCRT.dll is by looking at linking directives in obj files, which depends if they were compiled with /MD, /MT, etc.

I didn't try out yet to fix it but I'm leaving on vacation and this is the result of my investigation. I guess that forcing the correct libs to the linker or adding an empty .cpp file in api.pri just to carry those options to the linker should do the trick.

This is using the --no-webkit2 switch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list