summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-18 09:22:05 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-18 13:23:16 (GMT)
commit7e4d4474d10cb17047d95e3a4820388468c74507 (patch)
tree09382fc60e91a376edbdf4bd2cf86c5e5a72cee3
parent343e848abc19f15a30e73f53117a0c001b081e7f (diff)
downloadQt-7e4d4474d10cb17047d95e3a4820388468c74507.zip
Qt-7e4d4474d10cb17047d95e3a4820388468c74507.tar.gz
Qt-7e4d4474d10cb17047d95e3a4820388468c74507.tar.bz2
Fix compilation of the cssparser test
the Q_GUI_EXPORT macro have been removed, but we still need to export the classes for the test
-rw-r--r--src/gui/text/qcssparser_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/text/qcssparser_p.h b/src/gui/text/qcssparser_p.h
index fbd6c16..72bd637 100644
--- a/src/gui/text/qcssparser_p.h
+++ b/src/gui/text/qcssparser_p.h
@@ -403,7 +403,7 @@ struct BorderData {
// 4. QVector<Declaration> - { prop1: value1; prop2: value2; }
// 5. Declaration - prop1: value1;
-struct Declaration
+struct Q_AUTOTEST_EXPORT Declaration
{
struct DeclarationData : public QSharedData
{
@@ -539,7 +539,7 @@ struct BasicSelector
Relation relationToNext;
};
-struct Selector
+struct Q_AUTOTEST_EXPORT Selector
{
QVector<BasicSelector> basicSelectors;
int specificity() const;
@@ -552,7 +552,7 @@ struct MediaRule;
struct PageRule;
struct ImportRule;
-struct ValueExtractor
+struct Q_AUTOTEST_EXPORT ValueExtractor
{
ValueExtractor(const QVector<Declaration> &declarations, const QPalette & = QPalette());