[Development] Fixing the DLL/shared/static mess

Loaden loaden at gmail.com
Fri Jul 13 05:43:46 CEST 2012


This changed broken qbs build on Windows (MSVC2010SP1):
96166fa56abb52157387c4911efbd4e5e6beee93
After change CONFIG += staticlib to CONFIG += static (src\lib\lib.pro) still
can't solved the build issue.
Any comments?


> commandexecutor.cpp
> transformer.cpp
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(65)
> : error C2470: 'Exception' : looks like a function definition, but there is
> no parameter list; skipping apparent body
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(72)
> : error C2470: 'UnhandledException' : looks like a function definition, but
> there is no parameter list; skipping apparent body
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(85)
> : error C2061: syntax error : identifier 'Exception'
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(89)
> : error C2143: syntax error : missing ';' before '*'
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(89)
> : error C4430: missing type specifier - int assumed. Note: C++ does not
> support default-int
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(89)
> : error C4430: missing type specifier - int assumed. Note: C++ does not
> support default-int
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(89)
> : warning C4183: 'exception': missing return type; assumed to be a member
> function returning 'int'
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentexception.h(94)
> : error C2470: 'ExceptionStore' : looks like a function definition, but
> there is no parameter list; skipping apparent body
> d:\qpsoft\projects\buildqt5-x86\qtbase\include\qtconcurrent\../../../../Qt5/qtbase/src/concurrent/qtconcurrentresultstore.h(82)
> : error C2470: 'ResultIteratorBase' : looks like a function definition, but
> there is no parameter list; skipping apparent body



2012/4/16 Thiago Macieira <thiago.macieira at intel.com>

> On segunda-feira, 16 de abril de 2012 00.44.22, Stephen Kelly wrote:
> > > Static and shared in one build has never been supported.
> >
> > But you want to make it supported in one package? Has that been possible
> > before?
>
> Not right now. It's extremely unlikely we'll modify qmake to support it.
> But
> this might be possible in a new buildsystem.
>
> Either way, the point is that you might have two builds making one
> installation.
>
> > > It's far more likely that CMake and other buildsystems can accomplish
> > > this,
> > > even if qmake can't. In order to do that, we need to have a sane
> qconfig.h
> > > and export macros. That's what this proposal is about.
> >
> > Right. I might have to have another closer look at the proposal tomorrow
> > then. A solution that works for qmake can probably be adapted anyway, as
> > you note.
>
>  --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>      Intel Sweden AB - Registration Number: 556189-6027
>      Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>


-- 
Please don't ask where I come from, It's a shame!
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120713/267e573d/attachment.html>


More information about the Development mailing list