[Development] One qmake problem for rvct

song.7.liu at nokia.com song.7.liu at nokia.com
Wed Jun 6 16:38:46 CEST 2012


Hi,

When using the armcc to compile qt5, there is one Makefile generation issue for widgets:
You know the widgets is depending on platformsupport static library, but the "libQtPlatformSupport.so" is appended into LIBS flag within this Makefile.

After checked with the source code of qmake/generators/unix/unixmake.cpp, where:
    bool UnixMakefileGenerator::findLibraries()
        ... ...
        else if (project->isActiveConfig("rvct_linker") || project->isActiveConfig("armcc_linker")) {
            (*it) = "lib" + opt.mid(2) + ".so";
        }

You will see that it treats all the dependency as a "so" without any checking.
Then I am trying to modify here but can't find the current object indicated by current "opt" is static or shared...

Anyone can help point out what's the correct way to fix this issue ?

Thanks,
Song
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120606/fa213b82/attachment.html>


More information about the Development mailing list