Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make declarative compile.
  • Loading branch information
Liang Qi authored and axis committed Apr 27, 2011
1 parent 715b025 commit d1d26ea
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
9 changes: 9 additions & 0 deletions modules/qt_declarative.pri
@@ -0,0 +1,9 @@
QT_DECLARATIVE_VERSION = $$QT_VERSION
QT_DECLARATIVE_MAJOR_VERSION = $$QT_MAJOR_VERSION
QT_DECLARATIVE_MINOR_VERSION = $$QT_MINOR_VERSION
QT_DECLARATIVE_PATCH_VERSION = $$QT_PATCH_VERSION

QT.declarative.name = QtDeclarative
QT.declarative.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/QtDeclarative
QT.declarative.libs = $$QT_MODULE_LIB_BASE
QT.declarative.depends = gui script network
6 changes: 4 additions & 2 deletions src/declarative/declarative.pro
@@ -1,3 +1,5 @@
load(qt_module)

TARGET = QtDeclarative
QPRO_PWD = $$PWD
QT = core gui script network
Expand All @@ -13,7 +15,7 @@ exists("qdeclarative_enable_gcov") {
LIBS += -lgcov
}

include(../qbase.pri)
include($$QT_SOURCE_TREE/src/qbase.pri)

#INCLUDEPATH -= $$QMAKE_INCDIR_QT/$$TARGET
#DESTDIR=.
Expand All @@ -39,5 +41,5 @@ symbian: {
linux-g++-maemo:DEFINES += QDECLARATIVEVIEW_NOBACKGROUND

DEFINES += QT_NO_OPENTYPE
INCLUDEPATH += ../3rdparty/harfbuzz/src
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src

15 changes: 15 additions & 0 deletions sync.profile
@@ -0,0 +1,15 @@
%modules = ( # path to module name map
"QtDeclarative" => "$basedir/src/declarative",
);
%moduleheaders = ( # restrict the module headers to those found in relative path
);
%classnames = (
);
%mastercontent = (
"gui" => "#include <QtGui/QtGui>\n",
"script" => "#include <QtScript/QtScript>\n",
"network" => "#include <QtNetwork/QtNetwork>\n",
);
%modulepris = (
"QtDeclarative" => "$basedir/modules/qt_declarative.pri",
);

0 comments on commit d1d26ea

Please sign in to comment.