diff --git a/src/plugins/qt4projectmanager/profilecache.h b/src/plugins/qt4projectmanager/profilecache.h
new file mode 100644
index 0000000000000000000000000000000000000000..cc31702be5ab98d260d2400e24ae13c04fd715ff
--- /dev/null
+++ b/src/plugins/qt4projectmanager/profilecache.h
@@ -0,0 +1,52 @@
+/***************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact:  Qt Software Information (qt-info@nokia.com)
+**
+**
+** Non-Open Source Usage
+**
+** Licensees may use this file in accordance with the Qt Beta Version
+** License Agreement, Agreement version 2.2 provided with the Software or,
+** alternatively, in accordance with the terms contained in a written
+** agreement between you and Nokia.
+**
+** GNU General Public License Usage
+**
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License versions 2.0 or 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the packaging
+** of this file.  Please review the following information to ensure GNU
+** General Public Licensing requirements will be met:
+**
+** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
+** http://www.gnu.org/copyleft/gpl.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt GPL Exception
+** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
+**
+***************************************************************************/
+
+#ifndef PROFILECACHE_H
+#define PROFILECACHE_H
+
+#include "proitems.h"
+#include <QString>
+
+namespace Qt4ProjectManager {
+namespace Internal {
+
+class ProFileCache {
+public:
+    ProFile *proFile(const QString &arg)
+    { return new ProFile(arg); }
+};
+
+} // namespace Internal
+} // namespace Qt4ProjectManager
+
+#endif // PROFILECACHE_H
diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp
index 8d0c11fe139c626548498df51459b1cad2c8ab5a..34abb9316986a26a1a236878feabc3175048ae12 100644
--- a/src/plugins/qt4projectmanager/qt4nodes.cpp
+++ b/src/plugins/qt4projectmanager/qt4nodes.cpp
@@ -35,6 +35,7 @@
 
 #include "profilecache.h"
 #include "profilereader.h"
+#include "prowriter.h"
 #include "qt4nodes.h"
 #include "qt4project.h"
 #include "qt4projectmanager.h"
diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.pro b/src/plugins/qt4projectmanager/qt4projectmanager.pro
index 806e020e31cca6fbaeac117cc2590455d4a50213..fa291eadd2497f3d51e4b55d1612658ed5763290 100644
--- a/src/plugins/qt4projectmanager/qt4projectmanager.pro
+++ b/src/plugins/qt4projectmanager/qt4projectmanager.pro
@@ -13,6 +13,7 @@ HEADERS = qt4projectmanagerplugin.h \
     profilehighlighter.h \
     profileeditorfactory.h \
     profilereader.h \
+    profilecache.h \
     wizards/qtprojectparameters.h \
     wizards/guiappwizard.h \
     wizards/consoleappwizard.h \