From: apte Date: Thu, 19 Nov 2009 18:58:07 +0000 (+0000) Subject: adding mainwindow page sources and removing mainwindow sources X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=a44247edceca59d140d8fbdf85f0cbaac962e581;p=qtrapids adding mainwindow page sources and removing mainwindow sources git-svn-id: file:///svnroot/qtrapids/branches/draftharmattan@42 42ac0dd5-4c8c-4c71-bb3e-ecdfe252ffda --- diff --git a/CMakeCache.txt b/CMakeCache.txt new file mode 100644 index 0000000..2d209e5 --- /dev/null +++ b/CMakeCache.txt @@ -0,0 +1,813 @@ +# This is the CMakeCache file. +# For build in directory: /home/apte/qtrapidsnew/draftharmattan +# It was generated by CMake: /targets/FREMANTLE_X86/usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a library. +BOOST_SYSTEM:FILEPATH=/usr/lib/libboost_system-mt.so + +//Path to a program. +CMAKE_AR:FILEPATH=/scratchbox/compilers/bin/ar + +//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or +// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. +CMAKE_BUILD_TYPE:STRING= + +//Enable/Disable color output during build. +CMAKE_COLOR_MAKEFILE:BOOL=ON + +//CXX compiler. +CMAKE_CXX_COMPILER:FILEPATH=/scratchbox/compilers/bin/c++ + +//Flags used by the compiler during all build types. +CMAKE_CXX_FLAGS:STRING= + +//Flags used by the compiler during debug builds. +CMAKE_CXX_FLAGS_DEBUG:STRING=-g + +//Flags used by the compiler during release minsize builds. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds (/MD /Ob1 /Oi +// /Ot /Oy /Gs will produce slightly less optimized but smaller +// files). +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during Release with Debug Info builds. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g + +//C compiler. +CMAKE_C_COMPILER:FILEPATH=/scratchbox/compilers/bin/gcc + +//Flags used by the compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the compiler during debug builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the compiler during release minsize builds. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds (/MD /Ob1 /Oi +// /Ot /Oy /Gs will produce slightly less optimized but smaller +// files). +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during Release with Debug Info builds. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g + +//Flags used by the linker. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/scratchbox/compilers/bin/ld + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/scratchbox/tools/bin/make + +//Flags used by the linker during the creation of modules. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/scratchbox/compilers/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/scratchbox/compilers/bin/objcopy + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/scratchbox/compilers/bin/objdump + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/scratchbox/compilers/bin/ranlib + +//Flags used by the linker during the creation of dll's. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Path to a program. +CMAKE_STRIP:FILEPATH=/scratchbox/compilers/bin/strip + +//If true, cmake will use relative paths in makefiles and projects. +CMAKE_USE_RELATIVE_PATHS:BOOL=OFF + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Path to a program. +QT_DBUSCPP2XML_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/qdbuscpp2xml + +//Path to a program. +QT_DBUSXML2CPP_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/qdbusxml2cpp + +//The location of the Qt docs +QT_DOC_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/doc + +//Qt library dir +QT_LIBRARY_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/lib + +//Path to a program. +QT_LRELEASE_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/lrelease + +//Path to a program. +QT_LUPDATE_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/lupdate + +//The location of the Qt mkspecs containing qconfig.pri +QT_MKSPECS_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/mkspecs + +//The moc executable +QT_MOC_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/moc + +//Path to a file. +QT_PHONON_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/phonon + +//The Qt PHONON library +QT_PHONON_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libphonon.so + +//Path to a library. +QT_PHONON_LIBRARY_DEBUG:FILEPATH=QT_PHONON_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_PHONON_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libphonon.so + +//The location of the Qt plugins +QT_PLUGINS_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/plugins + +//Path to a program. +QT_QMAKE_EXECUTABLE:FILEPATH=/targets/FREMANTLE_X86/usr/bin/qmake + +//Path to a file. +QT_QT3SUPPORT_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/Qt3Support + +//The Qt QT3SUPPORT library +QT_QT3SUPPORT_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQt3Support.so + +//Path to a library. +QT_QT3SUPPORT_LIBRARY_DEBUG:FILEPATH=QT_QT3SUPPORT_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QT3SUPPORT_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQt3Support.so + +//Path to a file. +QT_QTASSISTANTCLIENT_INCLUDE_DIR:PATH=QT_QTASSISTANTCLIENT_INCLUDE_DIR-NOTFOUND + +//Path to a library. +QT_QTASSISTANTCLIENT_LIBRARY_DEBUG:FILEPATH=QT_QTASSISTANTCLIENT_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTASSISTANTCLIENT_LIBRARY_RELEASE:FILEPATH=QT_QTASSISTANTCLIENT_LIBRARY_RELEASE-NOTFOUND + +//Path to a file. +QT_QTASSISTANT_INCLUDE_DIR:PATH=QT_QTASSISTANT_INCLUDE_DIR-NOTFOUND + +//Path to a library. +QT_QTASSISTANT_LIBRARY_DEBUG:FILEPATH=QT_QTASSISTANT_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTASSISTANT_LIBRARY_RELEASE:FILEPATH=QT_QTASSISTANT_LIBRARY_RELEASE-NOTFOUND + +//The Qt QTCLUCENE library +QT_QTCLUCENE_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtCLucene.so + +//Path to a library. +QT_QTCLUCENE_LIBRARY_DEBUG:FILEPATH=QT_QTCLUCENE_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTCLUCENE_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtCLucene.so + +//Path to a file. +QT_QTCORE_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtCore + +//The Qt QTCORE library +QT_QTCORE_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtCore.so + +//Path to a library. +QT_QTCORE_LIBRARY_DEBUG:FILEPATH=QT_QTCORE_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTCORE_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtCore.so + +//Path to a file. +QT_QTDBUS_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtDBus + +//The Qt QTDBUS library +QT_QTDBUS_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtDBus.so + +//Path to a library. +QT_QTDBUS_LIBRARY_DEBUG:FILEPATH=QT_QTDBUS_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTDBUS_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtDBus.so + +//Path to a file. +QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtDesigner + +//The Qt QTDESIGNERCOMPONENTS library +QT_QTDESIGNERCOMPONENTS_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtDesignerComponents.so + +//Path to a library. +QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG:FILEPATH=QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtDesignerComponents.so + +//Path to a file. +QT_QTDESIGNER_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtDesigner + +//The Qt QTDESIGNER library +QT_QTDESIGNER_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtDesigner.so + +//Path to a library. +QT_QTDESIGNER_LIBRARY_DEBUG:FILEPATH=QT_QTDESIGNER_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTDESIGNER_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtDesigner.so + +//Path to a file. +QT_QTGUI_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtGui + +//The Qt QTGUI library +QT_QTGUI_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtGui.so + +//Path to a library. +QT_QTGUI_LIBRARY_DEBUG:FILEPATH=QT_QTGUI_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTGUI_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtGui.so + +//Path to a file. +QT_QTHELP_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtHelp + +//The Qt QTHELP library +QT_QTHELP_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtHelp.so + +//Path to a library. +QT_QTHELP_LIBRARY_DEBUG:FILEPATH=QT_QTHELP_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTHELP_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtHelp.so + +//Path to a file. +QT_QTMOTIF_INCLUDE_DIR:PATH=QT_QTMOTIF_INCLUDE_DIR-NOTFOUND + +//Path to a library. +QT_QTMOTIF_LIBRARY_DEBUG:FILEPATH=QT_QTMOTIF_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTMOTIF_LIBRARY_RELEASE:FILEPATH=QT_QTMOTIF_LIBRARY_RELEASE-NOTFOUND + +//Path to a file. +QT_QTNETWORK_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtNetwork + +//The Qt QTNETWORK library +QT_QTNETWORK_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtNetwork.so + +//Path to a library. +QT_QTNETWORK_LIBRARY_DEBUG:FILEPATH=QT_QTNETWORK_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTNETWORK_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtNetwork.so + +//Path to a file. +QT_QTNSPLUGIN_INCLUDE_DIR:PATH=QT_QTNSPLUGIN_INCLUDE_DIR-NOTFOUND + +//Path to a library. +QT_QTNSPLUGIN_LIBRARY_DEBUG:FILEPATH=QT_QTNSPLUGIN_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTNSPLUGIN_LIBRARY_RELEASE:FILEPATH=QT_QTNSPLUGIN_LIBRARY_RELEASE-NOTFOUND + +//Path to a file. +QT_QTOPENGL_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtOpenGL + +//The Qt QTOPENGL library +QT_QTOPENGL_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtOpenGL.so + +//Path to a library. +QT_QTOPENGL_LIBRARY_DEBUG:FILEPATH=QT_QTOPENGL_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTOPENGL_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtOpenGL.so + +//Path to a file. +QT_QTSCRIPT_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtScript + +//The Qt QTSCRIPT library +QT_QTSCRIPT_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtScript.so + +//Path to a library. +QT_QTSCRIPT_LIBRARY_DEBUG:FILEPATH=QT_QTSCRIPT_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTSCRIPT_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtScript.so + +//Path to a file. +QT_QTSQL_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtSql + +//The Qt QTSQL library +QT_QTSQL_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtSql.so + +//Path to a library. +QT_QTSQL_LIBRARY_DEBUG:FILEPATH=QT_QTSQL_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTSQL_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtSql.so + +//Path to a file. +QT_QTSVG_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtSvg + +//The Qt QTSVG library +QT_QTSVG_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtSvg.so + +//Path to a library. +QT_QTSVG_LIBRARY_DEBUG:FILEPATH=QT_QTSVG_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTSVG_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtSvg.so + +//Path to a file. +QT_QTTEST_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtTest + +//The Qt QTTEST library +QT_QTTEST_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtTest.so + +//Path to a library. +QT_QTTEST_LIBRARY_DEBUG:FILEPATH=QT_QTTEST_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTTEST_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtTest.so + +//Path to a file. +QT_QTUITOOLS_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtUiTools + +//The Qt QTUITOOLS library +QT_QTUITOOLS_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtUiTools.a + +//Path to a library. +QT_QTUITOOLS_LIBRARY_DEBUG:FILEPATH=QT_QTUITOOLS_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTUITOOLS_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtUiTools.a + +//Path to a file. +QT_QTWEBKIT_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtWebKit + +//The Qt QTWEBKIT library +QT_QTWEBKIT_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtWebKit.so + +//Path to a library. +QT_QTWEBKIT_LIBRARY_DEBUG:FILEPATH=QT_QTWEBKIT_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTWEBKIT_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtWebKit.so + +//Path to a file. +QT_QTXMLPATTERNS_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtXmlPatterns + +//The Qt QTXMLPATTERNS library +QT_QTXMLPATTERNS_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtXmlPatterns.so + +//Path to a library. +QT_QTXMLPATTERNS_LIBRARY_DEBUG:FILEPATH=QT_QTXMLPATTERNS_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTXMLPATTERNS_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtXmlPatterns.so + +//Path to a file. +QT_QTXML_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtXml + +//The Qt QTXML library +QT_QTXML_LIBRARY:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtXml.so + +//Path to a library. +QT_QTXML_LIBRARY_DEBUG:FILEPATH=QT_QTXML_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +QT_QTXML_LIBRARY_RELEASE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/lib/libQtXml.so + +//Path to a program. +QT_RCC_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/rcc + +//The location of the Qt translations +QT_TRANSLATIONS_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/translations + +//Path to a program. +QT_UIC3_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/uic3 + +//The uic executable +QT_UIC_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.7.0/bin/uic + +//Path to a library. +QT_X11_X11_LIBRARY:FILEPATH=/usr/lib/libX11.so + +//Path to a library. +QT_X11_Xext_LIBRARY:FILEPATH=/usr/lib/libXext.so + +//Path to a library. +QT_X11_m_LIBRARY:FILEPATH=/usr/lib/libm.so + +//Path to a library. +TORRENT_RASTERBAR:FILEPATH=/usr/local/lib/libtorrent-rasterbar.so + +//Value Computed by CMake +qtrapids_BINARY_DIR:STATIC=/home/apte/qtrapidsnew/draftharmattan + +//Value Computed by CMake +qtrapids_SOURCE_DIR:STATIC=/home/apte/qtrapidsnew/draftharmattan + + +######################## +# INTERNAL cache entries +######################## + +//Advanced flag for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_BUILD_TOOL +CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1 +//What is the target build tool cmake is generating for. +CMAKE_BUILD_TOOL:INTERNAL=/scratchbox/tools/bin/make +//This is the directory where this CMakeCahe.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/apte/qtrapidsnew/draftharmattan +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=6 +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 3 +//Advanced flag for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/targets/FREMANTLE_X86/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/targets/FREMANTLE_X86/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/targets/FREMANTLE_X86/usr/bin/ctest +//Advanced flag for variable: CMAKE_CXX_COMPILER +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 +CMAKE_CXX_COMPILER_WORKS:INTERNAL=1 +//Advanced flag for variable: CMAKE_CXX_FLAGS +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_C_COMPILER +CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 +CMAKE_C_COMPILER_WORKS:INTERNAL=1 +//Advanced flag for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Result of TRY_COMPILE +CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE +//Result of TRY_COMPILE +CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF +//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Start directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/apte/qtrapidsnew/draftharmattan +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 +//Advanced flag for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=4 +//Advanced flag for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/targets/FREMANTLE_X86/usr/share/cmake-2.6 +//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/scratchbox/tools/bin/uname +//Advanced flag for variable: CMAKE_USE_RELATIVE_PATHS +CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1 +//Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Details about finding Qt4 +FIND_PACKAGE_MESSAGE_DETAILS_Qt4:INTERNAL=[/usr/local/Trolltech/Qt-4.7.0/lib][/usr/local/Trolltech/Qt-4.7.0/include][/usr/local/Trolltech/Qt-4.7.0/bin/moc][/usr/local/Trolltech/Qt-4.7.0/bin/uic][/usr/local/Trolltech/Qt-4.7.0/bin/rcc] +QT_BINARY_DIR:INTERNAL=/usr/local/Trolltech/Qt-4.7.0/bin +//Advanced flag for variable: QT_DBUSCPP2XML_EXECUTABLE +QT_DBUSCPP2XML_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_DBUSXML2CPP_EXECUTABLE +QT_DBUSXML2CPP_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_DOC_DIR +QT_DOC_DIR-ADVANCED:INTERNAL=1 +QT_HEADERS_DIR:INTERNAL=/usr/local/Trolltech/Qt-4.7.0/include +//Advanced flag for variable: QT_LIBRARY_DIR +QT_LIBRARY_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_LRELEASE_EXECUTABLE +QT_LRELEASE_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_LUPDATE_EXECUTABLE +QT_LUPDATE_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_MKSPECS_DIR +QT_MKSPECS_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_MOC_EXECUTABLE +QT_MOC_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_PHONON_INCLUDE_DIR +QT_PHONON_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_PHONON_LIBRARY +QT_PHONON_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_PHONON_LIBRARY_DEBUG +QT_PHONON_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_PHONON_LIBRARY_RELEASE +QT_PHONON_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_PLUGINS_DIR +QT_PLUGINS_DIR-ADVANCED:INTERNAL=1 +QT_QMAKE_EXECUTABLE_LAST:INTERNAL=/targets/FREMANTLE_X86/usr/bin/qmake +//Advanced flag for variable: QT_QT3SUPPORT_INCLUDE_DIR +QT_QT3SUPPORT_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QT3SUPPORT_LIBRARY +QT_QT3SUPPORT_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QT3SUPPORT_LIBRARY_DEBUG +QT_QT3SUPPORT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QT3SUPPORT_LIBRARY_RELEASE +QT_QT3SUPPORT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTASSISTANTCLIENT_INCLUDE_DIR +QT_QTASSISTANTCLIENT_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTASSISTANTCLIENT_LIBRARY_DEBUG +QT_QTASSISTANTCLIENT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTASSISTANTCLIENT_LIBRARY_RELEASE +QT_QTASSISTANTCLIENT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTASSISTANT_INCLUDE_DIR +QT_QTASSISTANT_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTASSISTANT_LIBRARY_DEBUG +QT_QTASSISTANT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTASSISTANT_LIBRARY_RELEASE +QT_QTASSISTANT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTCLUCENE_LIBRARY +QT_QTCLUCENE_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTCLUCENE_LIBRARY_DEBUG +QT_QTCLUCENE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTCLUCENE_LIBRARY_RELEASE +QT_QTCLUCENE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTCORE_INCLUDE_DIR +QT_QTCORE_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTCORE_LIBRARY +QT_QTCORE_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTCORE_LIBRARY_DEBUG +QT_QTCORE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTCORE_LIBRARY_RELEASE +QT_QTCORE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDBUS_INCLUDE_DIR +QT_QTDBUS_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDBUS_LIBRARY +QT_QTDBUS_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDBUS_LIBRARY_DEBUG +QT_QTDBUS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDBUS_LIBRARY_RELEASE +QT_QTDBUS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR +QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY +QT_QTDESIGNERCOMPONENTS_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG +QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE +QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNER_INCLUDE_DIR +QT_QTDESIGNER_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNER_LIBRARY +QT_QTDESIGNER_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNER_LIBRARY_DEBUG +QT_QTDESIGNER_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTDESIGNER_LIBRARY_RELEASE +QT_QTDESIGNER_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTGUI_INCLUDE_DIR +QT_QTGUI_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTGUI_LIBRARY +QT_QTGUI_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTGUI_LIBRARY_DEBUG +QT_QTGUI_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTGUI_LIBRARY_RELEASE +QT_QTGUI_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTHELP_INCLUDE_DIR +QT_QTHELP_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTHELP_LIBRARY +QT_QTHELP_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTHELP_LIBRARY_DEBUG +QT_QTHELP_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTHELP_LIBRARY_RELEASE +QT_QTHELP_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTMOTIF_INCLUDE_DIR +QT_QTMOTIF_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTMOTIF_LIBRARY_DEBUG +QT_QTMOTIF_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTMOTIF_LIBRARY_RELEASE +QT_QTMOTIF_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTNETWORK_INCLUDE_DIR +QT_QTNETWORK_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTNETWORK_LIBRARY +QT_QTNETWORK_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTNETWORK_LIBRARY_DEBUG +QT_QTNETWORK_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTNETWORK_LIBRARY_RELEASE +QT_QTNETWORK_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTNSPLUGIN_INCLUDE_DIR +QT_QTNSPLUGIN_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTNSPLUGIN_LIBRARY_DEBUG +QT_QTNSPLUGIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTNSPLUGIN_LIBRARY_RELEASE +QT_QTNSPLUGIN_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTOPENGL_INCLUDE_DIR +QT_QTOPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTOPENGL_LIBRARY +QT_QTOPENGL_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTOPENGL_LIBRARY_DEBUG +QT_QTOPENGL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTOPENGL_LIBRARY_RELEASE +QT_QTOPENGL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSCRIPT_INCLUDE_DIR +QT_QTSCRIPT_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSCRIPT_LIBRARY +QT_QTSCRIPT_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSCRIPT_LIBRARY_DEBUG +QT_QTSCRIPT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSCRIPT_LIBRARY_RELEASE +QT_QTSCRIPT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSQL_INCLUDE_DIR +QT_QTSQL_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSQL_LIBRARY +QT_QTSQL_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSQL_LIBRARY_DEBUG +QT_QTSQL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSQL_LIBRARY_RELEASE +QT_QTSQL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSVG_INCLUDE_DIR +QT_QTSVG_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSVG_LIBRARY +QT_QTSVG_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSVG_LIBRARY_DEBUG +QT_QTSVG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTSVG_LIBRARY_RELEASE +QT_QTSVG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTTEST_INCLUDE_DIR +QT_QTTEST_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTTEST_LIBRARY +QT_QTTEST_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTTEST_LIBRARY_DEBUG +QT_QTTEST_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTTEST_LIBRARY_RELEASE +QT_QTTEST_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTUITOOLS_INCLUDE_DIR +QT_QTUITOOLS_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTUITOOLS_LIBRARY +QT_QTUITOOLS_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTUITOOLS_LIBRARY_DEBUG +QT_QTUITOOLS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTUITOOLS_LIBRARY_RELEASE +QT_QTUITOOLS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTWEBKIT_INCLUDE_DIR +QT_QTWEBKIT_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTWEBKIT_LIBRARY +QT_QTWEBKIT_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTWEBKIT_LIBRARY_DEBUG +QT_QTWEBKIT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTWEBKIT_LIBRARY_RELEASE +QT_QTWEBKIT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXMLPATTERNS_INCLUDE_DIR +QT_QTXMLPATTERNS_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXMLPATTERNS_LIBRARY +QT_QTXMLPATTERNS_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXMLPATTERNS_LIBRARY_DEBUG +QT_QTXMLPATTERNS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXMLPATTERNS_LIBRARY_RELEASE +QT_QTXMLPATTERNS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXML_INCLUDE_DIR +QT_QTXML_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXML_LIBRARY +QT_QTXML_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXML_LIBRARY_DEBUG +QT_QTXML_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_QTXML_LIBRARY_RELEASE +QT_QTXML_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_RCC_EXECUTABLE +QT_RCC_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_TRANSLATIONS_DIR +QT_TRANSLATIONS_DIR-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_UIC3_EXECUTABLE +QT_UIC3_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_UIC_EXECUTABLE +QT_UIC_EXECUTABLE-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_X11_X11_LIBRARY +QT_X11_X11_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_X11_Xext_LIBRARY +QT_X11_Xext_LIBRARY-ADVANCED:INTERNAL=1 +//Advanced flag for variable: QT_X11_m_LIBRARY +QT_X11_m_LIBRARY-ADVANCED:INTERNAL=1 +//Have symbol Q_WS_MAC +Q_WS_MAC:INTERNAL= +//Have symbol Q_WS_QWS +Q_WS_QWS:INTERNAL= +//Have symbol Q_WS_WIN +Q_WS_WIN:INTERNAL= +//Have symbol Q_WS_X11 +Q_WS_X11:INTERNAL=1 + diff --git a/CMakeFiles/CMakeCCompiler.cmake b/CMakeFiles/CMakeCCompiler.cmake new file mode 100644 index 0000000..f8eac9d --- /dev/null +++ b/CMakeFiles/CMakeCCompiler.cmake @@ -0,0 +1,36 @@ +SET(CMAKE_C_COMPILER "/scratchbox/compilers/bin/gcc") +SET(CMAKE_C_COMPILER_ARG1 "") +SET(CMAKE_C_COMPILER_ID "GNU") +SET(CMAKE_C_PLATFORM_ID "Linux") +SET(CMAKE_AR "/scratchbox/compilers/bin/ar") +SET(CMAKE_RANLIB "/scratchbox/compilers/bin/ranlib") +SET(CMAKE_COMPILER_IS_GNUCC 1) +SET(CMAKE_C_COMPILER_LOADED 1) +SET(CMAKE_COMPILER_IS_MINGW ) +SET(CMAKE_COMPILER_IS_CYGWIN ) +IF(CMAKE_COMPILER_IS_CYGWIN) + SET(CYGWIN 1) + SET(UNIX 1) +ENDIF(CMAKE_COMPILER_IS_CYGWIN) + +SET(CMAKE_C_COMPILER_ENV_VAR "CC") + +IF(CMAKE_COMPILER_IS_MINGW) + SET(MINGW 1) +ENDIF(CMAKE_COMPILER_IS_MINGW) +SET(CMAKE_C_COMPILER_ID_RUN 1) +SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c) +SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +SET(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +SET(CMAKE_C_SIZEOF_DATA_PTR "4") +SET(CMAKE_C_COMPILER_ABI "ELF") + +IF(CMAKE_C_SIZEOF_DATA_PTR) + SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +ENDIF(CMAKE_C_SIZEOF_DATA_PTR) + +IF(CMAKE_C_COMPILER_ABI) + SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +ENDIF(CMAKE_C_COMPILER_ABI) diff --git a/CMakeFiles/CMakeCXXCompiler.cmake b/CMakeFiles/CMakeCXXCompiler.cmake new file mode 100644 index 0000000..f607c10 --- /dev/null +++ b/CMakeFiles/CMakeCXXCompiler.cmake @@ -0,0 +1,36 @@ +SET(CMAKE_CXX_COMPILER "/scratchbox/compilers/bin/c++") +SET(CMAKE_CXX_COMPILER_ARG1 "") +SET(CMAKE_CXX_COMPILER_ID "GNU") +SET(CMAKE_CXX_PLATFORM_ID "Linux") +SET(CMAKE_AR "/scratchbox/compilers/bin/ar") +SET(CMAKE_RANLIB "/scratchbox/compilers/bin/ranlib") +SET(CMAKE_COMPILER_IS_GNUCXX 1) +SET(CMAKE_CXX_COMPILER_LOADED 1) +SET(CMAKE_COMPILER_IS_MINGW ) +SET(CMAKE_COMPILER_IS_CYGWIN ) +IF(CMAKE_COMPILER_IS_CYGWIN) + SET(CYGWIN 1) + SET(UNIX 1) +ENDIF(CMAKE_COMPILER_IS_CYGWIN) + +SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +IF(CMAKE_COMPILER_IS_MINGW) + SET(MINGW 1) +ENDIF(CMAKE_COMPILER_IS_MINGW) +SET(CMAKE_CXX_COMPILER_ID_RUN 1) +SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;H;o;O;obj;OBJ;def;DEF;rc;RC) +SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm) +SET(CMAKE_CXX_LINKER_PREFERENCE 30) + +# Save compiler ABI information. +SET(CMAKE_CXX_SIZEOF_DATA_PTR "4") +SET(CMAKE_CXX_COMPILER_ABI "ELF") + +IF(CMAKE_CXX_SIZEOF_DATA_PTR) + SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") +ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR) + +IF(CMAKE_CXX_COMPILER_ABI) + SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") +ENDIF(CMAKE_CXX_COMPILER_ABI) diff --git a/CMakeFiles/CMakeDetermineCompilerABI_C.bin b/CMakeFiles/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 0000000..fceae44 Binary files /dev/null and b/CMakeFiles/CMakeDetermineCompilerABI_C.bin differ diff --git a/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin b/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin new file mode 100755 index 0000000..71c6266 Binary files /dev/null and b/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin differ diff --git a/CMakeFiles/CMakeError.log b/CMakeFiles/CMakeError.log new file mode 100644 index 0000000..e460b69 --- /dev/null +++ b/CMakeFiles/CMakeError.log @@ -0,0 +1,90 @@ +Determining if the Q_WS_WIN exist failed with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o +/scratchbox/compilers/bin/gcc -I/usr/local/Trolltech/Qt-4.7.0/include -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -c /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_WIN' undeclared (first use in this function) +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.) +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1 +make: *** [cmTryCompileExec/fast] Error 2 + +File /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c: +/* */ +#include + +void cmakeRequireSymbol(int dummy,...){(void)dummy;} +int main() +{ +#ifndef Q_WS_WIN + cmakeRequireSymbol(0,&Q_WS_WIN); +#endif + return 0; +} + +Determining if the Q_WS_QWS exist failed with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o +/scratchbox/compilers/bin/gcc -I/usr/local/Trolltech/Qt-4.7.0/include -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -c /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_QWS' undeclared (first use in this function) +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.) +make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1 +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +make: *** [cmTryCompileExec/fast] Error 2 + +File /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c: +/* */ +#include + +void cmakeRequireSymbol(int dummy,...){(void)dummy;} +int main() +{ +#ifndef Q_WS_QWS + cmakeRequireSymbol(0,&Q_WS_QWS); +#endif + return 0; +} + +Determining if the Q_WS_MAC exist failed with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o +/scratchbox/compilers/bin/gcc -I/usr/local/Trolltech/Qt-4.7.0/include -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -c /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: 'Q_WS_MAC' undeclared (first use in this function) +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once +/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: error: for each function it appears in.) +make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o] Error 1 +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +make: *** [cmTryCompileExec/fast] Error 2 + +File /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c: +/* */ +#include + +void cmakeRequireSymbol(int dummy,...){(void)dummy;} +int main() +{ +#ifndef Q_WS_MAC + cmakeRequireSymbol(0,&Q_WS_MAC); +#endif + return 0; +} + diff --git a/CMakeFiles/CMakeOutput.log b/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000..338cb7d --- /dev/null +++ b/CMakeFiles/CMakeOutput.log @@ -0,0 +1,116 @@ +The system is: Linux - 2.6.31-14-generic - i686 +Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. +Compiler: /scratchbox/compilers/bin/gcc +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" + +The C compiler identification is GNU, found in "/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CompilerIdC/a.out" + +Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. +Compiler: /scratchbox/compilers/bin/c++ +Build flags: +Id flags: + +The output was: +0 +CMakeCXXCompilerId.cpp:67: warning: deprecated conversion from string constant to 'char*' +CMakeCXXCompilerId.cpp:157: warning: deprecated conversion from string constant to 'char*' + + +Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" + +The CXX compiler identification is GNU, found in "/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CompilerIdCXX/a.out" + +Determining if the C compiler works passed with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o +/scratchbox/compilers/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/testCCompiler.c +Linking C executable cmTryCompileExec +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 +/scratchbox/compilers/bin/gcc CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building C object CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o +/scratchbox/compilers/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -c /targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCCompilerABI.c +Linking C executable cmTryCompileExec +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 +/scratchbox/compilers/bin/gcc CMakeFiles/cmTryCompileExec.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec -rdynamic +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' + + +Determining if the CXX compiler works passed with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o +/scratchbox/compilers/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/testCXXCompiler.cxx +Linking CXX executable cmTryCompileExec +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 +/scratchbox/compilers/bin/c++ CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExec -rdynamic +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' + + +Detecting CXX compiler ABI info compiled with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building CXX object CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o +/scratchbox/compilers/bin/c++ -o CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -c /targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCXXCompilerABI.cpp +Linking CXX executable cmTryCompileExec +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 +/scratchbox/compilers/bin/c++ CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec -rdynamic +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' + + +Determining if the Q_WS_X11 exist passed with the following output: +Change Dir: /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp + +Run Build Command:/scratchbox/tools/bin/make "cmTryCompileExec/fast" +/scratchbox/tools/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build +make[1]: Entering directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CMakeFiles 1 +Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o +/scratchbox/compilers/bin/gcc -I/usr/local/Trolltech/Qt-4.7.0/include -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -c /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c +Linking C executable cmTryCompileExec +/targets/FREMANTLE_X86/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 +/scratchbox/compilers/bin/gcc CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.c.o -o cmTryCompileExec -rdynamic +make[1]: Leaving directory `/home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp' + +File /home/apte/qtrapidsnew/draftharmattan/CMakeFiles/CMakeTmp/CheckSymbolExists.c: +/* */ +#include + +void cmakeRequireSymbol(int dummy,...){(void)dummy;} +int main() +{ +#ifndef Q_WS_X11 + cmakeRequireSymbol(0,&Q_WS_X11); +#endif + return 0; +} + diff --git a/CMakeFiles/CMakeSystem.cmake b/CMakeFiles/CMakeSystem.cmake new file mode 100644 index 0000000..8cc06f8 --- /dev/null +++ b/CMakeFiles/CMakeSystem.cmake @@ -0,0 +1,15 @@ + + +SET(CMAKE_SYSTEM "Linux-2.6.31-14-generic") +SET(CMAKE_SYSTEM_NAME "Linux") +SET(CMAKE_SYSTEM_VERSION "2.6.31-14-generic") +SET(CMAKE_SYSTEM_PROCESSOR "i686") + +SET(CMAKE_HOST_SYSTEM "Linux-2.6.31-14-generic") +SET(CMAKE_HOST_SYSTEM_NAME "Linux") +SET(CMAKE_HOST_SYSTEM_VERSION "2.6.31-14-generic") +SET(CMAKE_HOST_SYSTEM_PROCESSOR "i686") + +SET(CMAKE_CROSSCOMPILING "FALSE") + +SET(CMAKE_SYSTEM_LOADED 1) diff --git a/CMakeFiles/CompilerIdC/CMakeCCompilerId.c b/CMakeFiles/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..7fd0088 --- /dev/null +++ b/CMakeFiles/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,182 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + +#elif defined(__WATCOMC__) +# define COMPILER_ID "Watcom" + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + +#elif defined(__IBMC__) +# define COMPILER_ID "VisualAge" + +#elif defined(__PGI) +# define COMPILER_ID "PGI" + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + +#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +/* Analog Devices C++ compiler for Blackfin, TigerSHARC and + SHARC (21000) DSPs */ +# define COMPILER_ID "ADSP" + +/* IAR Systems compiler for embedded systems. + http://www.iar.com + Not supported yet by CMake +#elif defined(__IAR_SYSTEMS_ICC__) +# define COMPILER_ID "IAR" */ + +/* sdcc, the small devices C compiler for embedded systems, + http://sdcc.sourceforge.net */ +#elif defined(SDCC) +# define COMPILER_ID "SDCC" + +#elif defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" + +/* This compiler is either not known or is too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__sgi) +# define COMPILER_ID "MIPSpro" + +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" + +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU) +# define PLATFORM_ID "Haiku" +/* Haiku also defines __BEOS__ so we must + put it prior to the check for __BEOS__ +*/ + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#else /* unknown platform */ +# define PLATFORM_ID "" + +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; + + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + (void)argv; + return require; +} +#endif diff --git a/CMakeFiles/CompilerIdC/a.out b/CMakeFiles/CompilerIdC/a.out new file mode 100755 index 0000000..df8cafc Binary files /dev/null and b/CMakeFiles/CompilerIdC/a.out differ diff --git a/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp b/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 0000000..f8c041f --- /dev/null +++ b/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -0,0 +1,169 @@ +/* This source file must have a .cpp extension so that all C++ compilers + recognize the extension without flags. Borland does not know .cxx for + example. */ +#ifndef __cplusplus +# error "A C compiler has been selected for C++." +#endif + +#if defined(__COMO__) +# define COMPILER_ID "Comeau" + +#elif defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + +#elif defined(__WATCOMC__) +# define COMPILER_ID "Watcom" + +#elif defined(__SUNPRO_CC) +# define COMPILER_ID "SunPro" + +#elif defined(__HP_aCC) +# define COMPILER_ID "HP" + +#elif defined(__DECCXX) +# define COMPILER_ID "Compaq" + +#elif defined(__IBMCPP__) +# define COMPILER_ID "VisualAge" + +#elif defined(__PGI) +# define COMPILER_ID "PGI" + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + +#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +/* Analog Devices C++ compiler for Blackfin, TigerSHARC and + SHARC (21000) DSPs */ +# define COMPILER_ID "ADSP" + +#elif defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" + +/* This compiler is either not known or is too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__sgi) +# define COMPILER_ID "MIPSpro" + +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" + +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU) +# define PLATFORM_ID "Haiku" +/* Haiku also defines __BEOS__ so we must + put it prior to the check for __BEOS__ +*/ + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#else /* unknown platform */ +# define PLATFORM_ID "" + +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; + + +/*--------------------------------------------------------------------------*/ + +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + (void)argv; + return require; +} diff --git a/CMakeFiles/CompilerIdCXX/a.out b/CMakeFiles/CompilerIdCXX/a.out new file mode 100755 index 0000000..233245b Binary files /dev/null and b/CMakeFiles/CompilerIdCXX/a.out differ diff --git a/CMakeFiles/Makefile.cmake b/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..efdfe76 --- /dev/null +++ b/CMakeFiles/Makefile.cmake @@ -0,0 +1,66 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.6 + +# The generator used is: +SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +SET(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "CMakeFiles/CMakeCCompiler.cmake" + "CMakeFiles/CMakeCXXCompiler.cmake" + "CMakeFiles/CMakeSystem.cmake" + "CMakeLists.txt" + "dbus/CMakeLists.txt" + "src/client/CMakeLists.txt" + "src/server/CMakeLists.txt" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCCompiler.cmake.in" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCCompilerABI.c" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCInformation.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCXXCompiler.cmake.in" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCXXCompilerABI.cpp" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCXXInformation.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeCommonLanguageInclude.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeConfigurableFile.in" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeDetermineCompilerABI.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeDetermineCompilerId.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeDetermineSystem.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeFindBinUtils.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeGenericSystem.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeSystem.cmake.in" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeSystemSpecificInformation.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CMakeUnixFindMake.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/CheckSymbolExists.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/FindPackageMessage.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/FindQt4.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/MacroAddFileDependencies.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/Platform/Linux.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/Platform/UnixPaths.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/Platform/gcc.cmake" + "/targets/FREMANTLE_X86/usr/share/cmake-2.6/Modules/UseQt4.cmake" + ) + +# The corresponding makefile is: +SET(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + "CMakeFiles/CMakeDirectoryInformation.cmake" + "dbus/CMakeFiles/CMakeDirectoryInformation.cmake" + "src/client/CMakeFiles/CMakeDirectoryInformation.cmake" + "src/server/CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Byproducts of CMake generate step: +SET(CMAKE_MAKEFILE_PRODUCTS + ) + +# Dependency information for all targets: +SET(CMAKE_DEPEND_INFO_FILES + "dbus/CMakeFiles/dbusapi.dir/DependInfo.cmake" + "src/client/CMakeFiles/qtrapids.dir/DependInfo.cmake" + "src/server/CMakeFiles/qtrapids-server.dir/DependInfo.cmake" + ) diff --git a/CMakeFiles/Makefile2 b/CMakeFiles/Makefile2 new file mode 100644 index 0000000..9abae41 --- /dev/null +++ b/CMakeFiles/Makefile2 @@ -0,0 +1,214 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.6 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# The main recursive all target +all: +.PHONY : all + +# The main recursive preinstall target +preinstall: +.PHONY : preinstall + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canoncical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Produce verbose output by default. +VERBOSE = 1 + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /targets/FREMANTLE_X86/usr/bin/cmake + +# The command to remove a file. +RM = /targets/FREMANTLE_X86/usr/bin/cmake -E remove -f + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/apte/qtrapidsnew/draftharmattan + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/apte/qtrapidsnew/draftharmattan + +#============================================================================= +# Directory level rules for directory dbus + +# Convenience name for "all" pass in the directory. +dbus/all: dbus/CMakeFiles/dbusapi.dir/all +.PHONY : dbus/all + +# Convenience name for "clean" pass in the directory. +dbus/clean: dbus/CMakeFiles/dbusapi.dir/clean +.PHONY : dbus/clean + +# Convenience name for "preinstall" pass in the directory. +dbus/preinstall: +.PHONY : dbus/preinstall + +#============================================================================= +# Target rules for target dbus/CMakeFiles/dbusapi.dir + +# All Build rule for target. +dbus/CMakeFiles/dbusapi.dir/all: + $(MAKE) -f dbus/CMakeFiles/dbusapi.dir/build.make dbus/CMakeFiles/dbusapi.dir/depend + $(MAKE) -f dbus/CMakeFiles/dbusapi.dir/build.make dbus/CMakeFiles/dbusapi.dir/build + $(CMAKE_COMMAND) -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles + @echo "Built target dbusapi" +.PHONY : dbus/CMakeFiles/dbusapi.dir/all + +# Include target in all. +all: dbus/CMakeFiles/dbusapi.dir/all +.PHONY : all + +# Build rule for subdir invocation for target. +dbus/CMakeFiles/dbusapi.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/apte/qtrapidsnew/draftharmattan/CMakeFiles 0 + $(MAKE) -f CMakeFiles/Makefile2 dbus/CMakeFiles/dbusapi.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/apte/qtrapidsnew/draftharmattan/CMakeFiles 0 +.PHONY : dbus/CMakeFiles/dbusapi.dir/rule + +# Convenience name for target. +dbusapi: dbus/CMakeFiles/dbusapi.dir/rule +.PHONY : dbusapi + +# clean rule for target. +dbus/CMakeFiles/dbusapi.dir/clean: + $(MAKE) -f dbus/CMakeFiles/dbusapi.dir/build.make dbus/CMakeFiles/dbusapi.dir/clean +.PHONY : dbus/CMakeFiles/dbusapi.dir/clean + +# clean rule for target. +clean: dbus/CMakeFiles/dbusapi.dir/clean +.PHONY : clean + +#============================================================================= +# Directory level rules for directory src/client + +# Convenience name for "all" pass in the directory. +src/client/all: src/client/CMakeFiles/qtrapids.dir/all +.PHONY : src/client/all + +# Convenience name for "clean" pass in the directory. +src/client/clean: src/client/CMakeFiles/qtrapids.dir/clean +.PHONY : src/client/clean + +# Convenience name for "preinstall" pass in the directory. +src/client/preinstall: +.PHONY : src/client/preinstall + +#============================================================================= +# Target rules for target src/client/CMakeFiles/qtrapids.dir + +# All Build rule for target. +src/client/CMakeFiles/qtrapids.dir/all: + $(MAKE) -f src/client/CMakeFiles/qtrapids.dir/build.make src/client/CMakeFiles/qtrapids.dir/depend + $(MAKE) -f src/client/CMakeFiles/qtrapids.dir/build.make src/client/CMakeFiles/qtrapids.dir/build + $(CMAKE_COMMAND) -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles + @echo "Built target qtrapids" +.PHONY : src/client/CMakeFiles/qtrapids.dir/all + +# Include target in all. +all: src/client/CMakeFiles/qtrapids.dir/all +.PHONY : all + +# Build rule for subdir invocation for target. +src/client/CMakeFiles/qtrapids.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/apte/qtrapidsnew/draftharmattan/CMakeFiles 0 + $(MAKE) -f CMakeFiles/Makefile2 src/client/CMakeFiles/qtrapids.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/apte/qtrapidsnew/draftharmattan/CMakeFiles 0 +.PHONY : src/client/CMakeFiles/qtrapids.dir/rule + +# Convenience name for target. +qtrapids: src/client/CMakeFiles/qtrapids.dir/rule +.PHONY : qtrapids + +# clean rule for target. +src/client/CMakeFiles/qtrapids.dir/clean: + $(MAKE) -f src/client/CMakeFiles/qtrapids.dir/build.make src/client/CMakeFiles/qtrapids.dir/clean +.PHONY : src/client/CMakeFiles/qtrapids.dir/clean + +# clean rule for target. +clean: src/client/CMakeFiles/qtrapids.dir/clean +.PHONY : clean + +#============================================================================= +# Directory level rules for directory src/server + +# Convenience name for "all" pass in the directory. +src/server/all: src/server/CMakeFiles/qtrapids-server.dir/all +.PHONY : src/server/all + +# Convenience name for "clean" pass in the directory. +src/server/clean: src/server/CMakeFiles/qtrapids-server.dir/clean +.PHONY : src/server/clean + +# Convenience name for "preinstall" pass in the directory. +src/server/preinstall: +.PHONY : src/server/preinstall + +#============================================================================= +# Target rules for target src/server/CMakeFiles/qtrapids-server.dir + +# All Build rule for target. +src/server/CMakeFiles/qtrapids-server.dir/all: + $(MAKE) -f src/server/CMakeFiles/qtrapids-server.dir/build.make src/server/CMakeFiles/qtrapids-server.dir/depend + $(MAKE) -f src/server/CMakeFiles/qtrapids-server.dir/build.make src/server/CMakeFiles/qtrapids-server.dir/build + $(CMAKE_COMMAND) -E cmake_progress_report /home/apte/qtrapidsnew/draftharmattan/CMakeFiles + @echo "Built target qtrapids-server" +.PHONY : src/server/CMakeFiles/qtrapids-server.dir/all + +# Include target in all. +all: src/server/CMakeFiles/qtrapids-server.dir/all +.PHONY : all + +# Build rule for subdir invocation for target. +src/server/CMakeFiles/qtrapids-server.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/apte/qtrapidsnew/draftharmattan/CMakeFiles 0 + $(MAKE) -f CMakeFiles/Makefile2 src/server/CMakeFiles/qtrapids-server.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/apte/qtrapidsnew/draftharmattan/CMakeFiles 0 +.PHONY : src/server/CMakeFiles/qtrapids-server.dir/rule + +# Convenience name for target. +qtrapids-server: src/server/CMakeFiles/qtrapids-server.dir/rule +.PHONY : qtrapids-server + +# clean rule for target. +src/server/CMakeFiles/qtrapids-server.dir/clean: + $(MAKE) -f src/server/CMakeFiles/qtrapids-server.dir/build.make src/server/CMakeFiles/qtrapids-server.dir/clean +.PHONY : src/server/CMakeFiles/qtrapids-server.dir/clean + +# clean rule for target. +clean: src/server/CMakeFiles/qtrapids-server.dir/clean +.PHONY : clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/CMakeFiles/cmake.check_cache b/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/CMakeFiles/progress.make b/CMakeFiles/progress.make new file mode 100644 index 0000000..573541a --- /dev/null +++ b/CMakeFiles/progress.make @@ -0,0 +1 @@ +0 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c0791f5 --- /dev/null +++ b/Makefile @@ -0,0 +1,114 @@ +############################################################################# +# Makefile for building: qtrapids +# Generated by qmake (2.01a) (Qt 4.7.0) on: Thu Nov 19 23:58:30 2009 +# Project: qtrapids.pro +# Template: subdirs +# Command: /usr/bin/qmake -unix -o Makefile qtrapids.pro +############################################################################# + +first: make_default +MAKEFILE = Makefile +QMAKE = /usr/bin/qmake +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 -sf +DEL_DIR = rmdir +MOVE = mv -f +CHK_DIR_EXISTS= test -d +MKDIR = mkdir -p +SUBTARGETS = \ + sub-src + +src/$(MAKEFILE): + @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/ + cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE) +sub-src-qmake_all: FORCE + @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/ + cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE) +sub-src: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) +sub-src-make_default: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) +sub-src-make_first: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) first +sub-src-all: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) all +sub-src-clean: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) clean +sub-src-distclean: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) distclean +sub-src-install_subtargets: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) install +sub-src-uninstall_subtargets: src/$(MAKEFILE) FORCE + cd src/ && $(MAKE) -f $(MAKEFILE) uninstall + +Makefile: qtrapids.pro /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/linux-g++/qmake.conf /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/g++.conf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/unix.conf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/linux.conf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/qconfig.pri \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_functions.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_config.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/exclusive_builds.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_pre.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/release.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_post.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/unix/thread.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/moc.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/warn_on.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/resources.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/uic.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/yacc.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/lex.prf \ + /targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/include_source_dir.prf + $(QMAKE) -unix -o Makefile qtrapids.pro +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/g++.conf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/unix.conf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/linux.conf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/qconfig.pri: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_functions.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_config.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/exclusive_builds.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_pre.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/release.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_post.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/unix/thread.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/moc.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/warn_on.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/resources.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/uic.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/yacc.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/lex.prf: +/targets/FREMANTLE_X86/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/include_source_dir.prf: +qmake: qmake_all FORCE + @$(QMAKE) -unix -o Makefile qtrapids.pro + +qmake_all: sub-src-qmake_all FORCE + +make_default: sub-src-make_default FORCE +make_first: sub-src-make_first FORCE +all: sub-src-all FORCE +clean: sub-src-clean FORCE +distclean: sub-src-distclean FORCE + -$(DEL_FILE) Makefile +install_subtargets: sub-src-install_subtargets FORCE +uninstall_subtargets: sub-src-uninstall_subtargets FORCE + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all +install: install_subtargets FORCE + +uninstall: uninstall_subtargets FORCE + +FORCE: + diff --git a/bin/libqtbittorrent.so b/bin/libqtbittorrent.so new file mode 120000 index 0000000..ff74d4e --- /dev/null +++ b/bin/libqtbittorrent.so @@ -0,0 +1 @@ +libqtbittorrent.so.0.1.0 \ No newline at end of file diff --git a/bin/libqtbittorrent.so.0 b/bin/libqtbittorrent.so.0 new file mode 120000 index 0000000..ff74d4e --- /dev/null +++ b/bin/libqtbittorrent.so.0 @@ -0,0 +1 @@ +libqtbittorrent.so.0.1.0 \ No newline at end of file diff --git a/bin/libqtbittorrent.so.0.1 b/bin/libqtbittorrent.so.0.1 new file mode 120000 index 0000000..ff74d4e --- /dev/null +++ b/bin/libqtbittorrent.so.0.1 @@ -0,0 +1 @@ +libqtbittorrent.so.0.1.0 \ No newline at end of file diff --git a/bin/libqtbittorrent.so.0.1.0 b/bin/libqtbittorrent.so.0.1.0 new file mode 100755 index 0000000..39058fb Binary files /dev/null and b/bin/libqtbittorrent.so.0.1.0 differ diff --git a/bin/qtrapids b/bin/qtrapids new file mode 100755 index 0000000..36b565b Binary files /dev/null and b/bin/qtrapids differ diff --git a/src/gui/MainWindowPage.cpp b/src/gui/MainWindowPage.cpp new file mode 100644 index 0000000..9c4a250 --- /dev/null +++ b/src/gui/MainWindowPage.cpp @@ -0,0 +1,407 @@ +/*************************************************************************** + * Copyright (C) 2009 by Lassi Väätämöinen * + * lassi.vaatamoinen@ixonos.com * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include "DownloadView.h" +#include "SeedView.h" +#include "PreferencesDialog.h" + +#include "MainWindowPage.h" + +const QString ABOUT_TEXT += QString(QObject::trUtf8("QtRapids, a simple BitTorrent client based on" + "\nQt and Libtorrent." + "\n\nURL: http://qtrapids.garage.maemo.org/" + "\n\nAuthors:\nLassi Väätämöinen, lassi.vaatamoinen@ixonos.com" + "\nDenis Zalevskiy, denis.zalewsky@ixonos.com" + "\n\nIxonos Plc, Finland\n")); + +// Consturctor +MainWindowPage::MainWindowPage(): + DuiApplicationPage(), //QMainWindowPage(), // Superclass + tabWidget_(NULL), + dlView_(NULL), + seedView_(NULL), + preferencesDialog_(NULL), + settings_(), +// torrentHandles_(), + btSession_() +{} + +void MainWindowPage::createContent() +{ + // MENUBAR +#if 0 + QMenuBar *menuBar = new QMenuBar(); + QMenu *tempMenu = NULL; + + tempMenu = menuBar->addMenu(tr("&File")); + QAction *openAction = tempMenu->addAction(tr("&Open")); + QAction *removeAction = tempMenu->addAction(tr("&Remove")); + removeAction->setEnabled(false); + QAction *quitAction = tempMenu->addAction(tr("&Quit")); + + tempMenu = menuBar->addMenu(tr("&Settings")); + QAction *preferencesAction = tempMenu->addAction(tr("&Preferences")); + + tempMenu = menuBar->addMenu(tr("&Help")); + QAction *aboutAction = tempMenu->addAction(tr("&About")); + QAction *aboutQtAction = tempMenu->addAction(tr("About &Qt")); + + setMenuBar(menuBar); +#endif + + DuiAction* action; + DuiWidget* panel = centralWidget(); + DuiLayout* layout = new DuiLayout( panel ); + panel->setLayout( layout ); + + DuiLinearLayoutPolicy* policy = new DuiLinearLayoutPolicy( layout, Qt::Vertical ); + + action = new DuiAction( NULL, "Open", panel ); + action->setLocation( DuiAction::ViewMenu ); + this->addAction( action ); + connect(action, SIGNAL(triggered()), this, SLOT(on_openAction_clicked())); + + action = new DuiAction( NULL, "Remove", panel ); + action->setLocation( DuiAction::ViewMenu ); + this->addAction( action ); + connect(action, SIGNAL(triggered()), this, SLOT(on_removeAction_clicked())); + + //connect(this, SIGNAL(itemSelected(bool)), removeAction, SLOT(setEnabled(bool))); + + action = new DuiAction( NULL, "Remove", panel ); + action->setLocation( DuiAction::ViewMenu ); + this->addAction( action ); + connect(action, SIGNAL(triggered()), this, SLOT(on_quitAction_clicked())); + + action = new DuiAction( NULL, "Preferences", panel ); + action->setLocation( DuiAction::ViewMenu ); + this->addAction( action ); + connect(action, SIGNAL(triggered()), this, SLOT(on_preferencesAction_clicked())); + + action = new DuiAction( NULL, "About", panel ); + action->setLocation( DuiAction::ViewMenu ); + this->addAction( action ); + connect(action, SIGNAL(triggered()), this, SLOT(on_aboutAction_clicked())); + + + action = new DuiAction( NULL, "About Qt", panel ); + action->setLocation( DuiAction::ViewMenu ); + this->addAction( action ); + connect(action, SIGNAL(triggered()), this, SLOT(on_aboutQtAction_clicked())); + +#if 0 + // TABWIDGET (central widget) + tabWidget_ = new QTabWidget(); + tabWidget_->setTabsClosable(true); + + /// @todo Exception handling + dlView_ = new DownloadView(this); + seedView_ = new SeedView(this); + tabWidget_->addTab(dlView_, tr("Downloads")); + tabWidget_->addTab(seedView_, tr("Seeds")); + connect(dlView_, SIGNAL(itemSelectionChanged()), this, + SLOT(on_downloadItemSelectionChanged())); + connect(seedView_, SIGNAL(itemSelectionChanged()), this, + SLOT(on_seedItemSelectionChanged())); + + + // Tab widget as central widget. + setCentralWidget(tabWidget_); + + // TOOLBAR + QToolBar *toolBar = new QToolBar(); + toolBar->addAction(tr("Open")); + removeAction = toolBar->addAction(tr("Remove")); + removeAction->setEnabled(false); + addToolBar(Qt::TopToolBarArea, toolBar); + + connect(this, SIGNAL(itemSelected(bool)), removeAction, + SLOT(setEnabled(bool))); + connect(toolBar, SIGNAL(actionTriggered(QAction*)), this, + SLOT(handleToolBarAction(QAction*))); + + connect(&btSession_, SIGNAL(alert(std::auto_ptr)), + this, SLOT(on_alert(std::auto_ptr))); + +#endif + LoadPlugins(); +} + + +MainWindowPage::~MainWindowPage() +{ +} + +// ===================== Implements PluginInterface ========================= +bool MainWindowPage::setGui(QWidget* widget, PluginWidgetType type) +{ +#ifdef QTRAPIDS_DEBUG + qDebug() << "MainWindowPage::setGui():" << dlView_->currentItem(); +#endif + tabWidget_->addTab(widget, tr("Search")); + return true; +} + +/// @todo Add PluginInterface parameter check which plugin gives the widget to handle appropriately +void MainWindowPage::addPluginWidget(QWidget* widget, PluginWidgetType type) +{ +#ifdef QTRAPIDS_DEBUG + qDebug() << "MainWindowPage::addPluginWidget():" << dlView_->currentItem(); +#endif + + if (type == qtrapids::PluginHostInterface::TAB_PAGE) { + int index = tabWidget_->addTab(widget, tr("Test")); + tabWidget_->setCurrentIndex(index); + //layout_->addWidget(widget); + } +} +void MainWindowPage::addToolbar(QWidget* widget, PluginWidgetType type) +{ +} + +void MainWindowPage::addToolItem(QWidget* widget, PluginWidgetType type) +{ +} + +void MainWindowPage::addMenu(QWidget* widget, PluginWidgetType type) +{ +} + +void MainWindowPage::addMenuItem(QWidget* widget, PluginWidgetType type) +{ +} + +bool MainWindowPage::eventRequest(QVariant param, PluginRequest req) +{ + if (req == qtrapids::PluginHostInterface::OPEN_FILE) { + QString sourceFile = param.toString(); + + // Get the source files name from the full path: + QFileInfo fInfo(sourceFile); + QString targetFile = fInfo.fileName(); + targetFile = settings_.value("download/directory").toString() + targetFile; + + // Copy temoporary file to Downloads directory... + if (!QFile::copy(sourceFile, targetFile)) { + qDebug() << "File copying failed"; + return false; + } else { + // If copying was successful, remove the original temporary file. + QFile::remove(sourceFile); + } + + // ...and start the torrent: + on_torrentFileSelected(targetFile); + } + + return true; +} + + +//=========================== PRIVATE ================================ + +void MainWindowPage::LoadPlugins() +{ + /// @todo get plugin directory from settings or go through multiple directories + /// Now we only check the application directory + pluginsDir_ = QDir(qApp->applicationDirPath()); + pluginsDir_.cd("plugins"); + QStringList nameFilters; + nameFilters << "*.so"; + + foreach (QString fileName, pluginsDir_.entryList(nameFilters, QDir::Files)) { + QPluginLoader pluginLoader(pluginsDir_.absoluteFilePath(fileName)); + + if (!QLibrary::isLibrary(fileName)) { + qDebug() << fileName << " not a library"; + } + + if (pluginLoader.load()) { + qDebug() << "Plugin loaded: " << fileName; + } else { + qDebug() << "Plugin load failed: " << pluginLoader.errorString(); + } + + QObject *baseInstance = pluginLoader.instance(); + if (!baseInstance) { + qDebug() << "Base instance = NULL."; + } + + qtrapids::PluginInterface *plugin = qobject_cast(baseInstance); + + if (!plugin) { + qDebug() << "Cast failed."; + } else { + plugin->initialize(this); + pluginFileNames_ += fileName; + } + } +} + +// =========================== SLOTS ================================= +void MainWindowPage::on_openAction_clicked() +{ + QFileDialog *dialog; // TODO: = new QFileDialog( this, "Open torrent file", QString(), tr("Torrent files (*.torrent)")); + dialog->setFileMode(QFileDialog::ExistingFile); + connect(dialog, SIGNAL(fileSelected(const QString&)), this, SLOT(on_torrentFileSelected(const QString&))); + dialog->show(); +} + +void MainWindowPage::on_removeAction_clicked() +{ + qtrapids::QTorrentHandle handle = dlView_->removeSelected(); + btSession_.removeTorrent(handle); +} + +void MainWindowPage::on_quitAction_clicked() +{ + close(); +} + +void MainWindowPage::on_preferencesAction_clicked() +{ + if (!preferencesDialog_) { + // TODO: preferencesDialog_ = new PreferencesDialog(this); + } + preferencesDialog_->show(); + preferencesDialog_->raise(); + preferencesDialog_->activateWindow(); +} + +void MainWindowPage::on_aboutAction_clicked() +{ +//TODO: QMessageBox::about(this, tr("About QtRapids"), ABOUT_TEXT); +} + + +void MainWindowPage::on_aboutQtAction_clicked() +{ +//TODO: QMessageBox::aboutQt (this, tr("About Qt")); +} + + +void MainWindowPage::on_downloadItemSelectionChanged() +{ +#ifdef QTRAPIDS_DEBUG + qDebug() << "MainWindowPage::on_seedItemSelectionChanged():" << dlView_->currentItem(); +#endif + if (dlView_->currentItem() != NULL) { + emit(itemSelected(true)); + } else { + emit(itemSelected(false)); + } +} + +void MainWindowPage::on_seedItemSelectionChanged() +{ +#ifdef QTRAPIDS_DEBUG + qDebug() << "MainWindowPage::on_seedItemSelectionChanged():" << seedView_->currentItem(); +#endif + if (seedView_->currentItem() != NULL) { + emit(itemSelected(true)); + } else { + emit(itemSelected(false)); + } +} + +void MainWindowPage::handleToolBarAction(QAction* action) +{ + if (action->text() == "Open") { + on_openAction_clicked(); + } else if (action->text() == "Remove") { + on_removeAction_clicked(); + } +} + +void MainWindowPage::on_torrentFileSelected(const QString& file) +{ +#ifdef QTRAPIDS_DEBUG + qDebug() << " MainWindowPage::on_torrentFileSelected(): " << file; +#endif + // Torrent filename empty, do nothing. + if (file == "") { + return; + } + + // Otherwise add torrent + // For params, see: http://www.rasterbar.com/products/libtorrent/manual.html#add-torrent + AddTorrentParams addParams; + boost::intrusive_ptr tiTmp = + new libtorrent::torrent_info(boost::filesystem::path(file.toStdString())); + addParams.ti = tiTmp; + // save_path is the only mandatory parameter, rest are optional. + addParams.save_path = boost::filesystem::path(settings_.value("download/directory").toString().toStdString()); + //addParams.storage_mode = libtorrent::storage_mode_allocate; + qtrapids::QTorrentHandle handle = btSession_.addTorrent(addParams); + dlView_->newItem(handle); +// torrentHandles_.push_back(handlePtr); +#ifdef QTRAPIDS_DEBUG + qDebug() << "Is valid: " << handle.isValid(); +#endif +} + + +void MainWindowPage::on_alert(std::auto_ptr al) +{ + if (al.get() != NULL) { +// qDebug() +// << "MainWindowPage::on_torrentAlert(): " +// << QString::fromStdString(al->message()); + + TorrentAlert *torrentAlert + = dynamic_cast (al.get()); + + if (torrentAlert) { + qtrapids::QTorrentHandle torrentHandle = qtrapids::QTorrentHandle(torrentAlert->handle); + dlView_->updateItem(qtrapids::QTorrentHandle(torrentAlert->handle)); + } + + } +} + +/* +bool MainWindowPage::IsNewTorrent(std::auto_ptr handlePtr) +{ + for (unsigned i = 0; i < torrentHandles_.size(); ++i) { + if (torrentHandles_.at(i).get() == handlePtr.get()) { + return false; + } else { + return true; + } + } +} +*/ diff --git a/src/gui/MainWindowPage.h b/src/gui/MainWindowPage.h new file mode 100644 index 0000000..5b38341 --- /dev/null +++ b/src/gui/MainWindowPage.h @@ -0,0 +1,95 @@ +/*************************************************************************** + * Copyright (C) 2009 by Lassi Väätämöinen * + * lassi.vaatamoinen@ixonos.com * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include +#include +#include +#include + +#include "PluginInterface.h" +#include "QBittorrentSession.h" + +class QTabWidget; +class DownloadView; +class SeedView; +class PreferencesDialog; + +/** + @author Lassi Väätämöinen +*/ +class MainWindowPage : public DuiApplicationPage, //QMainWindowPage, + public qtrapids::PluginHostInterface { + Q_OBJECT + + public: + MainWindowPage(); + + virtual ~MainWindowPage(); + + virtual void createContent(); + + // Implemented from PluginHostInterface + virtual bool setGui(QWidget* widget, PluginWidgetType type = UNKNOWN_TYPE); + virtual void addPluginWidget(QWidget* widget, PluginWidgetType type = UNKNOWN_TYPE); + virtual void addToolbar(QWidget* widget, PluginWidgetType type = UNKNOWN_TYPE); + virtual void addToolItem(QWidget* widget, PluginWidgetType type = UNKNOWN_TYPE); + virtual void addMenu(QWidget* widget, PluginWidgetType type = UNKNOWN_TYPE); + virtual void addMenuItem(QWidget* widget, PluginWidgetType type = UNKNOWN_TYPE); + virtual bool eventRequest(QVariant param, PluginRequest req = UNKNOWN_REQUEST); + + signals: + void itemSelected(bool enabled); + + public slots: + private slots: + void on_openAction_clicked(); + void on_removeAction_clicked(); + void on_quitAction_clicked(); + void on_preferencesAction_clicked(); + void on_aboutAction_clicked(); + void on_aboutQtAction_clicked(); + void on_downloadItemSelectionChanged(); + void on_seedItemSelectionChanged(); + void handleToolBarAction(QAction* action); + void on_torrentFileSelected(const QString& file); + void on_alert(std::auto_ptr al); + + private: + void LoadPlugins(); + + private: + QTabWidget *tabWidget_; + DownloadView *dlView_; + SeedView *seedView_; + PreferencesDialog *preferencesDialog_; + QSettings settings_; + QDir pluginsDir_; + QStringList pluginFileNames_; + //std::vector< std::auto_ptr const > torrentHandles_; + + qtrapids::QBittorrentSession btSession_; + + + //bool IsNewTorrent(std::auto_ptr handlePtr); +}; + +#endif