Skip to content
Snippets Groups Projects
Commit 63fd503c authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix compile the proper way

older gcc does not automatically make nested classes of a friend class
friends as well.
parent 1b0fbbff
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ QT_BEGIN_NAMESPACE ...@@ -42,6 +42,7 @@ QT_BEGIN_NAMESPACE
class ProFileEvaluator class ProFileEvaluator
{ {
class Private;
public: public:
// This struct is from qmake, but we are not using everything. // This struct is from qmake, but we are not using everything.
...@@ -77,8 +78,9 @@ public: ...@@ -77,8 +78,9 @@ public:
//QString pro_ext; //QString pro_ext;
//QString res_ext; //QString res_ext;
// private: private:
friend class ProFileEvaluator; friend class ProFileEvaluator;
friend class ProFileEvaluator::Private;
static QString field_sep; // Just a cache for quick construction static QString field_sep; // Just a cache for quick construction
QHash<QString, QStringList> cache_valuemap; // Cached results of .qmake.cache QHash<QString, QStringList> cache_valuemap; // Cached results of .qmake.cache
QHash<QString, QStringList> base_valuemap; // ~ and qmake.conf and default_pre.prf QHash<QString, QStringList> base_valuemap; // ~ and qmake.conf and default_pre.prf
...@@ -127,7 +129,6 @@ public: ...@@ -127,7 +129,6 @@ public:
virtual void fileMessage(const QString &msg); // error() and message() from .pro file virtual void fileMessage(const QString &msg); // error() and message() from .pro file
private: private:
class Private;
Private *d; Private *d;
// This doesn't help gcc 3.3 ... // This doesn't help gcc 3.3 ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment