[Partly Solved] Error Compiling Qt5.5 with MinGW 5.1: ActiveQt: Redefined GUID's



  • Evening.

    I try to compile Qt 5.5.0 from Source (todays Final Release).

    OS: Windows 10 Build 10159 x64
    Windows 10 SDK installed: Yes
    DirectX 10 SDK installed (for backwards compatibility with Win 7 / Win XP): Yes
    Compiler: MinGW x86 - 5.1.0 - Posix-Dwarf - RT V4 - Revison 0 - (latest Version from MinGW64 Project)

    Config Parameter for Qt Configure:
    c:\qt5src\configure -opensource -confirm-license -prefix d:\qt-build -skip webengine -opengl desktop -debug-and-release -developer-build -icu -I C:\icu32bit\include -L C:\icu32bit\lib -openssl -I C:\opensslx32\include -L c:\opensslx32\lib -platform win32-g++ -nomake examples -nomake tests

    Error:

    C:/mingw32/i686-w64-mingw32/include/activscp.h:179:1: note: 'const GUID IID_IActiveScriptParse32' previously defined here
     DEFINE_GUID(IID_IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:1741:1: error: redefinition of 'const GUID IID_IActiveScriptParse64'
     DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97,0xea, 0xd5,0x2c,0xb4,0xd7,0x6d,0x17);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:180:1: note: 'const GUID IID_IActiveScriptParse64' previously defined here
     DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97, 0xea, 0xd5, 0x2c, 0xb4, 0xd7, 0x6d, 0x17);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:1926:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedureOld32'
     DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93,0x28, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:183:1: note: 'const GUID IID_IActiveScriptParseProcedureOld32' previously defined here
     DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93, 0x28, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2035:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedureOld64'
     DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba,0x12, 0x22,0xd1,0x5d,0x88,0xdc,0x5c);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:184:1: note: 'const GUID IID_IActiveScriptParseProcedureOld64' previously defined here
     DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba, 0x12, 0x22, 0xd1, 0x5d, 0x88, 0xdc, 0x5c);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2154:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure32'
     DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93,0x2f, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:185:1: note: 'const GUID IID_IActiveScriptParseProcedure32' previously defined here
     DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93, 0x2f, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2266:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure64'
     DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92,0x00, 0x43,0x8b,0x72,0x89,0x0b,0x6a);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:186:1: note: 'const GUID IID_IActiveScriptParseProcedure64' previously defined here
     DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92, 0x00, 0x43, 0x8b, 0x72, 0x89, 0x0b, 0x6a);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2388:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure2_32'
     DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3,0xa8, 0x00,0xa0,0xc9,0x11,0xe8,0xb2);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:187:1: note: 'const GUID IID_IActiveScriptParseProcedure2_32' previously defined here
     DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3, 0xa8, 0x00, 0xa0, 0xc9, 0x11, 0xe8, 0xb2);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2471:1: error: redefinition of 'const GUID IID_IActiveScriptParseProcedure2_64'
     DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f,0x54, 0x76,0xda,0xb7,0x04,0x7b,0x28);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:188:1: note: 'const GUID IID_IActiveScriptParseProcedure2_64' previously defined here
     DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f, 0x54, 0x76, 0xda, 0xb7, 0x04, 0x7b, 0x28);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2564:1: error: redefinition of 'const GUID IID_IActiveScriptEncode'
     DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:181:1: note: 'const GUID IID_IActiveScriptEncode' previously defined here
     DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2711:1: error: redefinition of 'const GUID IID_IActiveScriptHostEncode'
     DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7,0x47, 0x00,0xc0,0x4f,0xc2,0xb0,0x85);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:182:1: note: 'const GUID IID_IActiveScriptHostEncode' previously defined here
     DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7, 0x47, 0x00, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2805:1: error: redefinition of 'const GUID IID_IBindEventHandler'
     DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:196:1: note: 'const GUID IID_IBindEventHandler' previously defined here
     DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93, 0x36, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:2893:1: error: redefinition of 'const GUID IID_IActiveScriptStats'
     DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93,0x3c, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:197:1: note: 'const GUID IID_IActiveScriptStats' previously defined here
     DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93, 0x3c, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:3026:1: error: redefinition of 'const GUID IID_IActiveScriptProperty'
     DEFINE_GUID(IID_IActiveScriptProperty, 0x4954e0d0, 0xfbc7, 0x11d1, 0x84,0x10, 0x00,0x60,0x08,0xc3,0xfb,0xfc);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:198:1: note: 'const GUID IID_IActiveScriptProperty' previously defined here
     DEFINE_GUID(IID_IActiveScriptProperty, 0x4954E0D0, 0xFBC7, 0x11D1, 0x84, 0x10, 0x00, 0x60, 0x08, 0xC3, 0xFB, 0xFC);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:3142:1: error: redefinition of 'const GUID IID_ITridentEventSink'
     DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x06ef, 0x11d2, 0x84,0x15, 0x00,0x60,0x08,0xc3,0xfb,0xfc);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:199:1: note: 'const GUID IID_ITridentEventSink' previously defined here
     DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x6ef, 0x11d2, 0x84, 0x15, 0x00, 0x60, 0x08, 0xc3, 0xfb, 0xfc);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:3236:1: error: redefinition of 'const GUID IID_IActiveScriptGarbageCollector'
     DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2,0xa0, 0x00,0x10,0x4b,0xd3,0x50,0x90);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:200:1: note: 'const GUID IID_IActiveScriptGarbageCollector' previously defined here
     DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2, 0xa0, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:3321:1: error: redefinition of 'const GUID IID_IActiveScriptSIPInfo'
     DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2,0xa3, 0x00,0x10,0x4b,0xd3,0x50,0x90);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:201:1: note: 'const GUID IID_IActiveScriptSIPInfo' previously defined here
     DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:3406:1: error: redefinition of 'const GUID IID_IActiveScriptSiteTraceInfo'
     DEFINE_GUID(IID_IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98,0xb0, 0x78,0x06,0x21,0x88,0x85,0x69);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:190:1: note: 'const GUID IID_IActiveScriptSiteTraceInfo' previously defined here
     DEFINE_GUID(IID_IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98, 0xb0, 0x78, 0x6, 0x21, 0x88, 0x85, 0x69);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:3506:1: error: redefinition of 'const GUID IID_IActiveScriptTraceInfo'
     DEFINE_GUID(IID_IActiveScriptTraceInfo, 0xc35456e7, 0xbebf, 0x4a1b, 0x86,0xa9, 0x24,0xd5,0x6b,0xe8,0xb3,0x69);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:202:1: note: 'const GUID IID_IActiveScriptTraceInfo' previously defined here
     DEFINE_GUID(IID_IActiveScriptTraceInfo, 0xC35456E7, 0xBEBF, 0x4a1b, 0x86, 0xA9, 0x24, 0xD5, 0x6B, 0xE8, 0xB3, 0x69);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:3611:1: error: redefinition of 'const GUID IID_IActiveScriptStringCompare'
     DEFINE_GUID(IID_IActiveScriptStringCompare, 0x58562769, 0xed52, 0x42f7, 0x84,0x03, 0x49,0x63,0x51,0x4e,0x1f,0x11);
     ^
    C:/mingw32/i686-w64-mingw32/include/activscp.h:206:1: note: 'const GUID IID_IActiveScriptStringCompare' previously defined here
     DEFINE_GUID(IID_IActiveScriptStringCompare, 0x58562769, 0xED52, 0x42f7, 0x84, 0x03, 0x49, 0x63, 0x51, 0x4E, 0x1F, 0x11);
     ^
    Makefile.Release:1874: recipe for target '.obj/release/qaxscript.o' failed
    mingw32-make[5]: *** [.obj/release/qaxscript.o] Error 1
    mingw32-make[5]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt/container'
    Makefile:52: recipe for target 'release-all' failed
    mingw32-make[4]: *** [release-all] Error 2
    mingw32-make[4]: *** Waiting for unfinished jobs....
    cd qtserialport\ && ( if not exist Makefile D:\xsdf32bit\qtbase\bin\qmake C:\qt5src\qtserialport\qtserialport.pro -o Makefile ) && mingw32-make -f Makefile
    mingw32-make[5]: Entering directory 'D:/xsdf32bit/qtimageformats/src/plugins/imageformats/dds'
    mingw32-make -f Makefile.Debug all
    mingw32-make[6]: Entering directory 'D:/xsdf32bit/qtimageformats/src/plugins/imageformats/dds'
    mingw32-make[6]: Nothing to be done for 'all'.
    mingw32-make[6]: Leaving directory 'D:/xsdf32bit/qtimageformats/src/plugins/imageformats/dds'
    mingw32-make -f Makefile.Release all
    mingw32-make[5]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt/container'
    Makefile:38: recipe for target 'debug-all' failed
    mingw32-make[4]: *** [debug-all] Error 2
    mingw32-make[4]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt/container'
    Makefile:69: recipe for target 'sub-container-make_first-ordered' failed
    mingw32-make[3]: *** [sub-container-make_first-ordered] Error 2
    mingw32-make[3]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src/activeqt'
    Makefile:39: recipe for target 'sub-activeqt-make_first-ordered' failed
    mingw32-make[2]: *** [sub-activeqt-make_first-ordered] Error 2
    mingw32-make[2]: Leaving directory 'D:/xsdf32bit/qtactiveqt/src'
    Makefile:41: recipe for target 'sub-src-make_first' failed
    mingw32-make[1]: *** [sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'D:/xsdf32bit/qtactiveqt'
    makefile:322: recipe for target 'module-qtactiveqt-make_first' failed
    mingw32-make: *** [module-qtactiveqt-make_first] Error 2
    mingw32-make: *** Waiting for unfinished jobs....
    

    Another Problem is:
    As soon the XMLParser has been compiled, mingw32-make just stopped. No Error. Dont know if this is related with the above Error!?

    Thanks
    Oliver

    EDIT01:
    A few Days ago, I did a Test Compile with the 5.5 RC Source Code and the same Config Parameters as above: Ended perfectly fine without any Error Message.



  • I am now compiling without ActiveQt. Tomorrow I can tell if everything is working or not.

    Good night Ladys Gents
    Oliver



  • Did you ever get the ActiveQt module to build? I am getting the same type errors with both branch 5.5 and 5.5.0 using MinGW x86_64-4.9.2-release-win32-seh-rt_v4-rev3 toolchain. It builds if i skip the ActiveQt module. 5.4.2 builds for me without issue.
    Paul



  • Evening.

    I knew I forgot to update something.

    No. I had no Luck yet to compile the Qt 5.5.0 x86 Version in any combination of:

    • MinGW 4.9.2 Posix Dwarf
    • MinGW 5.1.0 Posix Dwarf

    Right now, I am using Qt 5.5.0 without ActiveQt.

    Next weekend I have a little time. Then I will test, if I have the same Error while building Qt 5.5.0 x64 with MinGW 4.9.2 and 5.1.0 (both Posix SEH, both latest available revision from the MinGW-64 Project Site on Sourceforge).
    Latest Sunday evening (German GMT Timezone) I can say more.

    Like I wrote above: The really strange thing is: I could compile Qt 5.5 from a RC Version of the SourceCode for x86 and x64.
    Well, I have not used ActiveQt ever since, so no need from my Side to compile it for the moment.

    I will file a Bug Report on Jira sometime next week - if no one has already done so. Maybe they could made some changes for Qt 5.5.1 in September if possible.

    Oliver



  • OK, good to know that it's not just me. I'm going to see if it builds with vc10 64bit tonight. Thanks for the update!
    Paul



  • Morning.

    A little sooner than I thought, I have some Test Results.
    Both Tests are for 64-bit.

    Config Parameter:
    c:\qt5src\configure -opensource -confirm-license -prefix d:\qt-build-64bit -skip webengine -skip webkit -opengl desktop -debug-and-release -developer-build -nomake examples -nomake tests
    ['QMAKESPEC win32-g++' is defined in the System and User Environment Settings]

    • MinGW 5.1.0 Posix SEH RT_V4 Revision 0:
      Result:
      'libQtAxBase.a' get build. After that, the same "... previously defined here ..." Errors like in Post 1.

    • MinGW 4.9.2 Posix SEH RT_V4 Revision 3:

    I did not even come that far. The Compiler stops with Error 2 while trying to build
    'qtbase\src......\qzip' -> recipe failed.

    So no Luck with Building a 64-bit Version of Qt.

    And another Strange thing I experienced today:
    The x86 Version I compiled without ActiveQt, gives me an unlogical Error.

    When I build my own Qt Project in Release Mode and I try to run it: Within Qt Creator it crashs with Error 255.
    When trying to start it manually, it says "Entry Point ... not Found" - not in a DLL but in my Executable itself.

    I am not sure if this is somehow related with ActiveQt missing (should not be the case, as I dont use it) or if it is another Problem with one of the other Warnings of Redefinitions I get when building Qt 5.5.0 with MinGW 4.9.2 / 5.1.0 x86.

    I never had such Problems before from Qt 5.2.0 (the First Qt Version I used) upto Qt 5.4.1. Qt 5.4.2 is untested.

    Have a sunny weekend
    Oliver



  • I try the 2 same x64 tests again. This time I added the '-no-warnings-are-errors' parameter to Qt Configure.
    This will ignore the Redefinition warnings and will compile the stuff. Lets see how far I come this time. Updates sometime this weekend.



  • Alright. Again quicker as I thought, here are final results.

    Configure Parameter:
    c:\qt5src\configure -opensource -confirm-license -prefix d:\qt-build-64bit -skip webengine -skip webkit -opengl dynamic -debug-and-release -developer-build -nomake examples -nomake tests -no-warnings-are-errors

    • x86_64 MinGW 5.1.0 Posix SEH RT_V4 Revision 0:
      No Luck with compiling all of ActiveQt. Only 'libQt5AxBase.a' and 'libQt5AxBased.a' has been compiled. The other ActiveQt Files give the same 'already defined here' Error as mentioned in Post Number 1.
      And: It always stops as soon the XMLParser has been compiled. I have to restart 'mingw32-make" to get qdeclarative and the rest compiled.

    • x86_64 MinGW 4.9.2 Posix SEH RT_V4 Revision 3:
      The same Error as with MinGW 5.1.0

    I also moved the Path for MinGW64 to different positions in the Environment Variables -> Path Settings.

    I have absolutely no Idea how I can build ActiveQt.
    Qt 5.5.0 gives around 100 Warnings about deprecated Functions / Parameters, unused Variables, redefined Definitions etc. etc. for couple of Modules.
    It is worse than ever. They have to fix a lot of Stuff in 5.5.1
    ++++
    EDIT01: The same Problems exists with the x86 Compiler Versions. And with Windows 7 SP1 x64 (fully up2date).
    ++++

    @ All: If anyone has an Idea: I am happy to hear anything that could probably solve the Problem.
    And No: Using a precompiled Package is no Solution in my case. I need OpenSSL Support.

    Happy weekend everyone :)
    Oliver
    ++++
    EDIT02:
    The 'Fix' for MinGW has obviously fixed ahm nothing:
    fix build with MinGW header version > 3.0 / Link to Qt Code Review
    ++++



  • Alright. I created a
    Quick and Dirty Bug Report in Jira



  • I resolved removing several lines into a header file in GCC folders.
    I don't remember the site and I haven't the link, but I still have to patch file:

    From: =?UTF-8?q?Jonas=20K=C3=BCmmerlin?= <rgcjonas@gmail.com>
    Date: Mon, 16 Mar 2015 14:46:36 +0100
    Subject: [PATCH] activscp.idl: Remove duplicate IID_* definitions
    
    ---
     mingw-w64-headers/include/activscp.h   | 34 ++++------------------------------
     mingw-w64-headers/include/activscp.idl | 26 --------------------------
     2 files changed, 4 insertions(+), 56 deletions(-)
    
    diff --git a/mingw-w64-headers/include/activscp.h b/mingw-w64-headers/include/activscp.h
    index 847290e..1e0aa11 100644
    --- a/mingw-w64-headers/include/activscp.h
    +++ b/mingw-w64-headers/include/activscp.h
    @@ -175,35 +175,9 @@ extern "C" {
     DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
     DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
     DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    -DEFINE_GUID(IID_IActiveScript, 0xbb1a2ae1, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    -DEFINE_GUID(IID_IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    -DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97, 0xea, 0xd5, 0x2c, 0xb4, 0xd7, 0x6d, 0x17);
    -DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    -DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7, 0x47, 0x00, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);
    -DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93, 0x28, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
    -DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba, 0x12, 0x22, 0xd1, 0x5d, 0x88, 0xdc, 0x5c);
    -DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93, 0x2f, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
    -DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92, 0x00, 0x43, 0x8b, 0x72, 0x89, 0x0b, 0x6a);
    -DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3, 0xa8, 0x00, 0xa0, 0xc9, 0x11, 0xe8, 0xb2);
    -DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f, 0x54, 0x76, 0xda, 0xb7, 0x04, 0x7b, 0x28);
    -DEFINE_GUID(IID_IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    -DEFINE_GUID(IID_IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98, 0xb0, 0x78, 0x6, 0x21, 0x88, 0x85, 0x69);
    -DEFINE_GUID(IID_IActiveScriptSiteWindow, 0xd10f6761, 0x83e9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    -DEFINE_GUID(IID_IActiveScriptSiteInterruptPoll, 0x539698a0, 0xcdca, 0x11cf, 0xa5, 0xeb, 0x00, 0xaa, 0x00, 0x47, 0xa0, 0x63);
    -DEFINE_GUID(IID_IActiveScriptSiteUIControl, 0xaedae97e, 0xd7ee, 0x4796, 0xb9, 0x60, 0x7f, 0x9, 0x2a, 0xe8, 0x44, 0xab);
    -DEFINE_GUID(IID_IActiveScriptError,   0xeae1ba61, 0xa4ed, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
    -DEFINE_GUID(IID_IActiveScriptError64, 0xb21fb2a1, 0x5b8f, 0x4963, 0x8c, 0x21, 0x21, 0x45, 0x0f, 0x84, 0xed, 0x7f);
    -DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93, 0x36, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
    -DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93, 0x3c, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);
    -DEFINE_GUID(IID_IActiveScriptProperty, 0x4954E0D0, 0xFBC7, 0x11D1, 0x84, 0x10, 0x00, 0x60, 0x08, 0xC3, 0xFB, 0xFC);
    -DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x6ef, 0x11d2, 0x84, 0x15, 0x00, 0x60, 0x08, 0xc3, 0xfb, 0xfc);
    -DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2, 0xa0, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
    -DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
    -DEFINE_GUID(IID_IActiveScriptTraceInfo, 0xC35456E7, 0xBEBF, 0x4a1b, 0x86, 0xA9, 0x24, 0xD5, 0x6B, 0xE8, 0xB3, 0x69);
     DEFINE_GUID(OID_VBSSIP, 0x1629f04e, 0x2799, 0x4db5, 0x8f, 0xe5, 0xac, 0xe1, 0x0f, 0x17, 0xeb, 0xab);
     DEFINE_GUID(OID_JSSIP,  0x6c9e010, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
     DEFINE_GUID(OID_WSFSIP, 0x1a610570, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);
    -DEFINE_GUID(IID_IActiveScriptStringCompare, 0x58562769, 0xED52, 0x42f7, 0x84, 0x03, 0x49, 0x63, 0x51, 0x4E, 0x1F, 0x11);
     #endif
     
     #define SCRIPTITEM_ISVISIBLE 0x00000002
    @@ -956,7 +930,7 @@ IActiveScriptSiteWindow : public IUnknown
             HWND *phwnd) = 0;
     
         virtual HRESULT STDMETHODCALLTYPE EnableModeless(
    -        WINBOOL fEnable) = 0;
    +        BOOL fEnable) = 0;
     
     };
     #ifdef __CRT_UUID_DECL
    @@ -985,7 +959,7 @@ typedef struct IActiveScriptSiteWindowVtbl {
     
         HRESULT (STDMETHODCALLTYPE *EnableModeless)(
             IActiveScriptSiteWindow* This,
    -        WINBOOL fEnable);
    +        BOOL fEnable);
     
         END_INTERFACE
     } IActiveScriptSiteWindowVtbl;
    @@ -1017,7 +991,7 @@ static FORCEINLINE ULONG IActiveScriptSiteWindow_Release(IActiveScriptSiteWindow
     static FORCEINLINE HRESULT IActiveScriptSiteWindow_GetWindow(IActiveScriptSiteWindow* This,HWND *phwnd) {
         return This->lpVtbl->GetWindow(This,phwnd);
     }
    -static FORCEINLINE HRESULT IActiveScriptSiteWindow_EnableModeless(IActiveScriptSiteWindow* This,WINBOOL fEnable) {
    +static FORCEINLINE HRESULT IActiveScriptSiteWindow_EnableModeless(IActiveScriptSiteWindow* This,BOOL fEnable) {
         return This->lpVtbl->EnableModeless(This,fEnable);
     }
     #endif
    @@ -1035,7 +1009,7 @@ void __RPC_STUB IActiveScriptSiteWindow_GetWindow_Stub(
         DWORD* pdwStubPhase);
     HRESULT STDMETHODCALLTYPE IActiveScriptSiteWindow_EnableModeless_Proxy(
         IActiveScriptSiteWindow* This,
    -    WINBOOL fEnable);
    +    BOOL fEnable);
     void __RPC_STUB IActiveScriptSiteWindow_EnableModeless_Stub(
         IRpcStubBuffer* This,
         IRpcChannelBuffer* pRpcChannelBuffer,
    diff --git a/mingw-w64-headers/include/activscp.idl b/mingw-w64-headers/include/activscp.idl
    index be17c66..c979b53 100755
    --- a/mingw-w64-headers/include/activscp.idl
    +++ b/mingw-w64-headers/include/activscp.idl
    @@ -23,35 +23,9 @@ cpp_quote("")
     cpp_quote("DEFINE_GUID(CATID_ActiveScript, 0xf0b7a1a1, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
     cpp_quote("DEFINE_GUID(CATID_ActiveScriptParse, 0xf0b7a1a2, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
     cpp_quote("DEFINE_GUID(CATID_ActiveScriptEncode, 0xf0b7a1a3, 0x9847, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScript, 0xbb1a2ae1, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParse32, 0xbb1a2ae2, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParse64, 0xc7ef7658, 0xe1ee, 0x480e, 0x97, 0xea, 0xd5, 0x2c, 0xb4, 0xd7, 0x6d, 0x17);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptEncode, 0xbb1a2ae3, 0xa4f9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptHostEncode, 0xbee9b76e, 0xcfe3, 0x11d1, 0xb7, 0x47, 0x00, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParseProcedureOld32, 0x1cff0050, 0x6fdd, 0x11d0, 0x93, 0x28, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParseProcedureOld64, 0x21f57128, 0x08c9, 0x4638, 0xba, 0x12, 0x22, 0xd1, 0x5d, 0x88, 0xdc, 0x5c);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParseProcedure32, 0xaa5b6a80, 0xb834, 0x11d0, 0x93, 0x2f, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParseProcedure64, 0xc64713b6, 0xe029, 0x4cc5, 0x92, 0x00, 0x43, 0x8b, 0x72, 0x89, 0x0b, 0x6a);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParseProcedure2_32, 0x71ee5b20, 0xfb04, 0x11d1, 0xb3, 0xa8, 0x00, 0xa0, 0xc9, 0x11, 0xe8, 0xb2);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptParseProcedure2_64, 0xfe7c4271, 0x210c, 0x448d, 0x9f, 0x54, 0x76, 0xda, 0xb7, 0x04, 0x7b, 0x28);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptSiteTraceInfo, 0x4b7272ae, 0x1955, 0x4bfe, 0x98, 0xb0, 0x78, 0x6, 0x21, 0x88, 0x85, 0x69);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptSiteWindow, 0xd10f6761, 0x83e9, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptSiteInterruptPoll, 0x539698a0, 0xcdca, 0x11cf, 0xa5, 0xeb, 0x00, 0xaa, 0x00, 0x47, 0xa0, 0x63);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptSiteUIControl, 0xaedae97e, 0xd7ee, 0x4796, 0xb9, 0x60, 0x7f, 0x9, 0x2a, 0xe8, 0x44, 0xab);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptError,   0xeae1ba61, 0xa4ed, 0x11cf, 0x8f, 0x20, 0x00, 0x80, 0x5f, 0x2c, 0xd0, 0x64);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptError64, 0xb21fb2a1, 0x5b8f, 0x4963, 0x8c, 0x21, 0x21, 0x45, 0x0f, 0x84, 0xed, 0x7f);")
    -cpp_quote("DEFINE_GUID(IID_IBindEventHandler, 0x63cdbcb0, 0xc1b1, 0x11d0, 0x93, 0x36, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptStats, 0xb8da6310, 0xe19b, 0x11d0, 0x93, 0x3c, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptProperty, 0x4954E0D0, 0xFBC7, 0x11D1, 0x84, 0x10, 0x00, 0x60, 0x08, 0xC3, 0xFB, 0xFC);")
    -cpp_quote("DEFINE_GUID(IID_ITridentEventSink, 0x1dc9ca50, 0x6ef, 0x11d2, 0x84, 0x15, 0x00, 0x60, 0x08, 0xc3, 0xfb, 0xfc);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptGarbageCollector, 0x6aa2c4a0, 0x2b53, 0x11d4, 0xa2, 0xa0, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptSIPInfo, 0x764651d0, 0x38de, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptTraceInfo, 0xC35456E7, 0xBEBF, 0x4a1b, 0x86, 0xA9, 0x24, 0xD5, 0x6B, 0xE8, 0xB3, 0x69);")
     cpp_quote("DEFINE_GUID(OID_VBSSIP, 0x1629f04e, 0x2799, 0x4db5, 0x8f, 0xe5, 0xac, 0xe1, 0x0f, 0x17, 0xeb, 0xab);")
     cpp_quote("DEFINE_GUID(OID_JSSIP,  0x6c9e010, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
     cpp_quote("DEFINE_GUID(OID_WSFSIP, 0x1a610570, 0x38ce, 0x11d4, 0xa2, 0xa3, 0x00, 0x10, 0x4b, 0xd3, 0x50, 0x90);")
    -cpp_quote("DEFINE_GUID(IID_IActiveScriptStringCompare, 0x58562769, 0xED52, 0x42f7, 0x84, 0x03, 0x49, 0x63, 0x51, 0x4E, 0x1F, 0x11);")
     cpp_quote("#endif")
     cpp_quote("")
     cpp_quote("#define SCRIPTITEM_ISVISIBLE 0x00000002")
    -- 
    2.1.0```


  • Morning.

    The Bug was closed as "Out Of Scope" - newer Compilers are not officially supported. So Digia sees no reason to fix their Stuff.

    I installed the Compiler from this precompiled Package:
    "qt-opensource-windows-x86-mingw492-5.5.0.exe"
    Available here and I finally was able to build the whole Package including all Examples. First I had to recompile OpenSSL and ICU55 of course.

    For the x86_64 Compiler Variant: For the lack of available time, I have not looked yet into a working x86_64 Compiler.

    Oliver



  • Thanks for the update, Oliver. I'll give this 64bit toolchain a try, unless you already have:
    gcc version 4.9.2 (x86_64-posix-seh-rev1, Built by MinGW-W64 project)
    I'll let you know if I have any success.
    Paul

    Edit: Build with that toolchain was successful.



  • @Paul-H.

    Thanks for the Update :) This one worked for me on older Qt Versions very well. It's good to know that it still does what it should.



  • @MeerMusik
    I found an alternative solution to the macro duplication bug in activscp.h that appears to work with the current version of MinGW's GCC5.1. based on an older work around.

    Since the only file that includes activscp.h is .\qt-5.5.0\qtactiveqt\src\activeqt\container\qaxscript.cpp
    and since the latest gcc major release is 4.0
    I modified line 51 as follows :
    //#if defined(Q_CC_GNU) && __MINGW64_VERSION_MAJOR == 3 && __MINGW64_VERSION_MINOR > 0
    #if defined(Q_CC_GNU) && __MINGW64_VERSION_MAJOR >= 3 && __MINGW64_VERSION_MINOR >= 0
    // Workaround for mingw-w64 bug #464
    // See https://sourceforge.net/p/mingw-w64/bugs/464/

    Hope this helps



  • @BK_Broiler

    Thanks for finding the solution ! Though, I would rather recommend the following:

    #if defined(Q_CC_GNU) && (__MINGW64_VERSION_MAJOR == 3 && __MINGW64_VERSION_MINOR > 0 || __MINGW64_VERSION_MAJOR >= 4)

    DId you submit this on gerrit ?

    edit: I submitted it on Gerrit : https://codereview.qt-project.org/#/c/122421/



  • Morning.

    Thanks @BK_Broiler for the Hint. Too late for me as I have to Switch to MSVC 2015 right now. For external reasons [dependencies]. But hopefully that will help other People :)

    Oliver


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.