diff options
author | Niklas Goby | 2011-01-11 17:12:03 +0100 |
---|---|---|
committer | Niklas Goby | 2011-01-11 17:12:03 +0100 |
commit | de751b500e635ea4c102a7c9bde442a45667b264 (patch) | |
tree | 32c799051ae526018a79df877ef9a75017221ff5 | |
parent | initial import (diff) | |
download | fbgui-de751b500e635ea4c102a7c9bde442a45667b264.tar.gz fbgui-de751b500e635ea4c102a7c9bde442a45667b264.tar.xz fbgui-de751b500e635ea4c102a7c9bde442a45667b264.zip |
der bisherige stand der dinge
28 files changed, 1207 insertions, 0 deletions
diff --git a/webkitTest/.cproject b/webkitTest/.cproject new file mode 100644 index 0000000..43adce0 --- /dev/null +++ b/webkitTest/.cproject @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?fileVersion 4.0.0?> + +<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> + <storageModule moduleId="org.eclipse.cdt.core.settings"> + <cconfiguration id="org.eclipse.cdt.core.default.config.1745527450"> + <storageModule buildSystemId="org.eclipse.cdt.core.defaultConfigDataProvider" id="org.eclipse.cdt.core.default.config.1745527450" moduleId="org.eclipse.cdt.core.settings" name="Configuration"> + <externalSettings/> + <extensions> + <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> + </extensions> + </storageModule> + <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> + <storageModule moduleId="scannerConfiguration"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/> + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="specsFile"> + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="makefileGenerator"> + <runAction arguments="-E -P -v -dD" command="" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="specsFile"> + <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="specsFile"> + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="specsFile"> + <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="specsFile"> + <runAction arguments="-c 'gcc -E -P -v -dD "${plugin_state_location}/${specs_file}"'" command="sh" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="specsFile"> + <runAction arguments="-c 'g++ -E -P -v -dD "${plugin_state_location}/specs.cpp"'" command="sh" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> + <buildOutputProvider> + <openAction enabled="true" filePath=""/> + <parser enabled="true"/> + </buildOutputProvider> + <scannerInfoProvider id="specsFile"> + <runAction arguments="-c 'gcc -E -P -v -dD "${plugin_state_location}/specs.c"'" command="sh" useDefault="true"/> + <parser enabled="true"/> + </scannerInfoProvider> + </profile> + </storageModule> + <storageModule moduleId="org.eclipse.cdt.core.pathentry"> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtNetwork" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtCore" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtXml" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtTest" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtDBus" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtSql" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtDeclarative" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtGui" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtScript" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtSvg" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtScriptTools" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtMultimedia" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtUiTools" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="Qt" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtWebKit" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtDesigner" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="Qt3Support" kind="inc" path="" system="true"/> + <pathentry base-path="/usr/local/Trolltech/QtEmbedded-4.7.1/include" include="QtHelp" kind="inc" path="" system="true"/> + </storageModule> + <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/> + <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/> + <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"> + <buildTargets> + <target name="Qt Release Build" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> + <buildCommand>make</buildCommand> + <buildTarget>release</buildTarget> + <stopOnError>false</stopOnError> + <useDefaultCommand>false</useDefaultCommand> + <runAllBuilders>true</runAllBuilders> + </target> + <target name="Qt Debug Build" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> + <buildCommand>make</buildCommand> + <buildTarget>debug</buildTarget> + <stopOnError>false</stopOnError> + <useDefaultCommand>false</useDefaultCommand> + <runAllBuilders>true</runAllBuilders> + </target> + </buildTargets> + </storageModule> + </cconfiguration> + </storageModule> +</cproject> diff --git a/webkitTest/.project b/webkitTest/.project new file mode 100644 index 0000000..bdc6242 --- /dev/null +++ b/webkitTest/.project @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>webkitTest</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>com.trolltech.qtcppproject.QtMakefileGenerator</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.cdt.make.core.makeBuilder</name> + <triggers>clean,full,incremental,</triggers> + <arguments> + <dictionary> + <key>org.eclipse.cdt.core.errorOutputParser</key> + <value>org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.VCErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.MakeErrorParser;</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.append_environment</key> + <value>true</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.build.arguments</key> + <value></value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.build.command</key> + <value>make</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.build.target.auto</key> + <value>debug</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.build.target.clean</key> + <value>clean</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.build.target.inc</key> + <value>debug</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.enableAutoBuild</key> + <value>false</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.enableCleanBuild</key> + <value>true</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.enableFullBuild</key> + <value>true</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.enabledIncrementalBuild</key> + <value>true</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.environment</key> + <value>PATH=/usr/local/Trolltech/QtEmbedded-4.7.1/bin:${env_var:PATH}:${env_var:PATH}|</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.stopOnError</key> + <value>false</value> + </dictionary> + <dictionary> + <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key> + <value>false</value> + </dictionary> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.cdt.make.core.ScannerConfigBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.cdt.core.cnature</nature> + <nature>org.eclipse.cdt.core.ccnature</nature> + <nature>org.eclipse.cdt.make.core.makeNature</nature> + <nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature> + <nature>com.trolltech.qtcppproject.QtNature</nature> + </natures> +</projectDescription> diff --git a/webkitTest/Makefile b/webkitTest/Makefile new file mode 100644 index 0000000..14a9442 --- /dev/null +++ b/webkitTest/Makefile @@ -0,0 +1,229 @@ +############################################################################# +# Makefile for building: webkitTest +# Generated by qmake (2.01a) (Qt 4.7.1) on: Thu Jan 6 13:34:05 2011 +# Project: webkitTest.pro +# Template: app +# Command: /usr/local/Trolltech/QtEmbedded-4.7.1/bin/qmake -o Makefile webkitTest.pro +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED +CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) +CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) +INCPATH = -I/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qws/linux-x86-g++ -I. -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtWebKit -I/usr/local/Trolltech/QtEmbedded-4.7.1/include -I. -I. +LINK = g++ +LFLAGS = -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.7.1/lib +LIBS = $(SUBLIBS) -L/usr/local/Trolltech/QtEmbedded-4.7.1/lib -lQtWebKit -lQtGui -L/usr/local/Trolltech/QtEmbedded-4.7.1/lib -lQtNetwork -lQtCore -lpthread +AR = ar cqs +RANLIB = +QMAKE = /usr/local/Trolltech/QtEmbedded-4.7.1/bin/qmake +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 = main.cpp \ + webkittest.cpp moc_webkittest.cpp +OBJECTS = main.o \ + webkittest.o \ + moc_webkittest.o +DIST = /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/g++.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/unix.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/linux.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/qws.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qconfig.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/modules/qt_webkit_version.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_functions.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_config.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/exclusive_builds.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_pre.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/release.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_post.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/warn_on.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/unix/thread.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/moc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/resources.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/uic.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/yacc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/lex.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/include_source_dir.prf \ + webkitTest.pro +QMAKE_TARGET = webkitTest +DESTDIR = +TARGET = webkitTest + +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 $(TARGET) + +$(TARGET): ui_webkittest.h $(OBJECTS) + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) + +Makefile: webkitTest.pro /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qws/linux-x86-g++/qmake.conf /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/g++.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/unix.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/linux.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/qws.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qconfig.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/modules/qt_webkit_version.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_functions.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_config.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/exclusive_builds.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_pre.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/release.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_post.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/warn_on.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/unix/thread.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/moc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/resources.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/uic.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/yacc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/lex.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/include_source_dir.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtWebKit.prl \ + /usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtGui.prl \ + /usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtNetwork.prl \ + /usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtCore.prl + $(QMAKE) -o Makefile webkitTest.pro +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/g++.conf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/unix.conf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/linux.conf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/qws.conf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qconfig.pri: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/modules/qt_webkit_version.pri: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_functions.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_config.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/exclusive_builds.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_pre.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/release.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_post.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/warn_on.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/unix/thread.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/moc.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/resources.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/uic.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/yacc.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/lex.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/include_source_dir.prf: +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtWebKit.prl: +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtGui.prl: +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtNetwork.prl: +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtCore.prl: +qmake: FORCE + @$(QMAKE) -o Makefile webkitTest.pro + +dist: + @$(CHK_DIR_EXISTS) .tmp/webkitTest1.0.0 || $(MKDIR) .tmp/webkitTest1.0.0 + $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/webkitTest1.0.0/ && $(COPY_FILE) --parents webkittest.h .tmp/webkitTest1.0.0/ && $(COPY_FILE) --parents main.cpp webkittest.cpp .tmp/webkitTest1.0.0/ && $(COPY_FILE) --parents webkittest.ui .tmp/webkitTest1.0.0/ && (cd `dirname .tmp/webkitTest1.0.0` && $(TAR) webkitTest1.0.0.tar webkitTest1.0.0 && $(COMPRESS) webkitTest1.0.0.tar) && $(MOVE) `dirname .tmp/webkitTest1.0.0`/webkitTest1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/webkitTest1.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_webkittest.cpp +compiler_moc_header_clean: + -$(DEL_FILE) moc_webkittest.cpp +moc_webkittest.cpp: ui_webkittest.h \ + webkittest.h + /usr/local/Trolltech/QtEmbedded-4.7.1/bin/moc $(DEFINES) $(INCPATH) webkittest.h -o moc_webkittest.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: +compiler_moc_source_clean: +compiler_uic_make_all: ui_webkittest.h +compiler_uic_clean: + -$(DEL_FILE) ui_webkittest.h +ui_webkittest.h: webkittest.ui + /usr/local/Trolltech/QtEmbedded-4.7.1/bin/uic webkittest.ui -o ui_webkittest.h + +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_uic_clean + +####### Compile + +main.o: main.cpp webkittest.h \ + ui_webkittest.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp + +webkittest.o: webkittest.cpp webkittest.h \ + ui_webkittest.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o webkittest.o webkittest.cpp + +moc_webkittest.o: moc_webkittest.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_webkittest.o moc_webkittest.cpp + +####### Install + +install: FORCE + +uninstall: FORCE + +FORCE: + diff --git a/webkitTest/Makefile.Debug b/webkitTest/Makefile.Debug new file mode 100644 index 0000000..5860ea1 --- /dev/null +++ b/webkitTest/Makefile.Debug @@ -0,0 +1,179 @@ +############################################################################# +# Makefile for building: webkitTest +# Generated by qmake (2.01a) (Qt 4.7.1) on: Wed Jan 5 15:42:24 2011 +# Project: webkitTest.pro +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED +CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES) +CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES) +INCPATH = -I/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qws/linux-x86-g++ -I. -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.7.1/include -Idebug -I. +LINK = g++ +LFLAGS = -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.7.1/lib +LIBS = $(SUBLIBS) -L/usr/local/Trolltech/QtEmbedded-4.7.1/lib -lQtGui -L/usr/local/Trolltech/QtEmbedded-4.7.1/lib -lQtNetwork -lQtCore -lpthread +AR = ar cqs +RANLIB = +QMAKE = /usr/local/Trolltech/QtEmbedded-4.7.1/bin/qmake +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 = debug/ + +####### Files + +SOURCES = main.cpp \ + webkittest.cpp debug/moc_webkittest.cpp +OBJECTS = debug/main.o \ + debug/webkittest.o \ + debug/moc_webkittest.o +DIST = /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/g++.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/unix.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/linux.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/qws.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qconfig.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/modules/qt_webkit_version.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_functions.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_config.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/exclusive_builds.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_pre.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/debug.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/debug_and_release.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_post.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/build_pass.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/warn_on.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/unix/thread.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/moc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/resources.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/uic.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/yacc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/lex.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/include_source_dir.prf \ + webkitTest.pro +QMAKE_TARGET = webkitTest +DESTDIR = +TARGET = webkitTest + +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.Debug $(TARGET) + +$(TARGET): ui_webkittest.h $(OBJECTS) + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) + +qmake: FORCE + @$(QMAKE) CONFIG+=debug_and_release -o Makefile.Debug webkitTest.pro + +dist: + @$(CHK_DIR_EXISTS) debug/webkitTest1.0.0 || $(MKDIR) debug/webkitTest1.0.0 + $(COPY_FILE) --parents $(SOURCES) $(DIST) debug/webkitTest1.0.0/ && $(COPY_FILE) --parents webkittest.h debug/webkitTest1.0.0/ && $(COPY_FILE) --parents main.cpp webkittest.cpp debug/webkitTest1.0.0/ && $(COPY_FILE) --parents webkittest.ui debug/webkitTest1.0.0/ && (cd `dirname debug/webkitTest1.0.0` && $(TAR) webkitTest1.0.0.tar webkitTest1.0.0 && $(COMPRESS) webkitTest1.0.0.tar) && $(MOVE) `dirname debug/webkitTest1.0.0`/webkitTest1.0.0.tar.gz . && $(DEL_FILE) -r debug/webkitTest1.0.0 + + +clean:compiler_clean + -$(DEL_FILE) $(OBJECTS) + -$(DEL_FILE) *~ core *.core + + +####### Sub-libraries + +distclean: clean + -$(DEL_FILE) $(TARGET) + -$(DEL_FILE) Makefile.Debug + + +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: debug/moc_webkittest.cpp +compiler_moc_header_clean: + -$(DEL_FILE) debug/moc_webkittest.cpp +debug/moc_webkittest.cpp: ui_webkittest.h \ + webkittest.h + /usr/local/Trolltech/QtEmbedded-4.7.1/bin/moc $(DEFINES) $(INCPATH) webkittest.h -o debug/moc_webkittest.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: +compiler_moc_source_clean: +compiler_uic_make_all: ui_webkittest.h +compiler_uic_clean: + -$(DEL_FILE) ui_webkittest.h +ui_webkittest.h: webkittest.ui + /usr/local/Trolltech/QtEmbedded-4.7.1/bin/uic webkittest.ui -o ui_webkittest.h + +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_uic_clean + +####### Compile + +debug/main.o: main.cpp webkittest.h \ + ui_webkittest.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp + +debug/webkittest.o: webkittest.cpp webkittest.h \ + ui_webkittest.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/webkittest.o webkittest.cpp + +debug/moc_webkittest.o: debug/moc_webkittest.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_webkittest.o debug/moc_webkittest.cpp + +####### Install + +install: FORCE + +uninstall: FORCE + +FORCE: + diff --git a/webkitTest/Makefile.Release b/webkitTest/Makefile.Release new file mode 100644 index 0000000..e472b76 --- /dev/null +++ b/webkitTest/Makefile.Release @@ -0,0 +1,179 @@ +############################################################################# +# Makefile for building: webkitTest +# Generated by qmake (2.01a) (Qt 4.7.1) on: Wed Jan 5 15:42:24 2011 +# Project: webkitTest.pro +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED +CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) +CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) +INCPATH = -I/usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qws/linux-x86-g++ -I. -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.7.1/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.7.1/include -Irelease -I. +LINK = g++ +LFLAGS = -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.7.1/lib +LIBS = $(SUBLIBS) -L/usr/local/Trolltech/QtEmbedded-4.7.1/lib -lQtGui -L/usr/local/Trolltech/QtEmbedded-4.7.1/lib -lQtNetwork -lQtCore -lpthread +AR = ar cqs +RANLIB = +QMAKE = /usr/local/Trolltech/QtEmbedded-4.7.1/bin/qmake +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 = release/ + +####### Files + +SOURCES = main.cpp \ + webkittest.cpp release/moc_webkittest.cpp +OBJECTS = release/main.o \ + release/webkittest.o \ + release/moc_webkittest.o +DIST = /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/g++.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/unix.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/linux.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/common/qws.conf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/qconfig.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/modules/qt_webkit_version.pri \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_functions.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt_config.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/exclusive_builds.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_pre.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/release.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/debug_and_release.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/default_post.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/build_pass.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/warn_on.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/qt.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/unix/thread.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/moc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/resources.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/uic.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/yacc.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/lex.prf \ + /usr/local/Trolltech/QtEmbedded-4.7.1/mkspecs/features/include_source_dir.prf \ + webkitTest.pro +QMAKE_TARGET = webkitTest +DESTDIR = +TARGET = webkitTest + +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.Release $(TARGET) + +$(TARGET): ui_webkittest.h $(OBJECTS) + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) + +qmake: FORCE + @$(QMAKE) CONFIG+=debug_and_release -o Makefile.Release webkitTest.pro + +dist: + @$(CHK_DIR_EXISTS) release/webkitTest1.0.0 || $(MKDIR) release/webkitTest1.0.0 + $(COPY_FILE) --parents $(SOURCES) $(DIST) release/webkitTest1.0.0/ && $(COPY_FILE) --parents webkittest.h release/webkitTest1.0.0/ && $(COPY_FILE) --parents main.cpp webkittest.cpp release/webkitTest1.0.0/ && $(COPY_FILE) --parents webkittest.ui release/webkitTest1.0.0/ && (cd `dirname release/webkitTest1.0.0` && $(TAR) webkitTest1.0.0.tar webkitTest1.0.0 && $(COMPRESS) webkitTest1.0.0.tar) && $(MOVE) `dirname release/webkitTest1.0.0`/webkitTest1.0.0.tar.gz . && $(DEL_FILE) -r release/webkitTest1.0.0 + + +clean:compiler_clean + -$(DEL_FILE) $(OBJECTS) + -$(DEL_FILE) *~ core *.core + + +####### Sub-libraries + +distclean: clean + -$(DEL_FILE) $(TARGET) + -$(DEL_FILE) Makefile.Release + + +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: release/moc_webkittest.cpp +compiler_moc_header_clean: + -$(DEL_FILE) release/moc_webkittest.cpp +release/moc_webkittest.cpp: ui_webkittest.h \ + webkittest.h + /usr/local/Trolltech/QtEmbedded-4.7.1/bin/moc $(DEFINES) $(INCPATH) webkittest.h -o release/moc_webkittest.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: +compiler_moc_source_clean: +compiler_uic_make_all: ui_webkittest.h +compiler_uic_clean: + -$(DEL_FILE) ui_webkittest.h +ui_webkittest.h: webkittest.ui + /usr/local/Trolltech/QtEmbedded-4.7.1/bin/uic webkittest.ui -o ui_webkittest.h + +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_uic_clean + +####### Compile + +release/main.o: main.cpp webkittest.h \ + ui_webkittest.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/main.o main.cpp + +release/webkittest.o: webkittest.cpp webkittest.h \ + ui_webkittest.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/webkittest.o webkittest.cpp + +release/moc_webkittest.o: release/moc_webkittest.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_webkittest.o release/moc_webkittest.cpp + +####### Install + +install: FORCE + +uninstall: FORCE + +FORCE: + diff --git a/webkitTest/arc.tar.gz b/webkitTest/arc.tar.gz Binary files differnew file mode 100644 index 0000000..62af58e --- /dev/null +++ b/webkitTest/arc.tar.gz diff --git a/webkitTest/archiv.tar.gz b/webkitTest/archiv.tar.gz Binary files differnew file mode 100644 index 0000000..188cb3e --- /dev/null +++ b/webkitTest/archiv.tar.gz diff --git a/webkitTest/archiv.tar.lzma b/webkitTest/archiv.tar.lzma Binary files differnew file mode 100644 index 0000000..b3f850a --- /dev/null +++ b/webkitTest/archiv.tar.lzma diff --git a/webkitTest/debug/main.o b/webkitTest/debug/main.o Binary files differnew file mode 100644 index 0000000..ba60215 --- /dev/null +++ b/webkitTest/debug/main.o diff --git a/webkitTest/debug/moc_webkittest.cpp b/webkitTest/debug/moc_webkittest.cpp new file mode 100644 index 0000000..d5f1a13 --- /dev/null +++ b/webkitTest/debug/moc_webkittest.cpp @@ -0,0 +1,69 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'webkittest.h' +** +** Created: Wed Jan 5 15:42:37 2011 +** by: The Qt Meta Object Compiler version 62 (Qt 4.7.1) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "../webkittest.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'webkittest.h' doesn't include <QObject>." +#elif Q_MOC_OUTPUT_REVISION != 62 +#error "This file was generated using the moc from 4.7.1. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_webkitTest[] = { + + // content: + 5, // revision + 0, // classname + 0, 0, // classinfo + 0, 0, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + 0 // eod +}; + +static const char qt_meta_stringdata_webkitTest[] = { + "webkitTest\0" +}; + +const QMetaObject webkitTest::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_webkitTest, + qt_meta_data_webkitTest, 0 } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &webkitTest::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *webkitTest::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *webkitTest::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_webkitTest)) + return static_cast<void*>(const_cast< webkitTest*>(this)); + return QWidget::qt_metacast(_clname); +} + +int webkitTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/webkitTest/debug/moc_webkittest.o b/webkitTest/debug/moc_webkittest.o Binary files differnew file mode 100644 index 0000000..d588634 --- /dev/null +++ b/webkitTest/debug/moc_webkittest.o diff --git a/webkitTest/debug/webkittest.o b/webkitTest/debug/webkittest.o Binary files differnew file mode 100644 index 0000000..d4df5b4 --- /dev/null +++ b/webkitTest/debug/webkittest.o diff --git a/webkitTest/files b/webkitTest/files new file mode 100644 index 0000000..4f00564 --- /dev/null +++ b/webkitTest/files @@ -0,0 +1,13 @@ +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtWebKit.so.4.7.1 +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtGui.so.4.7.1 +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtNetwork.so.4.7.1 +/usr/local/Trolltech/QtEmbedded-4.7.1/lib/libQtCore.so.4.7.1 +/lib/tls/i686/cmov/libpthread-2.11.1.so +/usr/lib/libstdc++.so.6.0.13 +/lib/tls/i686/cmov/libm-2.11.1.so +/lib/tls/i686/cmov/libc-2.11.1.so +/lib/libpng12.so.0.42.0 +/lib/libz.so.1.2.3.3 +/usr/lib/libfreetype.so.6.3.22 +/lib/tls/i686/cmov/libdl-2.11.1.so +/lib/tls/i686/cmov/librt-2.11.1.so diff --git a/webkitTest/main.cpp b/webkitTest/main.cpp new file mode 100644 index 0000000..d6ab041 --- /dev/null +++ b/webkitTest/main.cpp @@ -0,0 +1,22 @@ +#include "webkittest.h" + +#include <QtGui> +#include <QApplication> + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); + + QUrl url; + if (argc > 1) + url = QUrl(argv[1]); + else + url = QUrl("http://132.230.4.3/webkitTest.html"); + + webkitTest *w = new webkitTest(0, url); + //w.setUrl(url); + w->show(); + + return a.exec(); +} diff --git a/webkitTest/main.o b/webkitTest/main.o Binary files differnew file mode 100644 index 0000000..7d560ef --- /dev/null +++ b/webkitTest/main.o diff --git a/webkitTest/moc_webkittest.cpp b/webkitTest/moc_webkittest.cpp new file mode 100644 index 0000000..a5f24d6 --- /dev/null +++ b/webkitTest/moc_webkittest.cpp @@ -0,0 +1,84 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'webkittest.h' +** +** Created: Tue Jan 11 16:40:54 2011 +** by: The Qt Meta Object Compiler version 62 (Qt 4.7.1) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "webkittest.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'webkittest.h' doesn't include <QObject>." +#elif Q_MOC_OUTPUT_REVISION != 62 +#error "This file was generated using the moc from 4.7.1. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_webkitTest[] = { + + // content: + 5, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 12, 11, 11, 11, 0x08, + + // methods: signature, parameters, type, tag, flags + 31, 26, 11, 11, 0x02, + + 0 // eod +}; + +static const char qt_meta_stringdata_webkitTest[] = { + "webkitTest\0\0addJSObject()\0text\0" + "writeText(QString)\0" +}; + +const QMetaObject webkitTest::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_webkitTest, + qt_meta_data_webkitTest, 0 } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &webkitTest::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *webkitTest::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *webkitTest::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_webkitTest)) + return static_cast<void*>(const_cast< webkitTest*>(this)); + return QWidget::qt_metacast(_clname); +} + +int webkitTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + switch (_id) { + case 0: addJSObject(); break; + case 1: writeText((*reinterpret_cast< QString(*)>(_a[1]))); break; + default: ; + } + _id -= 2; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/webkitTest/moc_webkittest.o b/webkitTest/moc_webkittest.o Binary files differnew file mode 100644 index 0000000..eb99017 --- /dev/null +++ b/webkitTest/moc_webkittest.o diff --git a/webkitTest/out.txt b/webkitTest/out.txt new file mode 100644 index 0000000..40142d0 --- /dev/null +++ b/webkitTest/out.txt @@ -0,0 +1 @@ +blub diff --git a/webkitTest/tar b/webkitTest/tar new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/webkitTest/tar diff --git a/webkitTest/test.sh b/webkitTest/test.sh new file mode 100755 index 0000000..f2a9e2c --- /dev/null +++ b/webkitTest/test.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +for i in $(ldd webkitTest | awk '{print $3}' | grep lib ) +do + foo=$(dirname $i) + bar=$(readlink $i) + echo $foo/$bar >> files +done + +#| xargs tar -cf arc.tar diff --git a/webkitTest/ui_webkittest.h b/webkitTest/ui_webkittest.h new file mode 100644 index 0000000..732c834 --- /dev/null +++ b/webkitTest/ui_webkittest.h @@ -0,0 +1,56 @@ +/******************************************************************************** +** Form generated from reading UI file 'webkittest.ui' +** +** Created: Mon Jan 10 13:19:24 2011 +** by: Qt User Interface Compiler version 4.7.1 +** +** WARNING! All changes made in this file will be lost when recompiling UI file! +********************************************************************************/ + +#ifndef UI_WEBKITTEST_H +#define UI_WEBKITTEST_H + +#include <QtCore/QVariant> +#include <QtGui/QAction> +#include <QtGui/QApplication> +#include <QtGui/QButtonGroup> +#include <QtGui/QHeaderView> +#include <QtGui/QWidget> +#include <QtWebKit/QWebView> + +QT_BEGIN_NAMESPACE + +class Ui_webkitTestClass +{ +public: + QWebView *webView; + + void setupUi(QWidget *webkitTestClass) + { + if (webkitTestClass->objectName().isEmpty()) + webkitTestClass->setObjectName(QString::fromUtf8("webkitTestClass")); + webkitTestClass->resize(800, 600); + webView = new QWebView(webkitTestClass); + webView->setObjectName(QString::fromUtf8("webView")); + webView->setGeometry(QRect(0, 0, 800, 601)); + webView->setUrl(QUrl("about:blank")); + + retranslateUi(webkitTestClass); + + QMetaObject::connectSlotsByName(webkitTestClass); + } // setupUi + + void retranslateUi(QWidget *webkitTestClass) + { + webkitTestClass->setWindowTitle(QString()); + } // retranslateUi + +}; + +namespace Ui { + class webkitTestClass: public Ui_webkitTestClass {}; +} // namespace Ui + +QT_END_NAMESPACE + +#endif // UI_WEBKITTEST_H diff --git a/webkitTest/webkitTest b/webkitTest/webkitTest Binary files differnew file mode 100755 index 0000000..a0cc486 --- /dev/null +++ b/webkitTest/webkitTest diff --git a/webkitTest/webkitTest.pro b/webkitTest/webkitTest.pro new file mode 100644 index 0000000..6ecfd88 --- /dev/null +++ b/webkitTest/webkitTest.pro @@ -0,0 +1,10 @@ +TEMPLATE = app +TARGET = webkitTest + +QT += core gui webkit + +HEADERS += webkittest.h +SOURCES += main.cpp \ + webkittest.cpp +FORMS += webkittest.ui +RESOURCES += diff --git a/webkitTest/webkitarchiv.tar.gz b/webkitTest/webkitarchiv.tar.gz Binary files differnew file mode 100644 index 0000000..25dec2b --- /dev/null +++ b/webkitTest/webkitarchiv.tar.gz diff --git a/webkitTest/webkittest.cpp b/webkitTest/webkittest.cpp new file mode 100644 index 0000000..c8d460d --- /dev/null +++ b/webkitTest/webkittest.cpp @@ -0,0 +1,58 @@ +#include <QtGui> +#include <QtWebKit> +#include <QFile> //needed for In/Output +#include "webkittest.h" + +webkitTest::webkitTest(QWidget *parent, QUrl & url) + : QWidget(parent) +{ + ui.setupUi(this); + this->url = url; + //define starting page + ui.webView->load(this->url); //QUrl("http://132.230.4.3/webkitTest.html") + ui.webView->show(); + + //enable JavaScript access to qt objects + QObject::connect(ui.webView->page()->mainFrame(), SIGNAL(javaScriptWindowObjectCleared()), this, SLOT(addJSObject())); + + //remove the window decoration + Qt::WindowFlags flags = Qt::SplashScreen; + this->setWindowFlags(flags); + + //set form to fullscreen + this->showFullScreen(); + + //set webView to the same size as the form + ui.webView->resize(this->size()); + +} + + +//enable JavaScript access to qt objects +void webkitTest::addJSObject() { + ui.webView->page()->mainFrame()->addToJavaScriptWindowObject(QString("webkitTest"), this); +} + +void webkitTest::writeText(QString text){ + QFile file("out.txt"); + if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) + return; + + QTextStream out(&file); + out << text << "\n"; +} +/* +void webkitTest::setQApplication(const QApplication & app){ + +} +*/ +void webkitTest::setUrl(QUrl & url){ + this->url = url; +} + +webkitTest::~webkitTest() +{ + +} + + diff --git a/webkitTest/webkittest.h b/webkitTest/webkittest.h new file mode 100644 index 0000000..7136976 --- /dev/null +++ b/webkitTest/webkittest.h @@ -0,0 +1,27 @@ +#ifndef WEBKITTEST_H +#define WEBKITTEST_H + +#include <QtGui/QWidget> +#include "ui_webkittest.h" + +class webkitTest : public QWidget +{ + Q_OBJECT + +public: + webkitTest(QWidget *parent, QUrl & url); + ~webkitTest(); + Q_INVOKABLE void writeText(QString text); //used for writing web content into a file + //void setQApplication(const QApplication & app); + void setUrl(QUrl & url); + +private: + Ui::webkitTestClass ui; + QApplication * app; + QUrl url; + +private slots: + void addJSObject(); +}; + +#endif // WEBKITTEST_H diff --git a/webkitTest/webkittest.o b/webkitTest/webkittest.o Binary files differnew file mode 100644 index 0000000..947b1fa --- /dev/null +++ b/webkitTest/webkittest.o diff --git a/webkitTest/webkittest.ui b/webkitTest/webkittest.ui new file mode 100644 index 0000000..7652277 --- /dev/null +++ b/webkitTest/webkittest.ui @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>webkitTestClass</class> + <widget class="QWidget" name="webkitTestClass"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>800</width> + <height>600</height> + </rect> + </property> + <property name="windowTitle"> + <string/> + </property> + <widget class="QWebView" name="webView"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>800</width> + <height>601</height> + </rect> + </property> + <property name="url"> + <url> + <string>about:blank</string> + </url> + </property> + </widget> + </widget> + <layoutdefault spacing="6" margin="11"/> + <customwidgets> + <customwidget> + <class>QWebView</class> + <extends>QWidget</extends> + <header>QtWebKit/QWebView</header> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> |