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
......@@ -42,6 +42,7 @@ QT_BEGIN_NAMESPACE
class ProFileEvaluator
class Private;
// This struct is from qmake, but we are not using everything.
......@@ -77,8 +78,9 @@ public:
//QString pro_ext;
//QString res_ext;
// private:
friend class ProFileEvaluator;
friend class ProFileEvaluator::Private;
static QString field_sep; // Just a cache for quick construction
QHash<QString, QStringList> cache_valuemap; // Cached results of .qmake.cache
QHash<QString, QStringList> base_valuemap; // ~ and qmake.conf and default_pre.prf
......@@ -127,7 +129,6 @@ public:
virtual void fileMessage(const QString &msg); // error() and message() from .pro file
class Private;
Private *d;
// This doesn't help gcc 3.3 ...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment