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

Qt 4.5.3 linux error

$
0
0
Hi all, I installed the Qt 4.5.3 embedded linux version and tried to compile my previous code which compiled well with Qt 4.3.3. However, it gives me error messages about the qtconcurrentrunbase.h file. The errors are : /opt/qt/src/qt-embedded-linux-opensource-src-4.5.3-output/include/QtCore/qtconcurrentrunbase.h:65: error: expected identifier before “void” /opt/qt/src/qt-embedded-linux-opensource-src-4.5.3-output/include/QtCore/qtconcurrentrunbase.h:65: error: ISO C++ forbids declaration of `parameter’ with no type /opt/qt/src/qt-embedded-linux-opensource-src-4.5.3-output/include/QtCore/qtconcurrentrunbase.h:72: error: expected identifier before “void” /opt/qt/src/qt-embedded-linux-opensource-src-4.5.3-output/include/QtCore/qtconcurrentrunbase.h:72: error: ISO C++ forbids declaration of `parameter’ with no type The qtconcurrentrunbase.h 65 and 72 are: template <typename T> struct SelectSpecialization {     template <class Normal, class Void>  //65     struct Type { typedef Normal type; }; };   template <> struct SelectSpecialization<void> {     template <class Normal, class Void>  //72     struct Type { typedef Void type; }; }; Anyone knows what’s going on?

Viewing all articles
Browse latest Browse all 2113

Trending Articles