On Tuesday, 3 de January de 2012 18.16.46, [email protected] wrote: > > I know that because I had the exactly opposite problem Friday: I had > > one .cpp (qdrawhelper.cpp) that I wanted to be compiled on its own > > *and* as an #include from somewhere else. qmake wouldn't do it. > > You need to compile that moc file as a separate lib then, and include it > on the link line. It's bizzar to compile the same compile unit twice in > the *same* project.
Not exactly. This particular case was of building a certain file with different
compiler options (in specific, -msse2).
I solved the problem by using a special compiler, which was already present in
src/gui/gui.pro. qmake doesn't look into SSE2_SOURCES, AVX_SOURCES,
NEON_SOURCES.
--
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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
