From 703b4a0e20b2eae982ea48e075db480da9851a9a Mon Sep 17 00:00:00 2001 From: Charles Yin Date: Tue, 13 Mar 2012 13:12:09 +1000 Subject: [PATCH] Move variant animation interpolators from QtWidgets to QtGui There is no reason these interpolators need to stay in QtWidgets library. Change-Id: I27db49fea2cfd8f0ef417dc52edf66dd1835e7a1 Reviewed-by: Michael Brasser Reviewed-by: Martin Jones --- src/gui/animation/animation.pri | 2 ++ src/{widgets => gui}/animation/qguivariantanimation.cpp | 0 src/gui/gui.pro | 3 ++- src/widgets/animation/animation.pri | 3 --- src/widgets/widgets.pro | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 src/gui/animation/animation.pri rename src/{widgets => gui}/animation/qguivariantanimation.cpp (100%) delete mode 100644 src/widgets/animation/animation.pri diff --git a/src/gui/animation/animation.pri b/src/gui/animation/animation.pri new file mode 100644 index 0000000000..add9ae7119 --- /dev/null +++ b/src/gui/animation/animation.pri @@ -0,0 +1,2 @@ +SOURCES += \ + animation/qguivariantanimation.cpp diff --git a/src/widgets/animation/qguivariantanimation.cpp b/src/gui/animation/qguivariantanimation.cpp similarity index 100% rename from src/widgets/animation/qguivariantanimation.cpp rename to src/gui/animation/qguivariantanimation.cpp diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 2cee31fce1..e6a820b5c4 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -31,6 +31,7 @@ include(painting/painting.pri) include(util/util.pri) include(math3d/math3d.pri) include(opengl/opengl.pri) +include(animation/animation.pri) QMAKE_LIBS += $$QMAKE_LIBS_GUI @@ -150,4 +151,4 @@ win32:!contains(QT_CONFIG, directwrite) { sse2: SOURCES += $$SSE2_SOURCES ssse3: SOURCES += $$SSSE3_SOURCES iwmmxt: SOURCES += $$IWMMXT_SOURCES - } + } \ No newline at end of file diff --git a/src/widgets/animation/animation.pri b/src/widgets/animation/animation.pri deleted file mode 100644 index 27763ca003..0000000000 --- a/src/widgets/animation/animation.pri +++ /dev/null @@ -1,3 +0,0 @@ -# Qt gui animation module - -SOURCES += animation/qguivariantanimation.cpp diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro index 8f6a9713f6..596e8a994a 100644 --- a/src/widgets/widgets.pro +++ b/src/widgets/widgets.pro @@ -25,7 +25,6 @@ mac:include(kernel/mac.pri) win32:include(kernel/win.pri) #modules -include(animation/animation.pri) include(kernel/kernel.pri) include(styles/styles.pri) include(widgets/widgets.pri)