Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Linking with ICC to a Qt built with Gcc?

$
0
0
I have been using a Qt4.8.2 compiled with gcc, to link in an applicaton built with icc (on a linux x86_64) Now that i have switched to 4.8.5, when i build my app with icc, i get the following errors : error: taking the address of a bit field is not allowed This is on the three Q_UNUSED() lines of ifYouGetCompileErrorHereYouUseWrongQt() of include/QTest/qtestspontaneevent.h But those three lines, are new in the function, so i guess my error is not related to the function name? (They were apparently added there : http://qt.gitorious.org/qt/qt/commit/4326cff0ada1e1bd9265ff11a035ae21314471f0) I’m only at the compilation, and not the linkage phase, so this shouldn’t be an icc/gcc conflict, right? Can i safely remove those lines to build my app, considering it’s only a wartning, that is notified by a compiler i won’t use (Clang according to the commit) Or any other hints to solves this the proper way?

Viewing all articles
Browse latest Browse all 2113

Trending Articles