[Qt-creator] Building QtCreator 3.1.1 from the zip in QtProjects Downloads

Ziller Eike Eike.Ziller at digia.com
Fri May 23 10:22:51 CEST 2014

On May 21, 2014, at 12:53 PM, Henry Skoglund <fromqt at tungware.se> wrote:

> Hi,
>> P.S. While writing this, QtCtreator 3.1.1 built without problems on
>> my MBP with Xcode 5.1.1/clang-64 and Qt 5.3. So perhaps those build
>> errors occurs only in Windows (haven't tried MinGW or Linux GCC yet).
> Just an update: tried building QtCreator 3.1.1 on WinXP with Qt 5.3 
> MinGW 4.8.2 32bit: success. Also tried on Windows 8.1 with Qt 5.3 
> MSVC2013 64bit: success as well. So maybe I'm the tosser here (!) with 
> my Windows 7 MSVC2012 32bit Qt 5.3 that fails the build. (Suspects it 
> builds splendidly on Linux as well.)

Funny. Maybe it’s a line ending style problem? Our source files are originally all linux-style line ending, so if you unzip the source package you need to tell it to transform the line endings of text files, either with whatever UI option your zip client has, or on the command line with “unzip -a ….”. Mingw would probably handle any line ending, and maybe msvc2013 was made less picky there as well?

> Also to clarify: if I build my plugin with 5.3, when I try to load it 
> into the vanilla 3.1.1 QtCreator, it says: 
> C:\Qt\Tools\QtCreator\lib\qtcreator\plugins\Tungware\GeezerEditQt.dll: 
> The plugin 
> 'C:/Qt/Tools/QtCreator/lib/qtcreator/plugins/Tungware/GeezerEditQt.dll' 
> uses incompatible Qt library. (5.3.0) [release]
> So as I wrote before, plugins need to built using Qt 5.2.1 then they 
> load fine.

Right, the plugin loader bails out... . So if you want to provide your plugin to users of the binary download of Qt Creator, you need to make sure that you match the Qt version and compiler version of the Qt Creator in the package (that’s why we also added info about the compiler in Qt Creator’s about dialog). We should be clearer about that in the “extending” manual, and possibly mention that in the README as well (since it’s a more prominent place).

Br, Eike

Eike Ziller, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

More information about the Qt-creator mailing list