diff -r 56cd8111b7f7 -r 41300fa6a67c tools/linguist/shared/proparserutils.h --- a/tools/linguist/shared/proparserutils.h Tue Jan 26 12:42:25 2010 +0200 +++ b/tools/linguist/shared/proparserutils.h Tue Feb 02 00:43:10 2010 +0200 @@ -43,10 +43,35 @@ #define PROPARSERUTILS_H #include +#ifndef QT_BOOTSTRAPPED #include +#endif QT_BEGIN_NAMESPACE +#ifdef QT_BOOTSTRAPPED +// this is a stripped down version of the one found in QtCore +class QLibraryInfo +{ +public: + enum LibraryLocation + { + PrefixPath, + DocumentationPath, + HeadersPath, + LibrariesPath, + BinariesPath, + PluginsPath, + DataPath, + TranslationsPath, + SettingsPath, + DemosPath, + ExamplesPath + }; + static QString location(LibraryLocation); +}; +#endif + // Pre- and postcondition macros #define PRE(cond) do {if (!(cond))qt_assert(#cond,__FILE__,__LINE__);} while (0) #define POST(cond) do {if (!(cond))qt_assert(#cond,__FILE__,__LINE__);} while (0)