Hi Chris,
So you're saying that I should've provide that -qt-zlib option to configure?
If I do not modify mkspec for g++ on windows I'll get error:
zconf.h cannot be found.
Hi Chris,
So you're saying that I should've provide that -qt-zlib option to configure?
If I do not modify mkspec for g++ on windows I'll get error:
zconf.h cannot be found.
You either use the zlib that is bundled with Qt (-qt-zlib), or you provide your own (-system-zlib) and tell configure where to find it from the command line (-I and -L options). The first option is easier, the second looks like this:
with suitable paths for the location you built/installed zlib. If you specify neither option then the configure (at least on Linux) defaults to system zlib.Qt Code:
configure -system-zlib -I c:\zlib\include -L c:\zlib\libTo copy to clipboard, switch view to plain text mode
Either way, you should not need to edit any of the Qt sources.
When follow your instructions and tried to build qt with following options:
configure.bat -release -platform win32-g++ -opengl desktop -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -skip webkit -nomake examples -nomake tests
and after running mingw32-make
this is the error I'm getting:
In file included from C:/TDM-GCC-64/x86_64-w64-mingw32/include/initguid.h:8:0,
from qaxscript.cpp:61:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/activscp.h:470:1: error: redefinition of 'const GUID IID_IActiveScriptSite' DEFINE_GUID(IID_IActiveScriptSite, 0xdb01a1e3, 0xa42b, 0x11cf, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
^
Any idea what to do with it?
Thanks
So? No idea what to do next?
Why don't you simply download the pre-built Qt 5.5.0 for Windows with mingw 4.9.2 from here? Why do you need to build it from source?
Un effing believable.
ChrisW64 says:
"You already have the source code to build Qt with with any suitably recent GCC suite. What are you waiting for? " - which I just shown that it cannot be built with GCC 5.1
and you are saying:
" why I don't simply download pre-built Qt 5.5.0 for Windows with mingw 4.9.2? "
Because I want to try new functionality provided by GCC 5.1 which is absent in GCC 4.9.2. That's why.
OK, so I missed that point." why I don't simply download pre-built Qt 5.5.0 for Windows with mingw 4.9.2? "
Because I want to try new functionality provided by GCC 5.1 which is absent in GCC 4.9.2. That's why.
You want to live on the bleeding edge, you have to be prepared to shed some of your own blood, not expect the people who are trying to help you to do the bleeding for you. You respond with abuse, you don't get more help in the future. Easy as that.
Please grow up Marry.
Not only you missed my point, you are also *unable* to help even if you wanted to, and you are like little girl who can't take the slightest criticism.
I didn't get any help so far, only mumblings of so called "expert" - one contradicting the other. Is that what you call help?
As a side note, how long was my original post and the consecutive ones that you missed my point? Do you have attention span of a fly?
Last edited by smallB; 24th July 2015 at 20:09.
If you don't need ActiveQt then configure it out of the build entirely. If you do need it then:
http://code.qt.io/cgit/qt/qtactiveqt...f611d99a80b0ce
http://sourceforge.net/p/mingw-w64/bugs/464/
I predict that will not be the only issue. If you want to play with the latest toolchains and and a large library of sources (feature freeze 16th Feb 2015) that pre-date the compiler (released 22 Apr) then you have to accept that there might be small problems like this. Fixes might exist for them but they will not arrive by magic, you have to seek them out in the latest developer version of the library/compiler source or on the dev mailing lists/IRC channels. It really did not take much to find this exact problem, a Qt workaround, and a reference to the MinGW bug on the front page of the ActiveQt Git repo. The problem itself is not in Qt.
BTW: Personal attacks will not help your cause, and might just get you banned.
Last edited by ChrisW67; 24th July 2015 at 22:23.
@ChrisW67
Thank you. I really appreciate your answer and I'm really grateful for it.
As for personal attacks, just to point you out (and others who read this thread) that it was @d_stranz who actually attacked me personally and to which personal attack I've simply replied. It was not me who started attacking personally other members of this community.
If you go through posts exchange between me and you, surely you don't see me attacking you or behaving in any other way unpleasantly towards you, am I right?
And as a side note, although as much as I do appreciate your help, perhaps in the future instead of:
"You already have the source code to build Qt with with any suitably recent GCC suite. What are you waiting for? "
you should reply as you did in your last post, which occurred after I've pointed out that this^^^ is not really the case, so instead of the above you should rather say:
"I predict that will not be the only issue."
Thank you.
Last edited by smallB; 25th July 2015 at 12:51.
I could only possibly respond as I did in my last after you provided information about how Qt was failing to build with GCC 5.1 (your post #5). Your earlier posts had to do with failing to configure the build to match your environment, to which I provided suitable guidance.
D_Stranz asked why you were not using the ready-to-go build with the earlier GCC; a perfectly good question given you had not explained why you wanted a GCC 5.1/5.2 build and were clearly having difficulty. There's a wide range of reasons you might want to do that but not all of them justify the work. I don't think that question deserved anything other than a simple answer: "curiosity", " I need left-handed barbaz templating from GCC5.1 in other parts of the project", "I need ABI compatibility", or whatever.
I am glad you got there in the end.
As for your GCC 5.2 question: to provide a supported build the Qt team needs to establish a suitable continuous integration rig for MingW/GCC and then make the code go in a controlled way. I cannot remember seeing a commitment to do this in the near future. I would not expect it for at least a couple of Qt dot releases. Read/ask on the qt-dev mailing list for a reliable answer.
smallB (26th July 2015)
@ChrisW67
Hi, I've just managed to build qt with GCC 5.1. I do want to thank you for your help.
The command line I've used:
configure.bat -release -platform win32-g++ -opengl desktop -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -skip webkit -nomake examples -nomake tests -no-accessibility -skip activeqt
Thanks again.
Peace man.
Bookmarks