[Solved]Syntax error for QIconvCodec on 5.3.2 build
-
I'm started fresh and am doing an out of source build. QMAKESPEC was undefined and no -platform and it detected win32-msvc2010 according to config.summary. The iconv is set as yes - I did not have that in my options and I removed the MySQL and PostgreSQL plugins.
I started a build with jom /j 8 so we'll see.
-
IIRC, you're right
-
The build with jom hung so I started again - new build directory, reconfigure, and use nmake this time. We'll see what happens.
-
This time it finished. I started clean with a fresh clone of git, did NOT specify QMAKESPEC or -platform. Configure summary showed iconv was no. I did an out of source build.
I used both -developer-build and -prefix D:\somedir.
I am now running nmake install and it's copying the files.
All I can figure is that I must have had something wrong on my setup or system.
I guess in summary
- Windows Qt builds do not use iconv and will figure that out.
- Don't use QMAKESPEC - let it be set by the detection process
-
Strange that jom failed… Anyway, nice it worked out.
Did you by any chance build once with MinGW ?
-
No builds with MingGW. I have been using git source and the VS2010 toolchain all along. I can only assume it was something on my system.
I'll be doing lots more builds so I'll redo some of what I did.
Two questions
-
I assume iconv is Linux only so Qt will use Windows codecs.
-
I've built Qt so that is, if I understand correctly, the base, the kit that things I build with Qt Creator and Qt Creator itself will use (after I build Qt Creator). Is that correct?
Thanks for the help.
-
-
-
Not Linux only but not used for Windows
-
You don't need to build Qt Creator unless you plan to either create plugins for it or work on it's code base. You can simply download the latest version otherwise.
Go to the Preferences -> Build and Run -> Qt version -> Add your newly built Qt -> Save -> go to Kits -> Create a new Kit and make it use that newly added Qt Version -> Save -> enjoy !
-
-
I guess Mac, and some others too for iconv.
That is good to know. I'll give that a try.
Thanks again.
-
You're welcome !
If you have everything going right now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
-
Very good idea. How do I do that. I've checked around my profile, the post, searched, and come up dry.
-
It's a bit hidden: edit your original post and update the title by hand :)
-
It sure is. Done.
Thanks again.