diff --git a/Makefile b/Makefile deleted file mode 100644 index b0e3c20..0000000 --- a/Makefile +++ /dev/null @@ -1,180 +0,0 @@ -############################################################################# -# Makefile for building: styleplugin -# Generated by qmake (2.01a) (Qt 4.7.4) on: Tue Mar 6 12:52:20 2012 -# Project: styleplugin.pro -# Template: subdirs -# Command: /usr/bin/qmake-qt4 -o Makefile styleplugin.pro -############################################################################# - -first: make_default -MAKEFILE = Makefile -QMAKE = /usr/bin/qmake-qt4 -DEL_FILE = rm -f -CHK_DIR_EXISTS= test -d -MKDIR = mkdir -p -COPY = cp -f -COPY_FILE = $(COPY) -COPY_DIR = $(COPY) -r -INSTALL_FILE = install -m 644 -p -INSTALL_PROGRAM = install -m 755 -p -INSTALL_DIR = $(COPY_DIR) -DEL_FILE = rm -f -SYMLINK = ln -f -s -DEL_DIR = rmdir -MOVE = mv -f -CHK_DIR_EXISTS= test -d -MKDIR = mkdir -p -SUBTARGETS = \ - sub-stylewindow \ - sub-plugin \ - sub-unstyledwindow - -stylewindow//$(MAKEFILE): - @$(CHK_DIR_EXISTS) stylewindow/ || $(MKDIR) stylewindow/ - cd stylewindow/ && $(QMAKE) /root/tdeqt4styleplugin/stylewindow/stylewindow.pro -o $(MAKEFILE) -sub-stylewindow-qmake_all: FORCE - @$(CHK_DIR_EXISTS) stylewindow/ || $(MKDIR) stylewindow/ - cd stylewindow/ && $(QMAKE) /root/tdeqt4styleplugin/stylewindow/stylewindow.pro -o $(MAKEFILE) -sub-stylewindow: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) -sub-stylewindow-make_default: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) -sub-stylewindow-make_first: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) first -sub-stylewindow-all: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) all -sub-stylewindow-clean: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) clean -sub-stylewindow-distclean: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) distclean -sub-stylewindow-install_subtargets: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) install -sub-stylewindow-uninstall_subtargets: stylewindow//$(MAKEFILE) FORCE - cd stylewindow/ && $(MAKE) -f $(MAKEFILE) uninstall -plugin//$(MAKEFILE): - @$(CHK_DIR_EXISTS) plugin/ || $(MKDIR) plugin/ - cd plugin/ && $(QMAKE) /root/tdeqt4styleplugin/plugin/plugin.pro -o $(MAKEFILE) -sub-plugin-qmake_all: FORCE - @$(CHK_DIR_EXISTS) plugin/ || $(MKDIR) plugin/ - cd plugin/ && $(QMAKE) /root/tdeqt4styleplugin/plugin/plugin.pro -o $(MAKEFILE) -sub-plugin: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) -sub-plugin-make_default: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) -sub-plugin-make_first: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) first -sub-plugin-all: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) all -sub-plugin-clean: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) clean -sub-plugin-distclean: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) distclean -sub-plugin-install_subtargets: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) install -sub-plugin-uninstall_subtargets: plugin//$(MAKEFILE) FORCE - cd plugin/ && $(MAKE) -f $(MAKEFILE) uninstall -unstyledwindow//$(MAKEFILE): - @$(CHK_DIR_EXISTS) unstyledwindow/ || $(MKDIR) unstyledwindow/ - cd unstyledwindow/ && $(QMAKE) /root/tdeqt4styleplugin/unstyledwindow/unstyledwindow.pro -o $(MAKEFILE) -sub-unstyledwindow-qmake_all: FORCE - @$(CHK_DIR_EXISTS) unstyledwindow/ || $(MKDIR) unstyledwindow/ - cd unstyledwindow/ && $(QMAKE) /root/tdeqt4styleplugin/unstyledwindow/unstyledwindow.pro -o $(MAKEFILE) -sub-unstyledwindow: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) -sub-unstyledwindow-make_default: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) -sub-unstyledwindow-make_first: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) first -sub-unstyledwindow-all: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) all -sub-unstyledwindow-clean: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) clean -sub-unstyledwindow-distclean: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) distclean -sub-unstyledwindow-install_subtargets: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) install -sub-unstyledwindow-uninstall_subtargets: unstyledwindow//$(MAKEFILE) FORCE - cd unstyledwindow/ && $(MAKE) -f $(MAKEFILE) uninstall - -Makefile: styleplugin.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ - /usr/share/qt4/mkspecs/common/unix.conf \ - /usr/share/qt4/mkspecs/common/linux.conf \ - /usr/share/qt4/mkspecs/qconfig.pri \ - /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ - /usr/share/qt4/mkspecs/features/qt_functions.prf \ - /usr/share/qt4/mkspecs/features/qt_config.prf \ - /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ - /usr/share/qt4/mkspecs/features/default_pre.prf \ - /usr/share/qt4/mkspecs/features/release.prf \ - /usr/share/qt4/mkspecs/features/default_post.prf \ - /usr/share/qt4/mkspecs/features/warn_on.prf \ - /usr/share/qt4/mkspecs/features/qt.prf \ - /usr/share/qt4/mkspecs/features/unix/thread.prf \ - /usr/share/qt4/mkspecs/features/moc.prf \ - /usr/share/qt4/mkspecs/features/resources.prf \ - /usr/share/qt4/mkspecs/features/uic.prf \ - /usr/share/qt4/mkspecs/features/yacc.prf \ - /usr/share/qt4/mkspecs/features/lex.prf \ - /usr/share/qt4/mkspecs/features/include_source_dir.prf - $(QMAKE) -o Makefile styleplugin.pro -/usr/share/qt4/mkspecs/common/g++.conf: -/usr/share/qt4/mkspecs/common/unix.conf: -/usr/share/qt4/mkspecs/common/linux.conf: -/usr/share/qt4/mkspecs/qconfig.pri: -/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri: -/usr/share/qt4/mkspecs/features/qt_functions.prf: -/usr/share/qt4/mkspecs/features/qt_config.prf: -/usr/share/qt4/mkspecs/features/exclusive_builds.prf: -/usr/share/qt4/mkspecs/features/default_pre.prf: -/usr/share/qt4/mkspecs/features/release.prf: -/usr/share/qt4/mkspecs/features/default_post.prf: -/usr/share/qt4/mkspecs/features/warn_on.prf: -/usr/share/qt4/mkspecs/features/qt.prf: -/usr/share/qt4/mkspecs/features/unix/thread.prf: -/usr/share/qt4/mkspecs/features/moc.prf: -/usr/share/qt4/mkspecs/features/resources.prf: -/usr/share/qt4/mkspecs/features/uic.prf: -/usr/share/qt4/mkspecs/features/yacc.prf: -/usr/share/qt4/mkspecs/features/lex.prf: -/usr/share/qt4/mkspecs/features/include_source_dir.prf: -qmake: qmake_all FORCE - @$(QMAKE) -o Makefile styleplugin.pro - -qmake_all: sub-stylewindow-qmake_all sub-plugin-qmake_all sub-unstyledwindow-qmake_all FORCE - -make_default: sub-stylewindow-make_default sub-plugin-make_default sub-unstyledwindow-make_default FORCE -make_first: sub-stylewindow-make_first sub-plugin-make_first sub-unstyledwindow-make_first FORCE -all: sub-stylewindow-all sub-plugin-all sub-unstyledwindow-all FORCE -clean: sub-stylewindow-clean sub-plugin-clean sub-unstyledwindow-clean FORCE -distclean: sub-stylewindow-distclean sub-plugin-distclean sub-unstyledwindow-distclean FORCE - -$(DEL_FILE) Makefile -install_subtargets: sub-stylewindow-install_subtargets sub-plugin-install_subtargets sub-unstyledwindow-install_subtargets FORCE -uninstall_subtargets: sub-stylewindow-uninstall_subtargets sub-plugin-uninstall_subtargets sub-unstyledwindow-uninstall_subtargets FORCE - -sub-stylewindow-check: stylewindow/$(MAKEFILE) - cd stylewindow/ && $(MAKE) check -sub-plugin-check: plugin/$(MAKEFILE) - cd plugin/ && $(MAKE) check -sub-unstyledwindow-check: unstyledwindow/$(MAKEFILE) - cd unstyledwindow/ && $(MAKE) check -check: sub-stylewindow-check sub-plugin-check sub-unstyledwindow-check - -mocclean: compiler_moc_header_clean compiler_moc_source_clean - -mocables: compiler_moc_header_make_all compiler_moc_source_make_all -install_sources: FORCE - @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/styleplugin.pro $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/ - - -uninstall_sources: FORCE - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/styleplugin.pro - -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/ - - -install: install_subtargets install_sources FORCE - -uninstall: uninstall_sources uninstall_subtargets FORCE - -FORCE: - diff --git a/stylewindow/Makefile b/examples/stylewindow/Makefile similarity index 100% rename from stylewindow/Makefile rename to examples/stylewindow/Makefile diff --git a/stylewindow/main.cpp b/examples/stylewindow/main.cpp similarity index 100% rename from stylewindow/main.cpp rename to examples/stylewindow/main.cpp diff --git a/stylewindow/stylewindow.cpp b/examples/stylewindow/stylewindow.cpp similarity index 100% rename from stylewindow/stylewindow.cpp rename to examples/stylewindow/stylewindow.cpp diff --git a/stylewindow/stylewindow.h b/examples/stylewindow/stylewindow.h similarity index 100% rename from stylewindow/stylewindow.h rename to examples/stylewindow/stylewindow.h diff --git a/stylewindow/stylewindow.pro b/examples/stylewindow/stylewindow.pro similarity index 100% rename from stylewindow/stylewindow.pro rename to examples/stylewindow/stylewindow.pro diff --git a/tqt3reference/Makefile b/examples/tqt3reference/Makefile similarity index 100% rename from tqt3reference/Makefile rename to examples/tqt3reference/Makefile diff --git a/tqt3reference/main.cpp b/examples/tqt3reference/main.cpp similarity index 100% rename from tqt3reference/main.cpp rename to examples/tqt3reference/main.cpp diff --git a/tqt3reference/stylewindow.cpp b/examples/tqt3reference/stylewindow.cpp similarity index 100% rename from tqt3reference/stylewindow.cpp rename to examples/tqt3reference/stylewindow.cpp diff --git a/tqt3reference/stylewindow.h b/examples/tqt3reference/stylewindow.h similarity index 100% rename from tqt3reference/stylewindow.h rename to examples/tqt3reference/stylewindow.h diff --git a/tqt3reference/stylewindow.pro b/examples/tqt3reference/stylewindow.pro similarity index 100% rename from tqt3reference/stylewindow.pro rename to examples/tqt3reference/stylewindow.pro diff --git a/unstyledwindow/Makefile b/examples/unstyledwindow/Makefile similarity index 100% rename from unstyledwindow/Makefile rename to examples/unstyledwindow/Makefile diff --git a/unstyledwindow/main.cpp b/examples/unstyledwindow/main.cpp similarity index 100% rename from unstyledwindow/main.cpp rename to examples/unstyledwindow/main.cpp diff --git a/unstyledwindow/stylewindow.cpp b/examples/unstyledwindow/stylewindow.cpp similarity index 100% rename from unstyledwindow/stylewindow.cpp rename to examples/unstyledwindow/stylewindow.cpp diff --git a/unstyledwindow/stylewindow.h b/examples/unstyledwindow/stylewindow.h similarity index 100% rename from unstyledwindow/stylewindow.h rename to examples/unstyledwindow/stylewindow.h diff --git a/unstyledwindow/unstyledwindow.pro b/examples/unstyledwindow/unstyledwindow.pro similarity index 100% rename from unstyledwindow/unstyledwindow.pro rename to examples/unstyledwindow/unstyledwindow.pro diff --git a/plugin/Makefile b/plugin/Makefile deleted file mode 100644 index 7f082cd..0000000 --- a/plugin/Makefile +++ /dev/null @@ -1,276 +0,0 @@ -############################################################################# -# Makefile for building: libsimplestyleplugin.so -# Generated by qmake (2.01a) (Qt 4.7.4) on: Tue Mar 20 22:24:57 2012 -# Project: plugin.pro -# Template: lib -# Command: /usr/bin/qmake-qt4 -o Makefile plugin.pro -############################################################################# - -####### Compiler, tools and options - -CC = gcc -CXX = g++ -DEFINES = -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) -CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) -INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/tqt3 -I/usr/include/tqt -I/opt/trinity/include -I. -LINK = g++ -LFLAGS = -Wl,-O1 -shared -LIBS = $(SUBLIBS) -L/usr/lib/i386-linux-gnu -L/usr/lib -ltqt -ltqt-mt -L /opt/trinity/lib -lDCOP -ltdecore -ltdeui -lkio -lQtGui -lQtCore -lpthread -AR = ar cqs -RANLIB = -QMAKE = /usr/bin/qmake-qt4 -TAR = tar -cf -COMPRESS = gzip -9f -COPY = cp -f -SED = sed -COPY_FILE = $(COPY) -COPY_DIR = $(COPY) -r -STRIP = strip -INSTALL_FILE = install -m 644 -p -INSTALL_DIR = $(COPY_DIR) -INSTALL_PROGRAM = install -m 755 -p -DEL_FILE = rm -f -SYMLINK = ln -f -s -DEL_DIR = rmdir -MOVE = mv -f -CHK_DIR_EXISTS= test -d -MKDIR = mkdir -p - -####### Output directory - -OBJECTS_DIR = ./ - -####### Files - -SOURCES = simplestyle.cpp \ - simplestyleplugin.cpp \ - tdeqt4painter.cpp moc_simplestyle.cpp \ - moc_simplestyleplugin.cpp -OBJECTS = simplestyle.o \ - simplestyleplugin.o \ - tdeqt4painter.o \ - moc_simplestyle.o \ - moc_simplestyleplugin.o -DIST = /usr/share/qt4/mkspecs/common/g++.conf \ - /usr/share/qt4/mkspecs/common/unix.conf \ - /usr/share/qt4/mkspecs/common/linux.conf \ - /usr/share/qt4/mkspecs/qconfig.pri \ - /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ - /usr/share/qt4/mkspecs/features/qt_functions.prf \ - /usr/share/qt4/mkspecs/features/qt_config.prf \ - /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ - /usr/share/qt4/mkspecs/features/default_pre.prf \ - /usr/share/qt4/mkspecs/features/release.prf \ - /usr/share/qt4/mkspecs/features/default_post.prf \ - /usr/share/qt4/mkspecs/features/warn_on.prf \ - /usr/share/qt4/mkspecs/features/qt.prf \ - /usr/share/qt4/mkspecs/features/unix/thread.prf \ - /usr/share/qt4/mkspecs/features/moc.prf \ - /usr/share/qt4/mkspecs/features/resources.prf \ - /usr/share/qt4/mkspecs/features/uic.prf \ - /usr/share/qt4/mkspecs/features/yacc.prf \ - /usr/share/qt4/mkspecs/features/lex.prf \ - /usr/share/qt4/mkspecs/features/include_source_dir.prf \ - plugin.pro -QMAKE_TARGET = simplestyleplugin -DESTDIR = ../styles/ -TARGET = libsimplestyleplugin.so -TARGETD = libsimplestyleplugin.so - -first: all -####### Implicit rules - -.SUFFIXES: .o .c .cpp .cc .cxx .C - -.cpp.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" - -.cc.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" - -.cxx.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" - -.C.o: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" - -.c.o: - $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" - -####### Build rules - -all: Makefile ../styles/$(TARGET) - -../styles/$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) - @$(CHK_DIR_EXISTS) ../styles/ || $(MKDIR) ../styles/ - -$(DEL_FILE) $(TARGET) - $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) - -$(MOVE) $(TARGET) ../styles/ - - - -Makefile: plugin.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ - /usr/share/qt4/mkspecs/common/unix.conf \ - /usr/share/qt4/mkspecs/common/linux.conf \ - /usr/share/qt4/mkspecs/qconfig.pri \ - /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ - /usr/share/qt4/mkspecs/features/qt_functions.prf \ - /usr/share/qt4/mkspecs/features/qt_config.prf \ - /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ - /usr/share/qt4/mkspecs/features/default_pre.prf \ - /usr/share/qt4/mkspecs/features/release.prf \ - /usr/share/qt4/mkspecs/features/default_post.prf \ - /usr/share/qt4/mkspecs/features/warn_on.prf \ - /usr/share/qt4/mkspecs/features/qt.prf \ - /usr/share/qt4/mkspecs/features/unix/thread.prf \ - /usr/share/qt4/mkspecs/features/moc.prf \ - /usr/share/qt4/mkspecs/features/resources.prf \ - /usr/share/qt4/mkspecs/features/uic.prf \ - /usr/share/qt4/mkspecs/features/yacc.prf \ - /usr/share/qt4/mkspecs/features/lex.prf \ - /usr/share/qt4/mkspecs/features/include_source_dir.prf \ - /usr/lib/libtqt-mt.prl \ - /usr/lib/i386-linux-gnu/libQtGui.prl \ - /usr/lib/i386-linux-gnu/libQtCore.prl - $(QMAKE) -o Makefile plugin.pro -/usr/share/qt4/mkspecs/common/g++.conf: -/usr/share/qt4/mkspecs/common/unix.conf: -/usr/share/qt4/mkspecs/common/linux.conf: -/usr/share/qt4/mkspecs/qconfig.pri: -/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri: -/usr/share/qt4/mkspecs/features/qt_functions.prf: -/usr/share/qt4/mkspecs/features/qt_config.prf: -/usr/share/qt4/mkspecs/features/exclusive_builds.prf: -/usr/share/qt4/mkspecs/features/default_pre.prf: -/usr/share/qt4/mkspecs/features/release.prf: -/usr/share/qt4/mkspecs/features/default_post.prf: -/usr/share/qt4/mkspecs/features/warn_on.prf: -/usr/share/qt4/mkspecs/features/qt.prf: -/usr/share/qt4/mkspecs/features/unix/thread.prf: -/usr/share/qt4/mkspecs/features/moc.prf: -/usr/share/qt4/mkspecs/features/resources.prf: -/usr/share/qt4/mkspecs/features/uic.prf: -/usr/share/qt4/mkspecs/features/yacc.prf: -/usr/share/qt4/mkspecs/features/lex.prf: -/usr/share/qt4/mkspecs/features/include_source_dir.prf: -/usr/lib/libtqt-mt.prl: -/usr/lib/i386-linux-gnu/libQtGui.prl: -/usr/lib/i386-linux-gnu/libQtCore.prl: -qmake: FORCE - @$(QMAKE) -o Makefile plugin.pro - -dist: - @$(CHK_DIR_EXISTS) .tmp/simplestyleplugin1.0.0 || $(MKDIR) .tmp/simplestyleplugin1.0.0 - $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/simplestyleplugin1.0.0/ && $(COPY_FILE) --parents simplestyle.h simplestyleplugin.h tdeqt4painter.h .tmp/simplestyleplugin1.0.0/ && $(COPY_FILE) --parents simplestyle.cpp simplestyleplugin.cpp tdeqt4painter.cpp .tmp/simplestyleplugin1.0.0/ && (cd `dirname .tmp/simplestyleplugin1.0.0` && $(TAR) simplestyleplugin1.0.0.tar simplestyleplugin1.0.0 && $(COMPRESS) simplestyleplugin1.0.0.tar) && $(MOVE) `dirname .tmp/simplestyleplugin1.0.0`/simplestyleplugin1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/simplestyleplugin1.0.0 - - -clean:compiler_clean - -$(DEL_FILE) $(OBJECTS) - -$(DEL_FILE) *~ core *.core - - -####### Sub-libraries - -distclean: clean - -$(DEL_FILE) $(TARGET) - -$(DEL_FILE) Makefile - - -check: first - -mocclean: compiler_moc_header_clean compiler_moc_source_clean - -mocables: compiler_moc_header_make_all compiler_moc_source_make_all - -compiler_moc_header_make_all: moc_simplestyle.cpp moc_simplestyleplugin.cpp -compiler_moc_header_clean: - -$(DEL_FILE) moc_simplestyle.cpp moc_simplestyleplugin.cpp -moc_simplestyle.cpp: simplestyle.h - /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) simplestyle.h -o moc_simplestyle.cpp - -moc_simplestyleplugin.cpp: simplestyleplugin.h - /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) simplestyleplugin.h -o moc_simplestyleplugin.cpp - -compiler_rcc_make_all: -compiler_rcc_clean: -compiler_image_collection_make_all: qmake_image_collection.cpp -compiler_image_collection_clean: - -$(DEL_FILE) qmake_image_collection.cpp -compiler_moc_source_make_all: simplestyle.moc -compiler_moc_source_clean: - -$(DEL_FILE) simplestyle.moc -simplestyle.moc: simplestyle.h \ - tdeqt4painter.h \ - simplestyle.cpp - /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) simplestyle.cpp -o simplestyle.moc - -compiler_uic_make_all: -compiler_uic_clean: -compiler_yacc_decl_make_all: -compiler_yacc_decl_clean: -compiler_yacc_impl_make_all: -compiler_yacc_impl_clean: -compiler_lex_make_all: -compiler_lex_clean: -compiler_clean: compiler_moc_header_clean compiler_moc_source_clean - -####### Compile - -simplestyle.o: simplestyle.cpp simplestyle.h \ - tdeqt4painter.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o simplestyle.o simplestyle.cpp - -simplestyleplugin.o: simplestyleplugin.cpp simplestyleplugin.h \ - simplestyle.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o simplestyleplugin.o simplestyleplugin.cpp - -tdeqt4painter.o: tdeqt4painter.cpp tdeqt4painter.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tdeqt4painter.o tdeqt4painter.cpp - -moc_simplestyle.o: moc_simplestyle.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_simplestyle.o moc_simplestyle.cpp - -moc_simplestyleplugin.o: moc_simplestyleplugin.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_simplestyleplugin.o moc_simplestyleplugin.cpp - -####### Install - -install_target: first FORCE - @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/i386-linux-gnu/qt4/plugins/styles/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/i386-linux-gnu/qt4/plugins/styles/ - -$(INSTALL_PROGRAM) "../styles/$(TARGET)" "$(INSTALL_ROOT)/usr/lib/i386-linux-gnu/qt4/plugins/styles/$(TARGET)" - -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib/i386-linux-gnu/qt4/plugins/styles/$(TARGET)" - -uninstall_target: FORCE - -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/i386-linux-gnu/qt4/plugins/styles/$(TARGET)" - -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/i386-linux-gnu/qt4/plugins/styles/ - - -install_sources: first FORCE - @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/plugin/simplestyle.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/plugin/simplestyleplugin.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/plugin/tdeqt4painter.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/plugin/simplestyle.h $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/plugin/simplestyleplugin.h $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/plugin/tdeqt4painter.h $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - -$(INSTALL_FILE) /root/tdeqt4styleplugin/plugin/plugin.pro $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - - -uninstall_sources: FORCE - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/simplestyle.cpp - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/simplestyleplugin.cpp - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/tdeqt4painter.cpp - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/simplestyle.h - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/simplestyleplugin.h - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/tdeqt4painter.h - -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/plugin.pro - -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/tools/styleplugin/plugin/ - - -install: install_target install_sources FORCE - -uninstall: uninstall_target uninstall_sources FORCE - -FORCE: - diff --git a/plugin/plugin.pro b/plugin/plugin.pro index 08756ea..f179d64 100644 --- a/plugin/plugin.pro +++ b/plugin/plugin.pro @@ -23,7 +23,3 @@ target.path = $$[QT_INSTALL_PLUGINS]/styles sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/plugin INSTALLS += target sources - -symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) - -symbian:TARGET.EPOCALLOWDLLDATA = 1 diff --git a/styleplugin.pro b/styleplugin.pro index 74ae208..2bfa0fd 100644 --- a/styleplugin.pro +++ b/styleplugin.pro @@ -1,13 +1,8 @@ TEMPLATE = subdirs -SUBDIRS = stylewindow \ - plugin \ - unstyledwindow - +SUBDIRS = plugin # install target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS styleplugin.pro sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin INSTALLS += target sources - -symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)