Adding mkspecs.
authorMax Waterman <davidmaxwaterman+maemogit@fastmail.co.uk>
Wed, 24 Mar 2010 17:58:08 +0000 (19:58 +0200)
committerMax Waterman <davidmaxwaterman+maemogit@fastmail.co.uk>
Wed, 24 Mar 2010 17:58:08 +0000 (19:58 +0200)
401 files changed:
zouba/debian/files
zouba/debian/zouba.debhelper.log
zouba/debian/zouba/DEBIAN/md5sums
zouba/debian/zouba/usr/bin/zouba
zouba/qt4-maemo5/mkspecs/aix-g++-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/aix-g++-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/aix-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/aix-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/aix-xlc-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/aix-xlc-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/aix-xlc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/aix-xlc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/g++.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/linux.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/llvm.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/mac-g++.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/mac-llvm.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/mac.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/qws.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/symbian/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/symbian/stl-off/new [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/symbian/symbian.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/unix.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/wince/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/common/wince/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/cygwin-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/cygwin-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/darwin-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/darwin-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/default [new symlink]
zouba/qt4-maemo5/mkspecs/features/assistant.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/build_pass.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/dbusadaptors.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/dbusinterfaces.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/debug.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/debug_and_release.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/default_pre.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/designer.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/dll.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/egl.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/exclusive_builds.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/help.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/include_source_dir.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/incredibuild_xge.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/lex.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/link_pkgconfig.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/default_pre.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/dwarf2.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/objective_c.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/ppc.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/ppc64.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/rez.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/sdk.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/x86.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mac/x86_64.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/mobility.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/moc.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/no_debug_info.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qdbus.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qt.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qt_config.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qt_functions.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qtestlib.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qtopia.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qtopiainc.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qtopialib.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/qttest_p4.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/release.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/resources.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/shared.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/silent.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/static.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/static_and_shared.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/staticlib.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/application_icon.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/armcc_warnings.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/data_caging_paths.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/def_files.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/def_files_disabled.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/default_pre.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/epocallowdlldata.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/moc.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/platform_paths.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/qt.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/stl.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/symbian/stl_off.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/uic.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/uitools.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/bsymbolic_functions.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/dylib.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/hide_symbols.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/largefile.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/opengl.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/openvg.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/separate_debug_info.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/separate_debug_info_nocopy.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/thread.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/x11.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/x11inc.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/x11lib.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/unix/x11sm.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/use_c_linker.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/vxworks.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/warn_off.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/warn_on.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/console.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/default_pre.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/dumpcpp.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/embed_manifest_dll.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/embed_manifest_exe.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/exceptions.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/exceptions_off.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/ltcg.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/opengl.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/openvg.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/qaxcontainer.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/qaxserver.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/qt_dll.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/rtti.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/rtti_off.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/stl.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/stl_off.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/thread.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/thread_off.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/win32/windows.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/features/yacc.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-g++34/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-g++34/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-g++40/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-g++40/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-icc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/freebsd-icc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-acc-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-acc-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-acc-o64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-acc-o64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-acc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-acc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-g++-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-g++-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpux-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpuxi-acc-32/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpuxi-acc-32/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpuxi-acc-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpuxi-acc-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpuxi-g++-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hpuxi-g++-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hurd-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/hurd-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-cc-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-cc-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-cc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-cc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-g++-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-g++-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/irix-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-cxx/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-cxx/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-ecc-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-ecc-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-32/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-32/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-maemo/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-maemo/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++-maemo5/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-host-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-host-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-icc-32/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-icc-32/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-icc-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-icc-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-icc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-icc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-kcc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-kcc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-llvm/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-llvm/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-lsb-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-lsb-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-pgcc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/linux-pgcc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/lynxos-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/lynxos-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++/Info.plist.app [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++/Info.plist.lib [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++40/Info.plist.app [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++40/Info.plist.lib [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++40/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++40/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++42/Info.plist.app [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++42/Info.plist.lib [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++42/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-g++42/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-icc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-icc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-llvm/Info.plist.app [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-llvm/Info.plist.lib [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-llvm/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-llvm/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-pbuilder/Info.plist.app [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-pbuilder/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-pbuilder/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-xcode/Info.plist.app [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-xcode/Info.plist.lib [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-xcode/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-xcode/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-xlc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/macx-xlc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/netbsd-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/netbsd-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/openbsd-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/openbsd-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qconfig.pri [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/freebsd-generic-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/freebsd-generic-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-arm-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-arm-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-armv6-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-armv6-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-avr32-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-avr32-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-cellon-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-cellon-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-dm7000-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-dm7000-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-dm800-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-dm800-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++-32/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++-32/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-ipaq-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-ipaq-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-lsb-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-lsb-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-mips-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-mips-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-powerpc-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-powerpc-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-sh-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-sh-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-sh4al-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-sh4al-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-sharp-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-sharp-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-x86-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-x86-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-x86_64-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-x86_64-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-zylonite-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/linux-zylonite-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/macx-generic-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/macx-generic-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/solaris-generic-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/qws/solaris-generic-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/sco-cc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/sco-cc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/sco-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/sco-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc-64-stlport/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc-64-stlport/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc-stlport/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc-stlport/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-cc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-g++-64/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-g++-64/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/solaris-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/symbian-abld/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_emulator_deployment.flm [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_extra_pre_targetdep.flm [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_post_link.flm [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qt.xml [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/symbian-sbsv2/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/tru64-cxx/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/tru64-cxx/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/tru64-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/tru64-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unixware-cc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unixware-cc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unixware-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unixware-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/linux-host-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/linux-host-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/linux-scratchbox2-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qnx-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qnx-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-generic-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-generic-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-i386-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-i386-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-ppc-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-ppc-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-dcc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-dcc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-dcc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-dcc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-borland/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-borland/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-g++/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-g++/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-icc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-icc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc.net/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc.net/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc/features/incremental.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc/features/incremental_off.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2002/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2002/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2003/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2003/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/win32-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince60standard-armv4i-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince60standard-armv4i-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince60standard-x86-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wince60standard-x86-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/qplatformdefs.h [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/default_post.prf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/qmake.conf [new file with mode: 0644]
zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/qplatformdefs.h [new file with mode: 0644]

index 17f3282..bd9161c 100644 (file)
@@ -2,3 +2,4 @@ zouba_0.1_armel.deb user/Other extra
 zouba_0.1_armel.deb user/Other extra
 zouba_0.1_armel.deb user/Other extra
 zouba_0.1_armel.deb user/Other extra
+zouba_0.1_armel.deb user/Other extra
index 4f1d551..6054e08 100644 (file)
@@ -101,3 +101,18 @@ dh_installdeb
 dh_gencontrol
 dh_md5sums
 dh_builddeb
+dh_installdirs
+dh_installdirs
+dh_installdirs
+dh_installchangelogs
+dh_installdocs
+dh_installexamples
+dh_installman
+dh_link
+dh_strip
+dh_compress
+dh_fixperms
+dh_installdeb
+dh_gencontrol
+dh_md5sums
+dh_builddeb
index fc4c12c..008c378 100644 (file)
@@ -4,4 +4,4 @@ ff174efcc85be1270eb91a671c690feb  usr/share/doc/zouba/changelog.gz
 b941bd01bcea49cabfc186309d46fb74  usr/share/doc/zouba/copyright
 f327a6f11a43e47223c6bebe5434fd81  usr/share/applications/hildon/zouba.desktop
 85cbb61cacdd967b3e62a6ba0f84f0b2  usr/share/icons/hicolor/64x64/apps/zouba.png
-afda8e406a59f7dd44c31863d9cb4098  usr/bin/zouba
+c7b8cd05b8e151f54efc262bda5f47ad  usr/bin/zouba
index fcc4e68..97f709b 100755 (executable)
Binary files a/zouba/debian/zouba/usr/bin/zouba and b/zouba/debian/zouba/usr/bin/zouba differ
diff --git a/zouba/qt4-maemo5/mkspecs/aix-g++-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/aix-g++-64/qmake.conf
new file mode 100644 (file)
index 0000000..995178b
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# qmake configuration for aix-g++-64
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -maix64
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_THREAD_SAFE
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           = -maix64
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    =
+QMAKE_LFLAGS_THREAD    = -L/usr/lib/threads
+QMAKE_LFLAGS_NOUNDEF   =
+QMAKE_AIX_SHLIB                = 1
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthreads
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR                = ar -X64 cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB            = ranlib -X64
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/aix-g++-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/aix-g++-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ecc2cf0
--- /dev/null
@@ -0,0 +1,172 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+// uncomment if you have problems with <sys/proc.h> because your gcc
+// hasn't been built on exactly the same OS version your are using now.
+// typedef int crid_t;
+// typedef unsigned int class_id_t;
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+#include <strings.h> // AIX X11 headers define FD_ZERO using bzero()
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/select.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                ::open
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#ifdef _AIX43
+// AIX 4.3 and better
+#define QT_SOCKLEN_T           socklen_t
+#elif _AIX42
+// AIX 4.2
+#define QT_SOCKLEN_T           size_t
+#else
+// AIX 4.1
+#define QT_SOCKLEN_T           size_t
+// override
+#define QT_SOCKOPTLEN_T                int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+// AIX 4.3 and better
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/aix-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/aix-g++/qmake.conf
new file mode 100644 (file)
index 0000000..969aa76
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# qmake configuration for aix-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -mpowerpc
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_THREAD_SAFE
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    =
+QMAKE_LFLAGS_THREAD    = -L/usr/lib/threads
+QMAKE_LFLAGS_NOUNDEF   =
+QMAKE_AIX_SHLIB                = 1
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthreads
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/aix-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/aix-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ecc2cf0
--- /dev/null
@@ -0,0 +1,172 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+// uncomment if you have problems with <sys/proc.h> because your gcc
+// hasn't been built on exactly the same OS version your are using now.
+// typedef int crid_t;
+// typedef unsigned int class_id_t;
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+#include <strings.h> // AIX X11 headers define FD_ZERO using bzero()
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/select.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                ::open
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#ifdef _AIX43
+// AIX 4.3 and better
+#define QT_SOCKLEN_T           socklen_t
+#elif _AIX42
+// AIX 4.2
+#define QT_SOCKLEN_T           size_t
+#else
+// AIX 4.1
+#define QT_SOCKLEN_T           size_t
+// override
+#define QT_SOCKOPTLEN_T                int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+// AIX 4.3 and better
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/aix-xlc-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/aix-xlc-64/qmake.conf
new file mode 100644 (file)
index 0000000..a18aa9f
--- /dev/null
@@ -0,0 +1,85 @@
+#
+# qmake configuration for aix-xlc
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = xlc
+QMAKE_CC_THREAD                = xlc_r
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -qstrict -q64
+QMAKE_CFLAGS_WARN_ON    =
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O3
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -qthreaded
+
+QMAKE_CXX              = xlC
+QMAKE_CXX_THREAD       = xlC_r
+QMAKE_CXXFLAGS         = -+ $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_COMPILER_DEFINES  += __xlC__
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = xlC
+QMAKE_LINK_THREAD      = xlC_r
+QMAKE_LINK_SHLIB       = ld
+QMAKE_LFLAGS           = -q64
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -qmkshrobj
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    =
+QMAKE_LFLAGS_THREAD    = -L/usr/lib/threads
+QMAKE_AIX_SHLIB                = 1
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthreads
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar -X64 cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           = ranlib -X64
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/aix-xlc-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/aix-xlc-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..2ed0879
--- /dev/null
@@ -0,0 +1,158 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+#include <strings.h> // AIX X11 headers define FD_ZERO using bzero()
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/select.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                ::open
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+// Only AIX 4.3 and better support 64-bit
+#define QT_SOCKLEN_T           socklen_t
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+// Only AIX 4.3 and better support 64-bit
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/aix-xlc/qmake.conf b/zouba/qt4-maemo5/mkspecs/aix-xlc/qmake.conf
new file mode 100644 (file)
index 0000000..42f6f7e
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# qmake configuration for aix-xlc
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = xlc
+QMAKE_CC_THREAD                = xlc_r
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -qstrict
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O3
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -qthreaded
+
+QMAKE_CXX              = xlC
+QMAKE_CXX_THREAD       = xlC_r
+QMAKE_CXXFLAGS         = -+ $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_COMPILER_DEFINES  += __xlC__
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = xlC
+QMAKE_LINK_THREAD      = xlC_r
+QMAKE_LINK_SHLIB       = ld
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -qmkshrobj
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    =
+QMAKE_LFLAGS_THREAD    = -L/usr/lib/threads
+QMAKE_LFLAGS_NOUNDEF   =
+QMAKE_AIX_SHLIB                = 1
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthreads
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           = ranlib
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/aix-xlc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/aix-xlc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..435fc40
--- /dev/null
@@ -0,0 +1,168 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+#include <strings.h> // AIX X11 headers define FD_ZERO using bzero()
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/select.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                ::open
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#ifdef _AIX43
+// AIX 4.3 and better
+#define QT_SOCKLEN_T           socklen_t
+#elif _AIX42
+// AIX 4.2
+#define QT_SOCKLEN_T           size_t
+#else
+// AIX 4.1
+#define QT_SOCKLEN_T           size_t
+// override
+#define QT_SOCKOPTLEN_T                int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
+// AIX 4.3 and better
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/common/g++.conf b/zouba/qt4-maemo5/mkspecs/common/g++.conf
new file mode 100644 (file)
index 0000000..25d447c
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# qmake configuration for common gcc
+#
+
+QMAKE_CC               = gcc
+QMAKE_CFLAGS           += -pipe
+QMAKE_CFLAGS_DEPS      += -M
+QMAKE_CFLAGS_WARN_ON   += -Wall -W
+QMAKE_CFLAGS_WARN_OFF  += -w
+QMAKE_CFLAGS_RELEASE   += -O2
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     += -fPIC
+QMAKE_CFLAGS_STATIC_LIB        += -fPIC
+QMAKE_CFLAGS_YACC      += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           +=
+QMAKE_LFLAGS_RELEASE   += -Wl,-O1
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       +=
+QMAKE_LFLAGS_SHLIB     += -shared
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    += -Wl,-soname,
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_LFLAGS_NOUNDEF   += -Wl,--no-undefined
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
diff --git a/zouba/qt4-maemo5/mkspecs/common/linux.conf b/zouba/qt4-maemo5/mkspecs/common/linux.conf
new file mode 100644 (file)
index 0000000..1ae5608
--- /dev/null
@@ -0,0 +1,64 @@
+#
+# qmake configuration for common linux
+#
+
+QMAKE_CFLAGS_THREAD    += -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR          =
+QMAKE_LIBDIR          =
+QMAKE_INCDIR_X11      = /usr/X11R6/include
+QMAKE_LIBDIR_X11      = /usr/X11R6/lib
+QMAKE_INCDIR_QT       = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT       = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL   = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL   = /usr/X11R6/lib
+QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_OPENGL_ES1CL = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES1CL = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_EGL      = 
+QMAKE_LIBDIR_EGL      =
+QMAKE_INCDIR_OPENVG   = 
+QMAKE_LIBDIR_OPENVG   =
+
+QMAKE_LIBS            =
+QMAKE_LIBS_DYNLOAD    = -ldl
+QMAKE_LIBS_X11        = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM      = -lSM -lICE
+QMAKE_LIBS_NIS        = -lnsl
+QMAKE_LIBS_EGL        = -lEGL
+QMAKE_LIBS_OPENGL     = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT  = -lGL
+QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM
+QMAKE_LIBS_OPENGL_ES1CL = -lGLES_CL
+QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
+QMAKE_LIBS_OPENVG     = -lOpenVG
+QMAKE_LIBS_THREAD     = -lpthread
+
+QMAKE_MOC             = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC             = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR              = ar cqs
+QMAKE_OBJCOPY         = objcopy
+QMAKE_RANLIB          =
+
+QMAKE_TAR             = tar -cf
+QMAKE_GZIP            = gzip -9f
+
+QMAKE_COPY            = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE            = mv -f
+QMAKE_DEL_FILE        = rm -f
+QMAKE_DEL_DIR         = rmdir
+QMAKE_STRIP           = strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+QMAKE_INSTALL_FILE    = install -m 644 -p
+QMAKE_INSTALL_PROGRAM = install -m 755 -p
+
+include(unix.conf)
diff --git a/zouba/qt4-maemo5/mkspecs/common/llvm.conf b/zouba/qt4-maemo5/mkspecs/common/llvm.conf
new file mode 100644 (file)
index 0000000..aee3904
--- /dev/null
@@ -0,0 +1,49 @@
+#
+# qmake configuration for common gcc
+#
+
+QMAKE_CC               = llvm-gcc
+QMAKE_CFLAGS           += -pipe
+QMAKE_CFLAGS_DEPS      += -M
+QMAKE_CFLAGS_WARN_ON   += -Wall -W
+QMAKE_CFLAGS_WARN_OFF  += -w
+QMAKE_CFLAGS_RELEASE   += -O2
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     += -fPIC
+QMAKE_CFLAGS_STATIC_LIB        += -fPIC
+QMAKE_CFLAGS_YACC      += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CXX              = llvm-g++
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK             = llvm-g++
+QMAKE_LINK_SHLIB       = llvm-g++
+QMAKE_LFLAGS           +=
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       +=
+QMAKE_LFLAGS_SHLIB     += -shared
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    += -Wl,-soname,
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
diff --git a/zouba/qt4-maemo5/mkspecs/common/mac-g++.conf b/zouba/qt4-maemo5/mkspecs/common/mac-g++.conf
new file mode 100644 (file)
index 0000000..1863898
--- /dev/null
@@ -0,0 +1,78 @@
+#
+# qmake configuration for common gcc on Mac OS X
+#
+
+include(mac.conf)
+
+QMAKE_COMPILER_DEFINES  += __APPLE__ __GNUC__
+QMAKE_CFLAGS           += -pipe
+QMAKE_CFLAGS_DEPS      += -M
+QMAKE_CFLAGS_WARN_ON   += -Wall -W
+QMAKE_CFLAGS_WARN_OFF  += -w
+QMAKE_CFLAGS_RELEASE   += -O2
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     += -fPIC
+QMAKE_CFLAGS_STATIC_LIB        += -fPIC
+QMAKE_CFLAGS_YACC      += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CFLAGS_PPC_64     += -arch ppc64 -Xarch_ppc64 -mmacosx-version-min=10.5
+QMAKE_OBJECTIVE_CFLAGS_PPC_64  += -arch ppc64 -Xarch_ppc64 -mmacosx-version-min=10.5
+QMAKE_CFLAGS_X86_64     += -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
+QMAKE_OBJECTIVE_CFLAGS_X86_64  += -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
+QMAKE_CFLAGS_PPC        += -arch ppc
+QMAKE_OBJECTIVE_CFLAGS_PPC  += -arch ppc
+QMAKE_CFLAGS_X86        += -arch i386
+QMAKE_OBJECTIVE_CFLAGS_X86  += -arch i386
+QMAKE_CFLAGS_DWARF2     += -gdwarf-2
+
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PPC_64   += -arch ppc64 -Xarch_ppc64 -mmacosx-version-min=10.5
+QMAKE_CXXFLAGS_X86_64   += -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
+QMAKE_CXXFLAGS_PPC      += -arch ppc
+QMAKE_CXXFLAGS_X86      += -arch i386
+QMAKE_CXXFLAGS_DWARF2   += $$QMAKE_CFLAGS_DWARF2
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK              = $$QMAKE_CXX
+QMAKE_LINK_SHLIB        = $$QMAKE_CXX
+QMAKE_LINK_C            = $$QMAKE_CC
+QMAKE_LINK_C_SHLIB      = $$QMAKE_CC
+QMAKE_LFLAGS           += -headerpad_max_install_names
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       +=
+QMAKE_LFLAGS_SHLIB     += -single_module -dynamiclib
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_LFLAGS_INCREMENTAL+= -undefined suppress -flat_namespace
+QMAKE_LFLAGS_SONAME    += -install_name$${LITERAL_WHITESPACE}
+QMAKE_LFLAGS_PPC_64     += -arch ppc64 -Xarch_ppc64 -mmacosx-version-min=10.5
+QMAKE_LFLAGS_X86_64     += -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
+QMAKE_LFLAGS_PPC        += -arch ppc
+QMAKE_LFLAGS_X86        += -arch i386
+QMAKE_LFLAGS_VERSION    += -current_version$${LITERAL_WHITESPACE}
+QMAKE_LFLAGS_COMPAT_VERSION += -compatibility_version$${LITERAL_WHITESPACE}
+# -all_load requred to make Objective-C categories work in static builds.
+QMAKE_LFLAGS_STATIC_LIB += -all_load
+QMAKE_RPATH            +=
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+QMAKE_OBJCFLAGS_PRECOMPILE += -x objective-c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_OBJCFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_OBJCXXFLAGS_PRECOMPILE += -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
diff --git a/zouba/qt4-maemo5/mkspecs/common/mac-llvm.conf b/zouba/qt4-maemo5/mkspecs/common/mac-llvm.conf
new file mode 100644 (file)
index 0000000..55850c6
--- /dev/null
@@ -0,0 +1,76 @@
+#
+# qmake configuration for common gcc on Mac OS X
+#
+
+include(mac.conf)
+
+QMAKE_COMPILER_DEFINES  += __APPLE__ __GNUC__
+QMAKE_CC                = llvm-gcc
+QMAKE_CFLAGS           += -pipe
+QMAKE_CFLAGS_DEPS      += -M
+QMAKE_CFLAGS_WARN_ON   += -Wall -W
+QMAKE_CFLAGS_WARN_OFF  += -w
+QMAKE_CFLAGS_RELEASE   += -O2
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     += -fPIC
+QMAKE_CFLAGS_STATIC_LIB        += -fPIC
+QMAKE_CFLAGS_YACC      += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CFLAGS_PPC_64     += -arch ppc64
+QMAKE_OBJECTIVE_CFLAGS_PPC_64  += -arch ppc64
+QMAKE_CFLAGS_X86_64     += -arch x86_64
+QMAKE_OBJECTIVE_CFLAGS_X86_64  += -arch x86_64
+QMAKE_CFLAGS_PPC        += -arch ppc
+QMAKE_OBJECTIVE_CFLAGS_PPC  += -arch ppc
+QMAKE_CFLAGS_X86        += -arch i386
+QMAKE_OBJECTIVE_CFLAGS_X86  += -arch i386
+QMAKE_CFLAGS_DWARF2     += -gdwarf-2
+
+QMAKE_CXX               = llvm-g++
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PPC_64   += -arch ppc64
+QMAKE_CXXFLAGS_X86_64   += -arch x86_64
+QMAKE_CXXFLAGS_PPC      += -arch ppc
+QMAKE_CXXFLAGS_X86      += -arch i386
+QMAKE_CXXFLAGS_DWARF2   += $$QMAKE_CFLAGS_DWARF2
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK              = $$QMAKE_CXX
+QMAKE_LINK_SHLIB        = $$QMAKE_CXX
+QMAKE_LFLAGS           += -headerpad_max_install_names
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       +=
+QMAKE_LFLAGS_SHLIB     += -single_module -dynamiclib
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_LFLAGS_INCREMENTAL+= -undefined suppress -flat_namespace
+QMAKE_LFLAGS_SONAME    += -install_name$${LITERAL_WHITESPACE}
+QMAKE_LFLAGS_PPC_64     += -arch ppc64
+QMAKE_LFLAGS_X86_64     += -arch x86_64
+QMAKE_LFLAGS_PPC        += -arch ppc
+QMAKE_LFLAGS_X86        += -arch i386
+QMAKE_LFLAGS_VERSION    += -current_version$${LITERAL_WHITESPACE}
+QMAKE_LFLAGS_COMPAT_VERSION += -compatibility_version$${LITERAL_WHITESPACE}
+QMAKE_RPATH            +=
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+QMAKE_OBJCFLAGS_PRECOMPILE += -x objective-c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_OBJCFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_OBJCXXFLAGS_PRECOMPILE += -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
diff --git a/zouba/qt4-maemo5/mkspecs/common/mac.conf b/zouba/qt4-maemo5/mkspecs/common/mac.conf
new file mode 100644 (file)
index 0000000..5d88ac4
--- /dev/null
@@ -0,0 +1,44 @@
+#
+# qmake configuration for common Mac OS X
+#
+
+QMAKE_RESOURCE         = /Developer/Tools/Rez
+
+QMAKE_EXTENSION_SHLIB  = dylib
+
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /System/Library/Frameworks/OpenGL.framework/Headers \
+       /System/Library/Frameworks/AGL.framework/Headers/
+
+QMAKE_FIX_RPATH         = install_name_tool -id 
+
+QMAKE_RPATH            =
+
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_OPENGL      = -framework OpenGL -framework AGL
+QMAKE_LIBS_OPENGL_QT   = $$QMAKE_LIBS_OPENGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_RANLIB           = ranlib -s
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE                = $$QMAKE_COPY
+QMAKE_COPY_DIR         = $$QMAKE_COPY -R
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 # overridden to 10.5 for Cocoa on the compiler command line
+
+
+include(unix.conf)
diff --git a/zouba/qt4-maemo5/mkspecs/common/qws.conf b/zouba/qt4-maemo5/mkspecs/common/qws.conf
new file mode 100644 (file)
index 0000000..0242db4
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# qmake configuration common for QWS
+#
+
+MAKEFILE_GENERATOR      = UNIX
+TEMPLATE                = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+
+# modifications to linux.conf
+QMAKE_INCDIR_X11        =
+QMAKE_LIBDIR_X11        =
+QMAKE_INCDIR_OPENGL     =
+QMAKE_LIBDIR_OPENGL     =
+QMAKE_LIBS_X11          =
+QMAKE_LIBS_X11SM        =
+QMAKE_LIBS_OPENGL       =
+QMAKE_LIBS_OPENGL_QT    =
diff --git a/zouba/qt4-maemo5/mkspecs/common/symbian/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/common/symbian/qplatformdefs.h
new file mode 100644 (file)
index 0000000..c8a336b
--- /dev/null
@@ -0,0 +1,169 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+//#include <features.h>
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+//#include <signal.h>
+#include <dlfcn.h>
+#include <sys/select.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+#include <arpa/inet.h>
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF              struct stat
+#define QT_STATBUF4TSTAT        struct stat
+#define QT_STAT                 ::stat
+#define QT_FSTAT                ::fstat
+#define QT_LSTAT                ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE      0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if (defined(__GLIBC__) && (__GLIBC__ >= 2)) || defined(Q_OS_SYMBIAN)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+
+#if defined(__ISO_C_VISIBLE) && (__ISO_C_VISIBLE >= 1999)
+#define QT_SNPRINTF     ::snprintf
+#define QT_VSNPRINTF    ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/common/symbian/stl-off/new b/zouba/qt4-maemo5/mkspecs/common/symbian/stl-off/new
new file mode 100644 (file)
index 0000000..8584ba3
--- /dev/null
@@ -0,0 +1,5 @@
+// 'new' implemented in symbian libs, so do nothing here; just keep Qt happy
+#ifndef __NEW_SYMB_ADDON
+#define __NEW_SYMB_ADDON
+#include <e32base.h>
+#endif //__NEW_SYMB_ADDON 
diff --git a/zouba/qt4-maemo5/mkspecs/common/symbian/symbian.conf b/zouba/qt4-maemo5/mkspecs/common/symbian/symbian.conf
new file mode 100644 (file)
index 0000000..7162bad
--- /dev/null
@@ -0,0 +1,150 @@
+#
+# qmake configuration for symbian-*
+#
+
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+DEFINES                        += UNICODE QT_KEYPAD_NAVIGATION QT_SOFTKEYS_ENABLED QT_USE_MATH_H_FLOATS
+QMAKE_COMPILER_DEFINES  += SYMBIAN
+
+QMAKE_EXT_OBJ           = .o
+QMAKE_EXT_RES           = _res.o
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      =
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   =
+QMAKE_CFLAGS_DEBUG     =
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS.CW      = 
+QMAKE_CXXFLAGS.ARMCC   = --visibility_inlines_hidden
+QMAKE_CXXFLAGS.GCCE    = -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_RTTI_ON =
+QMAKE_CXXFLAGS_RTTI_OFF        =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON =
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
+
+QMAKE_LINK              =
+QMAKE_LFLAGS            =
+QMAKE_LFLAGS.ARMCC      = 
+QMAKE_LFLAGS_EXCEPTIONS_ON =
+QMAKE_LFLAGS_EXCEPTIONS_OFF =
+QMAKE_LFLAGS_RELEASE    =
+QMAKE_LFLAGS_DEBUG      =
+QMAKE_LFLAGS_CONSOLE    =
+QMAKE_LFLAGS_WINDOWS    =
+QMAKE_LFLAGS_DLL        =
+QMAKE_LINK_OBJECT_MAX   =
+QMAKE_LINK_OBJECT_SCRIPT=
+
+QMAKE_LIBS             = -llibc -llibm -leuser -llibdl
+QMAKE_LIBS_CORE         = $$QMAKE_LIBS -llibpthread -lefsrv
+QMAKE_LIBS_GUI          = $$QMAKE_LIBS_CORE -lfbscli -lbitgdi -lhal -lgdi -lws32 -lapgrfx -lcone -leikcore -lmediaclientaudio -leikcoctl -leiksrv -lapparc -lcentralrepository
+QMAKE_LIBS_NETWORK      = 
+QMAKE_LIBS_EGL          = -llibEGL
+QMAKE_LIBS_OPENGL       = 
+QMAKE_LIBS_OPENVG       = -llibOpenVG -lgraphicsresource -lfbscli -lbitgdi -lgdi
+QMAKE_LIBS_COMPAT       = 
+QMAKE_LIBS_QT_ENTRY     = -llibcrt0.lib
+QMAKE_LIBS_S60          = -lavkon
+
+!isEmpty(QMAKE_SH) {
+    QMAKE_COPY           = cp
+    QMAKE_COPY_DIR       = cp -r
+    QMAKE_MOVE           = mv
+    QMAKE_DEL_FILE       = rm -f
+    QMAKE_MKDIR          = mkdir
+    QMAKE_DEL_DIR        = rmdir
+    QMAKE_CHK_DIR_EXISTS = test -d
+} else {
+    QMAKE_COPY           = copy /y
+    QMAKE_COPY_DIR       = xcopy /s /q /y /i
+    QMAKE_MOVE           = move
+    QMAKE_DEL_FILE       = del
+    QMAKE_MKDIR          = mkdir
+    QMAKE_DEL_DIR        = rmdir
+    QMAKE_CHK_DIR_EXISTS = if not exist
+}
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = ar -ru
+QMAKE_RC               = windres
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_STRIP            = strip
+QMAKE_STRIPFLAGS_LIB   += --strip-unneeded
+
+load(qt_config)
+load(platform_paths)
+
+symbian-abld {
+# Versions of abld prior to Symbian^3 have a bug where you cannot remove something from the command line without replacing it
+# Rather than figure out which version of abld we're using, we'll replace the command with a macro *that should never be used*
+    MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA = "OPTION_REPLACE ARMCC --export_all_vtbl -D__QT_NOEFFECTMACRO_DONOTUSE"
+} else {
+    MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA = "OPTION_REPLACE ARMCC --export_all_vtbl // don't use --export_all_vtbl"
+}
+MMP_RULES += PAGED
+MMP_RULES += $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
+SYMBIAN_PLATFORMS = WINSCW GCCE ARMV5 ARMV6
+
+# Legacy support requires some hardcoded stdapis paths. 
+INCLUDEPATH = \
+    $$[QT_INSTALL_PREFIX]/mkspecs/common/symbian/stl-off \
+    $$[QT_INSTALL_PREFIX]/mkspecs/common/symbian \
+    $${EPOCROOT}epoc32/include \
+    $$OS_LAYER_LIBC_SYSTEMINCLUDE \
+    $$INCLUDEPATH
+    
+# Supports S60 3.0, 3.1, 3.2 and 5.0 by default
+default_deployment.pkg_prerules = \
+    "; Default HW/platform dependencies" \
+    "[0x101F7961],0,0,0,{\"S60ProductID\"}" \
+    "[0x102032BE],0,0,0,{\"S60ProductID\"}" \
+    "[0x102752AE],0,0,0,{\"S60ProductID\"}" \
+    "[0x1028315F],0,0,0,{\"S60ProductID\"}" \
+    " "
+
+DEPLOYMENT += default_deployment
+
+exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/Series60v5.0.sis )|exists($${EPOCROOT}epoc32/data/z/system/install/Series60v5.0.sis) {
+    S60_VERSION = 5.0
+} else {
+    exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/Series60v3.2.sis )|exists($${EPOCROOT}epoc32/data/z/system/install/Series60v3.2.sis) {
+        S60_VERSION = 3.2
+    } else {
+        S60_VERSION = 3.1
+        MMP_RULES -= PAGED
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/common/unix.conf b/zouba/qt4-maemo5/mkspecs/common/unix.conf
new file mode 100644 (file)
index 0000000..4cb171e
--- /dev/null
@@ -0,0 +1,11 @@
+#
+# qmake configuration for common unix
+#
+
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         +=
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                += -d
+QMAKE_YACCFLAGS_MANGLE  += -p $base -b $base
+QMAKE_YACC_HEADER       = $base.tab.h
+QMAKE_YACC_SOURCE       = $base.tab.c
diff --git a/zouba/qt4-maemo5/mkspecs/common/wince/qmake.conf b/zouba/qt4-maemo5/mkspecs/common/wince/qmake.conf
new file mode 100644 (file)
index 0000000..ff99f1b
--- /dev/null
@@ -0,0 +1,95 @@
+#
+# qmake configuration for common Windows CE
+#
+
+MAKEFILE_GENERATOR = MSVC.NET
+TEMPLATE = app
+QT            += core gui
+CONFIG += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target embed_manifest_dll embed_manifest_exe
+
+DEFINES    += UNDER_CE WINCE _WINDOWS _UNICODE UNICODE _WIN32 QT_NO_PRINTER QT_NO_PRINTDIALOG
+
+QMAKE_COMPILER_DEFINES  += _MSC_VER=1400
+
+QMAKE_CC               = cl
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -nologo -Zm200 -Zc:wchar_t-
+QMAKE_CFLAGS_WARN_ON   = -W3
+QMAKE_CFLAGS_WARN_OFF  = -W0
+QMAKE_CFLAGS_RELEASE    = -O2 -MD
+QMAKE_CFLAGS_LTCG       = -GL
+QMAKE_CFLAGS_DEBUG     = -DDEBUG -D_DEBUG -Zi -MDd
+QMAKE_CFLAGS_YACC      =
+
+# Uncomment the following lines to reduce library sizes
+# with potential cost of performance
+# QMAKE_CFLAGS += -Os
+# QMAKE_CFLAGS_RELEASE += -Os
+
+QMAKE_CXX              = $$QMAKE_CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_LTCG     = $$QMAKE_CFLAGS_LTCG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_STL_ON  = -EHsc
+QMAKE_CXXFLAGS_STL_OFF =
+QMAKE_CXXFLAGS_RTTI_ON = -GR
+QMAKE_CXXFLAGS_RTTI_OFF        =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -EHs-c-
+
+QMAKE_INCDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH        = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK             = link
+QMAKE_LFLAGS           = /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB
+QMAKE_LFLAGS_RELEASE    = /INCREMENTAL:NO
+QMAKE_LFLAGS_DEBUG     = /DEBUG
+QMAKE_LFLAGS_LTCG       = /LTCG
+QMAKE_LIBS_NETWORK      = ws2.lib
+QMAKE_LIBS_OPENGL       = 
+QMAKE_LIBS_COMPAT       = 
+
+QMAKE_LIBS_EGL          = libEGL.lib
+QMAKE_LIBS_OPENGL_ES1 = libGLES_CM.lib
+QMAKE_LIBS_OPENGL_ES1CL = libGLES_CL.lib
+QMAKE_LIBS_OPENGL_ES2 = libGLESv2.lib
+
+QMAKE_LIBS_QT_ENTRY    = -lqtmain
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = lib
+QMAKE_RC               = rc
+
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_COPY             = copy /y
+QMAKE_COPY_DIR         = xcopy /s /q /y /i
+QMAKE_MOVE             = move
+QMAKE_DEL_FILE         = del
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = if not exist
+QMAKE_MKDIR            = mkdir
+
+VCPROJ_EXTENSION       = .vcproj
+VCSOLUTION_EXTENSION   = .sln
+VCPROJ_KEYWORD = Qt4VSv1.0
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/common/wince/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/common/wince/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ec1d94a
--- /dev/null
@@ -0,0 +1,133 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+#ifdef UNICODE
+#ifndef _UNICODE
+#define _UNICODE
+#endif
+#endif
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+#include "qfunctions_wince.h"
+
+#define _POSIX_
+#include <limits.h>
+#undef _POSIX_
+
+#include <tchar.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <windows.h>
+
+#define Q_FS_FAT
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF             struct _stati64         // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stati64         // non-ANSI defs
+#define QT_STAT                        ::_stati64
+#define QT_FSTAT               ::_fstati64
+#else
+#define QT_STATBUF             struct stat             // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct stat             // non-ANSI defs
+#define QT_STAT                        ::qt_wince_stat
+#define QT_FSTAT               ::qt_wince__fstat
+#endif
+#define QT_STAT_REG            _S_IFREG
+#define QT_STAT_DIR            _S_IFDIR
+#define QT_STAT_MASK           _S_IFMT
+#if defined(_S_IFLNK)
+#  define QT_STAT_LNK          _S_IFLNK
+#endif
+#define QT_FILENO              ::qt_wince___fileno
+#define QT_OPEN                        ::qt_wince_open
+#define QT_CLOSE               ::qt_wince__close
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_LSEEK               ::_lseeki64
+#define QT_TSTAT               ::_tstati64
+#else
+#define QT_LSEEK               ::qt_wince__lseek
+#define QT_TSTAT               ::_tstat
+#endif
+#define QT_READ                        ::qt_wince__read
+#define QT_WRITE               ::qt_wince__write
+#define QT_ACCESS              ::qt_wince__access
+#define QT_GETCWD              ::_getcwd
+#define QT_CHDIR               ::_chdir
+#define QT_MKDIR               ::qt_wince__mkdir
+#define QT_RMDIR               ::qt_wince__rmdir
+#define QT_OPEN_LARGEFILE      0
+#define QT_OPEN_RDONLY         _O_RDONLY
+#define QT_OPEN_WRONLY         _O_WRONLY
+#define QT_OPEN_RDWR           _O_RDWR
+#define QT_OPEN_CREAT          _O_CREAT
+#define QT_OPEN_TRUNC          _O_TRUNC
+#define QT_OPEN_APPEND         _O_APPEND
+# define QT_OPEN_TEXT          _O_TEXT
+# define QT_OPEN_BINARY                _O_BINARY
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+
+#define QT_SIGNAL_ARGS         int
+
+#define QT_VSNPRINTF(buffer, count, format, arg) \
+    _vsnprintf(buffer, count, format, arg)
+
+#define QT_SNPRINTF            ::_snprintf
+
+# define F_OK  0
+# define X_OK  1
+# define W_OK  2
+# define R_OK  4
+
+typedef int mode_t;
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/cygwin-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/cygwin-g++/qmake.conf
new file mode 100644 (file)
index 0000000..9cbc3d7
--- /dev/null
@@ -0,0 +1,87 @@
+#
+# qmake configuration for cygwin-g++
+#
+# Written for Qt/X11 on Windows using Cygwin's POSIX API
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE  = sublib
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         = 
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -Wl,-rpath,
+QMAKE_CYGWIN_SHLIB     = 1
+QMAKE_CYGWIN_EXE       = 1
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/cygwin-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/cygwin-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..9b3be62
--- /dev/null
@@ -0,0 +1,138 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+// Cygwin does not provide <sys/ipc.h> and <sys/shm.h> because it
+// doesn't support SysV IPC or shared memory. See for example:
+//     http://afni.nimh.nih.gov/afni/afniboard/messages/1725.html
+#include <sys/time.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+//#include <windows.h>
+#include <netinet/in.h>
+
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+#define QT_FOPEN                ::fopen
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           socklen_t
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/darwin-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/darwin-g++/qmake.conf
new file mode 100644 (file)
index 0000000..72baa89
--- /dev/null
@@ -0,0 +1,105 @@
+#
+# qmake configuration for darwin-g++
+#
+# Written for Qt/X11 on Darwin and XFree86
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl native_precompiled_headers
+QT                     += core gui
+DEFINES                 += __USE_WS_X11__
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_EXTENSION_SHLIB  = dylib
+QMAKE_EXTENSION_PLUGIN = so
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS  += -fvisibility=hidden
+QMAKE_CFLAGS_THREAD    =
+QMAKE_CFLAGS_PRECOMPILE        += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CXX              = c++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS        += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_THREAD  =
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = c++
+QMAKE_LINK_SHLIB       = c++
+QMAKE_LFLAGS           += -headerpad_max_install_names
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_APP        = -prebind
+QMAKE_LFLAGS_SHLIB     = -prebind -dynamiclib -single_module
+QMAKE_LFLAGS_PLUGIN    = -prebind -bundle
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_SONAME    += -install_name$${LITERAL_WHITESPACE}
+
+QMAKE_LFLAGS_VERSION    = -current_version$${LITERAL_WHITESPACE}
+QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
+
+QMAKE_RPATH            =
+
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           = ranlib -s
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE                = $$QMAKE_COPY
+QMAKE_COPY_DIR         = $$QMAKE_COPY -r
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+QMAKE_CXXFLAGS_PRECOMPILE += -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/darwin-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/darwin-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..5aea69f
--- /dev/null
@@ -0,0 +1,127 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           socklen_t
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/default b/zouba/qt4-maemo5/mkspecs/default
new file mode 120000 (symlink)
index 0000000..9136cc2
--- /dev/null
@@ -0,0 +1 @@
+linux-g++-maemo5
\ No newline at end of file
diff --git a/zouba/qt4-maemo5/mkspecs/features/assistant.prf b/zouba/qt4-maemo5/mkspecs/features/assistant.prf
new file mode 100644 (file)
index 0000000..25e5d4d
--- /dev/null
@@ -0,0 +1,9 @@
+
+INCLUDEPATH = $$QMAKE_INCDIR_QT/QtAssistant $$INCLUDEPATH
+
+mac:!static:contains(QT_CONFIG, qt_framework) {
+    qtAddLibrary(QtAssistant)
+} else {
+    qtAddLibrary(QtAssistantClient)
+}
+QT += network
diff --git a/zouba/qt4-maemo5/mkspecs/features/build_pass.prf b/zouba/qt4-maemo5/mkspecs/features/build_pass.prf
new file mode 100644 (file)
index 0000000..6547c97
--- /dev/null
@@ -0,0 +1 @@
+CONFIG += no_autoqmake
diff --git a/zouba/qt4-maemo5/mkspecs/features/dbusadaptors.prf b/zouba/qt4-maemo5/mkspecs/features/dbusadaptors.prf
new file mode 100644 (file)
index 0000000..241ace6
--- /dev/null
@@ -0,0 +1,44 @@
+isEmpty(QMAKE_QDBUSXML2CPP) {
+    win32:QMAKE_QDBUSXML2CPP = $$[QT_INSTALL_BINS]\qdbusxml2cpp.exe
+    else:QMAKE_QDBUSXML2CPP = $$[QT_INSTALL_BINS]/qdbusxml2cpp
+}
+
+for(DBUS_ADAPTOR, $$list($$unique(DBUS_ADAPTORS))) {
+
+    !contains(DBUS_ADAPTOR, .*\w\.xml$) {
+        warning("Invalid D-BUS adaptor: '$${DBUS_ADAPTOR}', please use 'com.mydomain.myinterface.xml' instead.")
+        next()
+    }
+
+    DBUS_ADAPTOR_LIST += $${DBUS_ADAPTOR}
+}
+
+dbus_adaptor_header.commands = $$QMAKE_QDBUSXML2CPP -a ${QMAKE_FILE_OUT}: ${QMAKE_FILE_IN}
+dbus_adaptor_header.output_function = dbus_adaptor_header_output
+dbus_adaptor_header.name = DBUSXML2CPP ADAPTOR HEADER ${QMAKE_FILE_IN}
+dbus_adaptor_header.variable_out = DBUS_ADAPTOR_HEADERS
+dbus_adaptor_header.input = DBUS_ADAPTOR_LIST
+
+defineReplace(dbus_adaptor_header_output) {
+    return("$$lower($$section($$list($$basename(1)),.,-2,-2))_adaptor.h")
+}
+
+dbus_adaptor_source.commands = $$QMAKE_QDBUSXML2CPP -i ${QMAKE_FILE_OUT_BASE}.h -a :${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
+dbus_adaptor_source.output_function = dbus_adaptor_source_output
+dbus_adaptor_source.name = DBUSXML2CPP ADAPTOR SOURCE ${QMAKE_FILE_IN}
+dbus_adaptor_source.variable_out = SOURCES
+dbus_adaptor_source.input = DBUS_ADAPTOR_LIST
+
+load(moc)
+dbus_adaptor_moc.commands = $$moc_header.commands
+dbus_adaptor_moc.output = $$moc_header.output
+dbus_adaptor_moc.depends = $$dbus_adaptor_header.output
+dbus_adaptor_moc.input = DBUS_ADAPTOR_HEADERS
+dbus_adaptor_moc.variable_out = GENERATED_SOURCES
+dbus_adaptor_moc.name = $$moc_header.name
+
+defineReplace(dbus_adaptor_source_output) {
+    return("$$lower($$section($$list($$basename(1)),.,-2,-2))_adaptor.cpp")
+}
+
+QMAKE_EXTRA_COMPILERS += dbus_adaptor_header dbus_adaptor_source dbus_adaptor_moc
diff --git a/zouba/qt4-maemo5/mkspecs/features/dbusinterfaces.prf b/zouba/qt4-maemo5/mkspecs/features/dbusinterfaces.prf
new file mode 100644 (file)
index 0000000..c32597a
--- /dev/null
@@ -0,0 +1,45 @@
+load(moc)
+
+isEmpty(QMAKE_QDBUSXML2CPP) {
+    win32:QMAKE_QDBUSXML2CPP = $$[QT_INSTALL_BINS]\qdbusxml2cpp.exe
+    else:QMAKE_QDBUSXML2CPP = $$[QT_INSTALL_BINS]/qdbusxml2cpp
+}
+
+for(DBUS_INTERFACE, $$list($$unique(DBUS_INTERFACES))) {
+
+    !contains(DBUS_INTERFACE, .*\w\.xml$) {
+        warning("Invalid D-BUS interface : '$${DBUS_INTERFACE}', please use 'com.mydomain.myinterface.xml' instead.")
+        next()
+    }
+
+    DBUS_INTERFACE_LIST += $${DBUS_INTERFACE}
+}
+
+dbus_interface_header.commands = $$QMAKE_QDBUSXML2CPP -p ${QMAKE_FILE_OUT}: ${QMAKE_FILE_IN}
+dbus_interface_header.output_function = dbus_interface_header_output
+dbus_interface_header.name = DBUSXML2CPP INTERFACE HEADER ${QMAKE_FILE_IN}
+dbus_interface_header.variable_out = DBUS_INTERFACE_HEADERS
+dbus_interface_header.input = DBUS_INTERFACE_LIST
+
+defineReplace(dbus_interface_header_output) {
+    return("$$lower($$section($$list($$basename(1)),.,-2,-2))_interface.h")
+}
+
+dbus_interface_source.commands = $$QMAKE_QDBUSXML2CPP -i ${QMAKE_FILE_OUT_BASE}.h -p :${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
+dbus_interface_source.output_function = dbus_interface_source_output
+dbus_interface_source.name = DBUSXML2CPP INTERFACE SOURCE ${QMAKE_FILE_IN}
+dbus_interface_source.variable_out = SOURCES
+dbus_interface_source.input = DBUS_INTERFACE_LIST
+
+dbus_interface_moc.commands = $$moc_header.commands
+dbus_interface_moc.output = $$moc_header.output
+dbus_interface_moc.depends = $$dbus_interface_header.output
+dbus_interface_moc.input = DBUS_INTERFACE_HEADERS
+dbus_interface_moc.variable_out = GENERATED_SOURCES
+dbus_interface_moc.name = $$moc_header.name
+
+defineReplace(dbus_interface_source_output) {
+    return("$$lower($$section($$list($$basename(1)),.,-2,-2))_interface.cpp")
+}
+
+QMAKE_EXTRA_COMPILERS += dbus_interface_header dbus_interface_source dbus_interface_moc
diff --git a/zouba/qt4-maemo5/mkspecs/features/debug.prf b/zouba/qt4-maemo5/mkspecs/features/debug.prf
new file mode 100644 (file)
index 0000000..c1ba125
--- /dev/null
@@ -0,0 +1,8 @@
+CONFIG -= release
+contains(QT_CONFIG,dwarf2)|dwarf2:load(dwarf2, true)
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_DEBUG
+QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_DEBUG
+QMAKE_LFLAGS += $$QMAKE_LFLAGS_DEBUG
+QMAKE_LIBFLAGS += $$QMAKE_LIBFLAGS_DEBUG
+!debug_and_release:fix_output_dirs:fixExclusiveOutputDirs(debug, release)
diff --git a/zouba/qt4-maemo5/mkspecs/features/debug_and_release.prf b/zouba/qt4-maemo5/mkspecs/features/debug_and_release.prf
new file mode 100644 (file)
index 0000000..ef33789
--- /dev/null
@@ -0,0 +1 @@
+!macx-xcode:!symbian:addExclusiveBuilds(debug, Debug, release, Release)
diff --git a/zouba/qt4-maemo5/mkspecs/features/default_post.prf b/zouba/qt4-maemo5/mkspecs/features/default_post.prf
new file mode 100644 (file)
index 0000000..01074f4
--- /dev/null
@@ -0,0 +1,10 @@
+CONFIG(debug, debug|release):load(debug)
+else:load(release)
+debug_and_release:load(debug_and_release)
+incredibuild_xge {
+    CONFIG -= incredibuild_xge
+    CONFIG = incredibuild_xge $$CONFIG
+}
+
+QMAKE_INCDIR += $$QMAKE_INCDIR_POST
+QMAKE_LIBDIR += $$QMAKE_LIBDIR_POST
diff --git a/zouba/qt4-maemo5/mkspecs/features/default_pre.prf b/zouba/qt4-maemo5/mkspecs/features/default_pre.prf
new file mode 100644 (file)
index 0000000..6442594
--- /dev/null
@@ -0,0 +1,2 @@
+load(exclusive_builds)
+CONFIG = lex yacc warn_on debug uic resources $$CONFIG
diff --git a/zouba/qt4-maemo5/mkspecs/features/designer.prf b/zouba/qt4-maemo5/mkspecs/features/designer.prf
new file mode 100644 (file)
index 0000000..fa40caa
--- /dev/null
@@ -0,0 +1,7 @@
+QT += xml
+contains(QT_CONFIG, script): QT += script
+qt:load(qt)
+
+plugin:DEFINES += QDESIGNER_EXPORT_WIDGETS
+
+qtAddLibrary(QtDesigner)
diff --git a/zouba/qt4-maemo5/mkspecs/features/dll.prf b/zouba/qt4-maemo5/mkspecs/features/dll.prf
new file mode 100644 (file)
index 0000000..943ab93
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG += shared
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/egl.prf b/zouba/qt4-maemo5/mkspecs/features/egl.prf
new file mode 100644 (file)
index 0000000..00f70d3
--- /dev/null
@@ -0,0 +1,29 @@
+# On UNIX, we can use config tests to figure out if egl.h is in
+# EGL/egl.h or GLES/egl.h. Sadly, there are no config tests on WinCE
+# so we have to assume that for GLES 1.1 (CL), the EGL header is in
+# GLES/egl.h. We also assume there is no separate libEGL.lib library,
+# so we use the GL library instead.
+
+wince*:contains(QT_CONFIG, opengles1) {
+    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1
+    LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1
+    for(p, QMAKE_LIBDIR_OPENGL_ES1) {
+        exists($$p):LIBS_PRIVATE += -L$$p
+    }
+    DEFINES += QT_GLES_EGL
+} else:wince*:contains(QT_CONFIG, opengles1cl) {
+    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1CL
+    LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1CL
+    LIBS += $$QMAKE_LFLAGS_EGL
+    for(p, QMAKE_LIBDIR_OPENGL_ES1CL) {
+        exists($$p):LIBS_PRIVATE += -L$$p
+    }
+    DEFINES += QT_GLES_EGL
+} else {
+    INCLUDEPATH += $$QMAKE_INCDIR_EGL
+    LIBS_PRIVATE += $$QMAKE_LIBS_EGL
+    LIBS += $$QMAKE_LFLAGS_EGL
+    for(p, QMAKE_LIBDIR_EGL) {
+        exists($$p):LIBS_PRIVATE += -L$$p
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/exclusive_builds.prf b/zouba/qt4-maemo5/mkspecs/features/exclusive_builds.prf
new file mode 100644 (file)
index 0000000..8898c96
--- /dev/null
@@ -0,0 +1,100 @@
+# fixExclusiveOutputDirs(1config, 2config)
+# Change all output paths that references 2config to have the string 1config in them
+defineTest(fixExclusiveOutputDirs) {
+    unset(firstBuild)
+    unset(secondBuild)
+    unset(appendFirstBuild)
+    firstBuild = $$1
+    secondBuild = $$2
+    count(ARGS, 2, greaterThan):isEqual($$list($$lower($$3)), false):appendFirstBuild = false
+    else:appendFirstBuild = true
+
+    isEmpty(QMAKE_DIR_REPLACE):QMAKE_DIR_REPLACE += OBJECTS_DIR MOC_DIR RCC_DIR
+    lessThan(firstBuild, $$secondBuild):eval($${firstBuild}_and_$${secondBuild}_target:QMAKE_DIR_REPLACE += DESTDIR)
+    else:eval($${secondBuild}_and_$${firstBuild}_target:QMAKE_DIR_REPLACE += DESTDIR)
+    for(fix, QMAKE_DIR_REPLACE) {
+        isEmpty($$fix)|isEqual($$fix, .) {
+            eval($$fix = $${firstBuild})
+        } else:contains($$list($$first($$fix)), .*$${secondBuild}.*) {
+            eval($$fix ~= s/$${secondBuild}/$${firstBuild}/gi)
+        } else:isEqual(appendFirstBuild, true):!contains($$list($$first($$fix)), .*$${firstBuild}.*) {
+            contains($$list($${first($$fix)}), .*/$):eval($$fix = $${first($$fix)}$${firstBuild})
+           else:eval($$fix = $${first($$fix)}-$${firstBuild})
+        }
+        export($$fix)
+    }
+    return(true)
+}
+
+# addExclusiveBuilds(1config, 1name, 2config, 2name)
+# Adds two BUILDS which are exclusive to each other.
+defineTest(addExclusiveBuilds) {
+    unset(firstBuild)
+    unset(firstBuildName)
+    unset(secondBuild)
+    unset(secondBuildName)
+
+    firstBuild = $$1
+    firstBuildName = $$2
+    secondBuild = $$3
+    secondBuildName = $$4
+
+    contains(TEMPLATE, subdirs) {
+        eval(sub_$${firstBuildName}.target = $$firstBuild)
+       export(sub_$${firstBuildName}.target)
+        eval(sub_$${firstBuildName}.CONFIG = recursive)
+       export(sub_$${firstBuildName}.CONFIG)
+        eval(sub_$${secondBuildName}.target = $$secondBuild)
+       export(sub_$${secondBuildName}.target)
+        eval(sub_$${secondBuildName}.CONFIG = recursive)
+       export(sub_$${secondBuildName}.CONFIG)
+       QMAKE_EXTRA_TARGETS += sub_$${firstBuildName} sub_$${secondBuildName}
+       export(QMAKE_EXTRA_TARGETS)
+    } else:!build_pass {
+        first_BUILDS  =
+        second_BUILDS =
+        suffix_BUILDS = Build
+
+        isEmpty(BUILDS): BUILDPERMUTATIONS = $$suffix_BUILDS
+        else: BUILDPERMUTATIONS = $$BUILDS
+
+        for(permutation, BUILDPERMUTATIONS) {
+            permutation ~= s/$${suffix_BUILDS}$//
+            isEmpty(permutation): permutationName =
+            else: permutationName = -$$permutation
+            # Makefile target rule
+            eval($${firstBuildName}$${permutation}.target  = $${firstBuild}$$lower($${permutationName}))
+           export($${firstBuildName}$${permutation}.target)
+            # IDE name
+            eval($${firstBuildName}$${permutation}.name    = $${firstBuildName}$${permutationName})
+           export($${firstBuildName}$${permutation}.name)
+           # prl import CONFIG option
+            eval($${firstBuildName}$${permutation}.PRL_CONFIG  = $${firstBuild}$${permutation})
+            export($${firstBuildName}$${permutation}.PRL_CONFIG)
+            # Individual CONFIG option
+            eval($${firstBuildName}$${permutation}.CONFIG  = $${firstBuild} $${firstBuildName}Build $$eval($${permutation}.CONFIG))
+           export($${firstBuildName}$${permutation}.CONFIG)
+
+            eval($${secondBuildName}$${permutation}.target = $${secondBuild}$$lower($${permutationName}))
+           export($${secondBuildName}$${permutation}.target)
+            eval($${secondBuildName}$${permutation}.name   = $${secondBuildName}$${permutationName})
+           export($${secondBuildName}$${permutation}.name)
+           eval($${secondBuildName}$${permutation}.PRL_CONFIG  = $${secondBuild}$${permutation})
+           export($${secondBuildName}$${permutation}.PRL_CONFIG)
+            eval($${secondBuildName}$${permutation}.CONFIG = $${secondBuild} $${secondBuildName}Build $$eval($${permutation}.CONFIG))
+           export($${secondBuildName}$${permutation}.CONFIG)
+            first_BUILDS += $${firstBuildName}$${permutation}
+            second_BUILDS += $${secondBuildName}$${permutation}
+        }
+        # A mutual exclusive block.
+        CONFIG($${firstBuild}, $${firstBuild}|$${secondBuild}): BUILDS = $$first_BUILDS  $$second_BUILDS 
+        else: BUILDS = $$second_BUILDS $$first_BUILDS
+        export(BUILDS)
+    } else {
+        eval($${firstBuildName}Build:fixExclusiveOutputDirs($$firstBuild, $$secondBuild, false))
+        eval($${secondBuildName}Build:fixExclusiveOutputDirs($$secondBuild, $$firstBuild, false))
+    }
+    return(true)
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/help.prf b/zouba/qt4-maemo5/mkspecs/features/help.prf
new file mode 100644 (file)
index 0000000..15685e7
--- /dev/null
@@ -0,0 +1,4 @@
+INCLUDEPATH = $$QMAKE_INCDIR_QT/QtHelp $$INCLUDEPATH
+QT += xml sql
+
+qtAddLibrary(QtHelp)
diff --git a/zouba/qt4-maemo5/mkspecs/features/include_source_dir.prf b/zouba/qt4-maemo5/mkspecs/features/include_source_dir.prf
new file mode 100644 (file)
index 0000000..8794998
--- /dev/null
@@ -0,0 +1 @@
+!equals(_PRO_FILE_PWD_, $$OUT_PWD):INCLUDEPATH *= .
diff --git a/zouba/qt4-maemo5/mkspecs/features/incredibuild_xge.prf b/zouba/qt4-maemo5/mkspecs/features/incredibuild_xge.prf
new file mode 100644 (file)
index 0000000..2fce443
--- /dev/null
@@ -0,0 +1,11 @@
+contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc") {
+    EOC = \$\$escape_expand(\n\t)
+
+    # The VCPROJ generator will replace the \r\h with the coded \r\n: &#x0d;&#x0a;
+    # No other generator understands the \h
+    win32-msvc.net|win32-msvc2*|wince*msvc*: EOC = \$\$escape_expand(\r\h)
+
+    for(xge, INCREDIBUILD_XGE) {
+        eval($${xge}.commands = Rem IncrediBuild_AllowRemote $$EOC Rem IncrediBuild_OutputFile $$replace($${xge}.output,/,\\) $$EOC $$eval($${xge}.commands))
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/lex.prf b/zouba/qt4-maemo5/mkspecs/features/lex.prf
new file mode 100644 (file)
index 0000000..df76a68
--- /dev/null
@@ -0,0 +1,24 @@
+#
+# Lex extra-compiler for handling files specified in the LEXSOURCES variable
+#
+
+{
+    lex.name = Lex ${QMAKE_FILE_IN}
+    lex.input = LEXSOURCES
+    lex_included {
+        lex.CONFIG += no_link
+    } else {
+        lex.variable_out = GENERATED_SOURCES
+    }
+    isEmpty(QMAKE_LEXFLAGS_MANGLE):QMAKE_LEXFLAGS_MANGLE = -P${QMAKE_FILE_BASE}
+    QMAKE_LEXEXTRAFLAGS = $$QMAKE_LEXFLAGS
+    !yacc_no_name_mangle:QMAKE_LEXEXTRAFLAGS += $$QMAKE_LEXFLAGS_MANGLE
+
+    lex.commands = $$QMAKE_LEX $$QMAKE_LEXEXTRAFLAGS ${QMAKE_FILE_IN}$$escape_expand(\n\t) \
+                   $$QMAKE_DEL_FILE $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_lex$${first(QMAKE_EXT_CPP)}$$escape_expand(\n\t) \
+                   $$QMAKE_MOVE lex.${QMAKE_FILE_BASE}.c $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_lex$${first(QMAKE_EXT_CPP)}$$escape_expand(\n\t)
+    lex.output = $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_lex$${first(QMAKE_EXT_CPP)}
+
+    silent:lex.commands = @echo Lex ${QMAKE_FILE_IN} && $$lex.commands
+    QMAKE_EXTRA_COMPILERS += lex
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/link_pkgconfig.prf b/zouba/qt4-maemo5/mkspecs/features/link_pkgconfig.prf
new file mode 100644 (file)
index 0000000..75373ea
--- /dev/null
@@ -0,0 +1,12 @@
+# handle pkg-config files
+for(PKGCONFIG_LIB, $$list($$unique(PKGCONFIG))) {
+    QMAKE_CXXFLAGS += $$system(pkg-config --cflags $$PKGCONFIG_LIB)
+    QMAKE_CFLAGS += $$system(pkg-config --cflags $$PKGCONFIG_LIB)
+    LIBS += $$system(pkg-config --libs $$PKGCONFIG_LIB)
+}
+
+for(PKGCONFIG_LIB, $$list($$unique(PKGCONFIG_PRIVATE))) {
+    QMAKE_CXXFLAGS += $$system(pkg-config --cflags $$PKGCONFIG_LIB)
+    QMAKE_CFLAGS += $$system(pkg-config --cflags $$PKGCONFIG_LIB)
+    LIBS_PRIVATE += $$system(pkg-config --libs $$PKGCONFIG_LIB)
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/default_post.prf b/zouba/qt4-maemo5/mkspecs/features/mac/default_post.prf
new file mode 100644 (file)
index 0000000..4999762
--- /dev/null
@@ -0,0 +1,17 @@
+load(default_post)
+!no_objective_c:CONFIG += objective_c
+
+# Pick a suitable default architecture for qmake-based applications.
+# If the Qt package contains one of x86 and x86_64, pick that one. If it
+# contains both then use the compiler default. Make a similiar decision for
+# PowerPC-based systems. Note that this logic assumes that Qt has been 
+# configured with an architecture that is usable on the system.
+qt:!isEmpty(QT_CONFIG) {
+    contains(QMAKE_HOST.arch, ppc) {
+        !contains(QT_CONFIG, ppc64):contains(QT_CONFIG, ppc):CONFIG += ppc
+        contains(QT_CONFIG, ppc64):!contains(QT_CONFIG, ppc):CONFIG += ppc64
+    } else {
+        !contains(QT_CONFIG, x86_64):contains(QT_CONFIG, x86):CONFIG += x86
+        contains(QT_CONFIG, x86_64):!contains(QT_CONFIG, x86):CONFIG += x86_64
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/default_pre.prf b/zouba/qt4-maemo5/mkspecs/features/mac/default_pre.prf
new file mode 100644 (file)
index 0000000..81e1d06
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG = sdk rez $$CONFIG
+load(default_pre)
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/dwarf2.prf b/zouba/qt4-maemo5/mkspecs/features/mac/dwarf2.prf
new file mode 100644 (file)
index 0000000..fc05562
--- /dev/null
@@ -0,0 +1,6 @@
+macx-xcode|macx-pbuilder {
+} else {
+   QMAKE_CFLAGS_DEBUG += $$QMAKE_CFLAGS_DWARF2
+   QMAKE_OBJECTIVE_CFLAGS_DEBUG += $$QMAKE_OBJECTIVE_DWARF2
+   QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CXXFLAGS_DWARF2
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/objective_c.prf b/zouba/qt4-maemo5/mkspecs/features/mac/objective_c.prf
new file mode 100644 (file)
index 0000000..0df7013
--- /dev/null
@@ -0,0 +1,23 @@
+
+isEmpty(QMAKE_OBJECTIVE_CC):QMAKE_OBJECTIVE_CC = $$QMAKE_CC
+    QMAKE_OBJECTIVE_CFLAGS = $$QMAKE_CFLAGS
+    QMAKE_OBJECTIVE_CFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+    QMAKE_OBJECTIVE_CFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
+    QMAKE_OBJECTIVE_CFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
+    QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+    QMAKE_OBJECTIVE_CFLAGS_X86 = $$QMAKE_CFLAGS_X86
+    QMAKE_OBJECTIVE_CFLAGS_PPC = $$QMAKE_CFLAGS_PPC
+    QMAKE_OBJECTIVE_CFLAGS_HIDESYMS = $$QMAKE_CXXFLAGS_HIDESYMS
+
+OBJECTIVE_C_OBJECTS_DIR = $$OBJECTS_DIR
+isEmpty(OBJECTIVE_C_OBJECTS_DIR):OBJECTIVE_C_OBJECTS_DIR = .
+isEmpty(QMAKE_EXT_OBJECTIVE_C):QMAKE_EXT_OBJECTIVE_C = .mm .m
+
+objective_c.dependency_type = TYPE_C
+objective_c.variables = QMAKE_OBJECTIVE_CFLAGS
+objective_c.commands = $$QMAKE_OBJECTIVE_CC -c $(QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS) $(DEFINES) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
+objective_c.output = $$OBJECTIVE_C_OBJECTS_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
+objective_c.input = OBJECTIVE_SOURCES
+objective_c.name = Compile ${QMAKE_FILE_IN}
+silent:objective_c.commands = @echo objective-c ${QMAKE_FILE_IN} && $$objective_c.commands
+QMAKE_EXTRA_COMPILERS += objective_c
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/ppc.prf b/zouba/qt4-maemo5/mkspecs/features/mac/ppc.prf
new file mode 100644 (file)
index 0000000..e9169d9
--- /dev/null
@@ -0,0 +1,7 @@
+macx-xcode|macx-pbuilder {
+} else {
+    QMAKE_CFLAGS += $$QMAKE_CFLAGS_PPC
+    QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_PPC
+    QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_PPC
+    QMAKE_LFLAGS += $$QMAKE_LFLAGS_PPC
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/ppc64.prf b/zouba/qt4-maemo5/mkspecs/features/mac/ppc64.prf
new file mode 100644 (file)
index 0000000..5a04d5b
--- /dev/null
@@ -0,0 +1,7 @@
+macx-xcode|macx-pbuilder {
+} else {
+    QMAKE_CFLAGS += $$QMAKE_CFLAGS_PPC_64
+    QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_PPC_64
+    QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_PPC_64
+    QMAKE_LFLAGS += $$QMAKE_LFLAGS_PPC_64
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/rez.prf b/zouba/qt4-maemo5/mkspecs/features/mac/rez.prf
new file mode 100644 (file)
index 0000000..3defd86
--- /dev/null
@@ -0,0 +1,16 @@
+
+#global defaults
+isEmpty(QMAKE_REZ) {
+    QMAKE_REZ = /Developer/Tools/Rez
+}
+isEmpty(REZ_DIR):REZ_DIR = .
+isEmpty(QMAKE_EXT_REZ):QMAKE_EXT_REZ = .rsrc
+
+rez_source.CONFIG += no_link
+rez_source.dependency_type = TYPE_C
+rez_source.commands = $$QMAKE_REZ ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} -useDF
+rez_source.output = $$REZ_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_REZ)}
+rez_source.input = REZ_FILES
+rez_source.name = REZ ${QMAKE_FILE_IN}
+silent:rez_source.commands = @echo rez ${QMAKE_FILE_IN} && $$rez_source.commands
+QMAKE_EXTRA_COMPILERS += rez_source
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/sdk.prf b/zouba/qt4-maemo5/mkspecs/features/mac/sdk.prf
new file mode 100644 (file)
index 0000000..5eab948
--- /dev/null
@@ -0,0 +1,8 @@
+!isEmpty(QMAKE_MAC_SDK) {
+    !macx-xcode:!macx-pbuilder {
+        QMAKE_CFLAGS += -isysroot $$QMAKE_MAC_SDK
+        QMAKE_OBJECTIVE_CFLAGS += -isysroot $$QMAKE_MAC_SDK
+        QMAKE_CXXFLAGS += -isysroot $$QMAKE_MAC_SDK
+        QMAKE_LFLAGS += -Wl,-syslibroot,$$QMAKE_MAC_SDK
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/x86.prf b/zouba/qt4-maemo5/mkspecs/features/mac/x86.prf
new file mode 100644 (file)
index 0000000..a7a9f84
--- /dev/null
@@ -0,0 +1,7 @@
+macx-xcode|macx-pbuilder {
+} else {
+   QMAKE_CFLAGS += $$QMAKE_CFLAGS_X86
+   QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_X86
+   QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_X86
+   QMAKE_LFLAGS += $$QMAKE_LFLAGS_X86
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mac/x86_64.prf b/zouba/qt4-maemo5/mkspecs/features/mac/x86_64.prf
new file mode 100644 (file)
index 0000000..65b6b79
--- /dev/null
@@ -0,0 +1,7 @@
+macx-xcode|macx-pbuilder {
+} else {
+   QMAKE_CFLAGS += $$QMAKE_CFLAGS_X86_64
+   QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_X86_64
+   QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_X86_64
+   QMAKE_LFLAGS += $$QMAKE_LFLAGS_X86_64
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/mobility.prf b/zouba/qt4-maemo5/mkspecs/features/mobility.prf
new file mode 100644 (file)
index 0000000..3522fa6
--- /dev/null
@@ -0,0 +1,71 @@
+MOBILITY_PREFIX=/usr
+MOBILITY_INCLUDE=/usr/include
+MOBILITY_LIB=/usr/lib
+
+!symbian {
+    INCLUDEPATH += $${MOBILITY_INCLUDE}
+} else {
+    load(data_caging_paths)
+    contains(MOBILITY, contacts|versit) {
+        INCLUDEPATH+=$$APP_LAYER_SYSTEMINCLUDE
+    }
+
+    contains(MOBILITY,bearer|location|publishsubscribe|systeminfo|multimedia|messaging|serviceframework) {
+        INCLUDEPATH+=$$MW_LAYER_SYSTEMINCLUDE
+    }
+}
+mac: LIBS += -F$${MOBILITY_LIB}
+LIBS+= -L$${MOBILITY_LIB}
+
+contains(MOBILITY, bearer) {
+    qtAddLibrary(QtBearer)
+}
+
+contains(MOBILITY, publishsubscribe) {
+    qtAddLibrary(QtPublishSubscribe)
+}
+
+contains(MOBILITY, location) {
+    qtAddLibrary(QtLocation)
+}
+
+contains(MOBILITY, serviceframework) {
+    qtAddLibrary(QtServiceFramework)
+}
+
+contains(MOBILITY, systeminfo) {
+    #QSystemInfo header requires QNetworkInterface
+    QT += network
+    qtAddLibrary(QtSystemInfo)
+}
+
+contains(MOBILITY, multimedia) {
+    qtAddLibrary(QtMedia)
+}
+
+contains(MOBILITY, contacts) {
+    qtAddLibrary(QtContacts)
+}
+
+contains(MOBILITY, messaging) {
+    qtAddLibrary(QtMessaging)
+}
+
+contains(MOBILITY, versit) {
+    qtAddLibrary(QtVersit)
+}
+
+contains(MOBILITY, sensors) {
+    qtAddLibrary(QtSensors)
+}
+
+# Add dependency to QtMobility package to all projects besides QtMobility package itself.
+# Mobility libs have UID3 0x2002AC89
+# self-signed Mobility libs have UID3 0xE002AC89
+symbian:contains(CONFIG, mobility):!contains(TARGET.UID3, 0x2002AC89):!contains(TARGET.UID3, 0xE002AC89) {
+    mobility_default_deployment.pkg_prerules += \
+        "; Default dependency to QtMobility libraries" \
+        "(0x2002AC89), 0, 2, 0, {\"QtMobility\"}"
+    DEPLOYMENT += mobility_default_deployment
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/moc.prf b/zouba/qt4-maemo5/mkspecs/features/moc.prf
new file mode 100644 (file)
index 0000000..42ce1bc
--- /dev/null
@@ -0,0 +1,119 @@
+
+#global defaults
+isEmpty(QMAKE_MOC) {
+    contains(QMAKE_HOST.os,Windows):QMAKE_MOC = $$[QT_INSTALL_BINS]\moc.exe
+    else:QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
+}
+isEmpty(MOC_DIR):MOC_DIR = .
+isEmpty(QMAKE_H_MOD_MOC):QMAKE_H_MOD_MOC = moc_
+isEmpty(QMAKE_EXT_CPP_MOC):QMAKE_EXT_CPP_MOC = .moc
+
+# On Windows, put the includes into a .inc file which moc will read, if the project
+# has too many includes. We do this to overcome a command-line limit on Win < XP
+INCLUDETEMP=
+WIN_INCLUDETEMP=
+win32:count($$list($$INCPATH), 40, >) {
+    INCLUDETEMP = $$MOC_DIR/mocinclude.tmp
+
+    WIN_INCLUDETEMP=$$INCLUDETEMP
+
+    EOC = $$escape_expand(\n\t)
+
+    if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) {
+        # the VCPROJ generator will replace the \r\h with the coded \r\n: &#x0d;&#x0a;
+        # No other generator understands the \h
+        if(win32-msvc.net|win32-msvc2*|wince*msvc*): EOC = $$escape_expand(\r\h)
+        else: EOC = $$escape_expand(\\)$$escape_expand(\n\t)
+    }
+
+    unset(INCFILELIST)
+    RET =
+    for(incfile, $$list($$INCPATH)) {
+        INCFILELIST = -I$$incfile
+        isEmpty(RET): RET += @echo $$INCFILELIST> $$WIN_INCLUDETEMP $$EOC
+        else:         RET += @echo $$INCFILELIST>> $$WIN_INCLUDETEMP $$EOC
+    }
+    !isEmpty(INCFILELIST):RET += @echo $$INCFILELIST>> $$WIN_INCLUDETEMP $$EOC
+
+    build_pass|isEmpty(BUILDS) {
+        mocinclude.target = $$INCLUDETEMP
+        mocinclude.commands = $$RET
+        QMAKE_EXTRA_TARGETS += mocinclude
+    }
+}
+
+defineReplace(mocCmd) {
+    !isEmpty(WIN_INCLUDETEMP) {
+        RET =
+        if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) {
+            RET += $$mocinclude.commands
+        }
+        RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$1 -o $$2
+        return($$RET)
+    }
+    return($$QMAKE_MOC $(DEFINES) $(INCPATH) $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$1 -o $$2)
+}
+
+#moc headers
+moc_header.CONFIG = moc_verify
+moc_header.dependency_type = TYPE_C
+moc_header.commands = ${QMAKE_FUNC_mocCmd}
+moc_header.output = $$MOC_DIR/$${QMAKE_H_MOD_MOC}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_CPP)}
+moc_header.input = HEADERS
+moc_header.variable_out = SOURCES
+moc_header.name = MOC ${QMAKE_FILE_IN}
+if(!contains(TEMPLATE, "vc.*"):!contains(TEMPLATE_PREFIX, "vc")) {
+       !isEmpty(INCLUDETEMP):moc_header.depends += $$INCLUDETEMP
+}
+silent:moc_header.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_header.commands
+QMAKE_EXTRA_COMPILERS += moc_header
+INCREDIBUILD_XGE += moc_header
+
+#moc sources
+moc_source.CONFIG = no_link moc_verify
+moc_source.dependency_type = TYPE_C
+moc_source.commands = ${QMAKE_FUNC_mocCmd}
+moc_source.output = $$MOC_DIR/$${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}$${QMAKE_EXT_CPP_MOC}
+moc_source.input = SOURCES OBJECTIVE_SOURCES
+moc_source.name = MOC ${QMAKE_FILE_IN}
+if(!contains(TEMPLATE, "vc.*"):!contains(TEMPLATE_PREFIX, "vc")) {
+       !isEmpty(INCLUDETEMP):moc_source.depends += $$INCLUDETEMP
+}
+silent:moc_source.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_source.commands
+QMAKE_EXTRA_COMPILERS += moc_source
+INCREDIBUILD_XGE += moc_source
+
+#make sure we can include these files
+moc_dir_short = $$MOC_DIR
+contains(QMAKE_HOST.os,Windows):moc_dir_short ~= s,^.:,/,
+contains(moc_dir_short, ^[/\\\\].*):INCLUDEPATH += $$MOC_DIR
+else:INCLUDEPATH += $$OUT_PWD/$$MOC_DIR
+
+# Backwards compatibility: Make shadow builds with default MOC_DIR work
+# if the user did not add the source dir explicitly.
+equals(MOC_DIR, .) {
+    CONFIG -= include_source_dir
+    CONFIG = include_source_dir $$CONFIG
+}
+
+#auto depend on moc
+unix:!no_mocdepend {
+     moc_source.depends += $$first(QMAKE_MOC)
+     moc_header.depends += $$first(QMAKE_MOC)
+     !contains(TARGET, moc) { #auto build moc
+         isEmpty(QMAKE_MOC_SRC):QMAKE_MOC_SRC = "$(QTDIR)/src/tools/moc"
+        make_moc.target = $$first(QMAKE_MOC)
+            make_moc.commands = (cd $$QMAKE_MOC_SRC && $(MAKE))
+            QMAKE_EXTRA_TARGETS += make_moc
+     }
+}
+
+#generate a mocclean
+build_pass|isEmpty(BUILDS):mocclean.depends = compiler_moc_header_clean compiler_moc_source_clean
+else:mocclean.CONFIG += recursive
+QMAKE_EXTRA_TARGETS += mocclean
+
+#generate a mocables
+build_pass|isEmpty(BUILDS):mocables.depends = compiler_moc_header_make_all compiler_moc_source_make_all
+else:mocables.CONFIG += recursive
+QMAKE_EXTRA_TARGETS += mocables
diff --git a/zouba/qt4-maemo5/mkspecs/features/no_debug_info.prf b/zouba/qt4-maemo5/mkspecs/features/no_debug_info.prf
new file mode 100644 (file)
index 0000000..3acf6c8
--- /dev/null
@@ -0,0 +1,5 @@
+
+QMAKE_CFLAGS -= -g -ggdb3
+QMAKE_CXXFLAGS -= -g -ggdb3
+QMAKE_LFLAGS -= -g -ggdb3
+QMAKE_LIBFLAGS -= -g -ggdb3
diff --git a/zouba/qt4-maemo5/mkspecs/features/qdbus.prf b/zouba/qt4-maemo5/mkspecs/features/qdbus.prf
new file mode 100644 (file)
index 0000000..1d8704d
--- /dev/null
@@ -0,0 +1,2 @@
+qtAddLibrary(QtDBus)
+CONFIG += dbusadaptors dbusinterfaces
diff --git a/zouba/qt4-maemo5/mkspecs/features/qt.prf b/zouba/qt4-maemo5/mkspecs/features/qt.prf
new file mode 100644 (file)
index 0000000..a3d35ba
--- /dev/null
@@ -0,0 +1,203 @@
+CONFIG *= moc thread
+
+#handle defines
+win32 {
+   qt_static:DEFINES += QT_NODLL
+   !contains(DEFINES, QT_NODLL) {
+      QT_ENV_DLL = $$(QT_DLL)
+      QT_ENV_NO_DLL = $$(QT_NODLL)
+      isEmpty(QT_ENV_NO_DLL) {
+          shared|!isEmpty(QT_ENV_DLL):DEFINES += QT_DLL
+      }
+      contains(DEFINES, QT_MAKEDLL)|contains(DEFINES, QT_DLL):QMAKE_QT_DLL = 1
+   }
+}
+CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG
+no_keywords:DEFINES += QT_NO_KEYWORDS
+plugin { #Qt plugins
+   static:DEFINES += QT_STATICPLUGIN
+   DEFINES += QT_PLUGIN
+
+   # Triggers both on Qt being configured with -arch boundschecker,
+   # and if you qmake CONFIG+=boundchecker on your plugin project
+   boundschecker|contains(QT_CONFIG,boundschecker) {
+      # This option is added for plugins when Qt is configured for Boundschecker,
+      # since we want Boundschecker to not instrument the qt_plugin_query_verification_data
+      # function, as we call that function without the plugin's dependent DLLs, thus
+      # Boundscheckers instrumentation will fail. The function only returns a const char *,
+      # so no instrumentation is really needed on that function anyways.
+      QMAKE_CFLAGS += /nmignore:*:qt_plugin_query_verification_data
+      QMAKE_CXXFLAGS += /nmignore:*:qt_plugin_query_verification_data
+   }
+}
+
+#handle includes
+INCLUDEPATH = $$QMAKE_INCDIR_QT $$INCLUDEPATH #prepending prevents us from picking up "stale" includes
+win32:INCLUDEPATH += $$QMAKE_INCDIR_QT/ActiveQt
+
+# As order does matter for static libs, we reorder the QT variable here
+TMPLIBS = maemo5 declarative webkit phonon multimedia dbus testlib script scripttools svg qt3support sql xmlpatterns xml egl opengl openvg gui network core
+for(QTLIB, $$list($$TMPLIBS)) {
+   contains(QT, $$QTLIB): QT_ORDERED += $$QTLIB
+}
+
+QT_UNKNOWN = $$QT
+QT_UNKNOWN -= $$QT_ORDERED
+QT = $$QT_ORDERED
+for(QTLIB, $$list($$QT_UNKNOWN)) {
+   !contains(TMPLIBS, $$QTLIB):message("Warning: unknown QT: $$QTLIB")
+}
+
+QT_PLUGIN_VERIFY = QTPLUGIN DEPLOYMENT_PLUGIN
+for(QT_CURRENT_VERIFY, $$list($$QT_PLUGIN_VERIFY)) {
+    for(QTPLUG, $$list($$lower($$unique($$QT_CURRENT_VERIFY)))) {
+       qplugin_style =
+       !qt_debug:!qt_release {
+          CONFIG(debug, debug|release):qplugin_style = debug
+          else:qplugin_style = release
+       } else:CONFIG(qt_debug, qt_debug|qt_release) {
+          qplugin_style = debug
+       } else {
+          qplugin_style = release
+       }
+
+       # Check if the plugin is known to Qt. We can use this to determine
+       # the plugin path. Unknown plugins must rely on the default link path.
+       ACCESSIBLEPLUGINS = qtaccessiblewidgets qtaccessiblecompatwidgets
+       CODECPLUGINS = qcncodecs qjpcodecs qkrcodecs qtwcodecs
+       DECORATIONPLUGINS = qdecorationdefault qdecorationwindows
+       GFXDRIVERPLUGINS = qgfxvnc qscreenvfb qgfxsnap qgfxvga16 qgfxmatrox qgfxvoodoo qgfxtransformed qgfxshadowfb
+       IMAGEPLUGINS = qgif qmng qjpeg qsvg
+       INPUTPLUGINS = qimsw-multi
+       MOUSEDRIVERPLUGINS = qtslibmousehandler
+       SQLPLUGINS = qsqldb2 qsqloci qsqltds qsqlodbc qsqlpsql qsqlibase qsqlmysql qsqlite2 qsqlite
+       PHONONPLUGINS = phonon_waveout phonon_ds9
+
+       ALLQTPLUGINS = $$ACCESSIBLEPLUGINS $$CODECPLUGINS $$DECORATIONPLUGINS $$GFXDRIVERPLUGINS $$IMAGEPLUGINS $$INPUTPLUGINS $$MOUSEDRIVERPLUGINS $$SQLPLUGINS $$PHONONPLUGINS
+
+       QT_PLUGINPATH =
+       contains(ALLQTPLUGINS, $$QTPLUG) {
+           # Determine the plugin path
+           contains(ACCESSIBLEPLUGINS, $$QTPLUG): QT_PLUGINPATH = accessible
+           contains(CODECPLUGINS, $$QTPLUG): QT_PLUGINPATH = codecs
+           contains(DECORATIONPLUGINS, $$QTPLUG): QT_PLUGINPATH = decorations
+           contains(GFXDRIVERPLUGINS, $$QTPLUG): QT_PLUGINPATH = gfxdrivers
+           contains(IMAGEPLUGINS, $$QTPLUG): QT_PLUGINPATH = imageformats
+           contains(INPUTPLUGINS, $$QTPLUG): QT_PLUGINPATH = inputmethods
+           contains(MOUSEDRIVERPLUGINS, $$QTPLUG): QT_PLUGINPATH = mousedrivers
+           contains(SQLPLUGINS, $$QTPLUG):  QT_PLUGINPATH = sqldrivers
+          contains(PHONONPLUGINS, $$QTPLUG): QT_PLUGINPATH = phonon_backend
+        }
+
+        # Generate the plugin linker line
+        target_qt:isEqual(TARGET, QTPLUG) {
+            warning($$TARGET cannot have a QTPLUGIN of $$QTPLUG)
+        } else {
+            QT_LINKAGE = -l$${QTPLUG}
+            win32 {
+               CONFIG(debug, debug|release):QT_LINKAGE = -l$${QTPLUG}d
+            } else:mac {
+               isEqual(qplugin_style, debug):QT_LINKAGE = -l$${QTPLUG}_debug
+            }
+        }
+
+        # Only link against plugin in static builds
+        isEqual(QT_CURRENT_VERIFY, QTPLUGIN): {
+            !isEmpty(QT_PLUGINPATH): LIBS *= -L$$[QT_INSTALL_PLUGINS]/$$QT_PLUGINPATH
+                LIBS += $$QT_LINKAGE
+            # if the plugin is linked statically there is no need to deploy it
+            DEPLOYMENT_PLUGIN -= $$QT_CURRENT_VERIFY
+        }
+        isEqual(QT_CURRENT_VERIFY, DEPLOYMENT_PLUGIN):shared:wince*: {
+            QT_ITEM =
+            CONFIG(debug, debug|release): QT_ITEM = $${QTPLUG}d4.dll
+            else: QT_ITEM = $${QTPLUG}4.dll
+
+            eval(qt_additional_plugin_$${QTPLUG}.sources = $$[QT_INSTALL_PLUGINS]/$${QT_PLUGINPATH}/$${QT_ITEM})
+            eval(qt_additional_plugin_$${QTPLUG}.path = $${QT_PLUGINPATH})
+
+            DEPLOYMENT *= qt_additional_plugin_$${QTPLUG}
+        }
+        isEqual(QT_CURRENT_VERIFY, DEPLOYMENT_PLUGIN):shared:symbian: {
+            QT_ITEM = $${QTPLUG}.dll
+
+            eval(qt_additional_plugin_$${QTPLUG}.sources = $${QT_ITEM})
+            eval(qt_additional_plugin_$${QTPLUG}.path = $${QT_PLUGINPATH})
+
+            DEPLOYMENT *= qt_additional_plugin_$${QTPLUG}
+        }
+    }
+}
+#specific module settings
+!isEmpty(QT_BUILD_TREE):QMAKE_LIBDIR = $$QT_BUILD_TREE/lib $$QMAKE_LIBDIR #as above, prepending prevents us from picking up "stale" libs
+QMAKE_LIBDIR += $$QMAKE_LIBDIR_QT
+for(QTLIB, $$list($$lower($$unique(QT)))) {
+   unset(qlib_style)
+   !qt_debug:!qt_release {
+      CONFIG(debug, debug|release):qlib_style = debug
+      else:qlib_style = release
+   } else:CONFIG(qt_debug, qt_debug|qt_release) {
+      qlib_style = debug
+   } else {
+      qlib_style = release
+   }
+
+   unset(qlib)
+   isEqual(QTLIB, gui):qlib = QtGui
+   else:isEqual(QTLIB, network):qlib = QtNetwork
+   else:isEqual(QTLIB, xml):qlib = QtXml
+   else:isEqual(QTLIB, xmlpatterns):qlib = QtXmlPatterns
+   else:isEqual(QTLIB, opengl):qlib = QtOpenGL
+   else:isEqual(QTLIB, openvg):qlib = QtOpenVG
+   else:isEqual(QTLIB, sql):qlib = QtSql
+   else:isEqual(QTLIB, core):qlib = QtCore
+   else:isEqual(QTLIB, canvas):qlib = QtCanvas
+   else:isEqual(QTLIB, qt3support):qlib = Qt3Support
+   else:isEqual(QTLIB, svg):qlib = QtSvg
+   else:isEqual(QTLIB, script):qlib = QtScript
+   else:isEqual(QTLIB, scripttools):qlib = QtScriptTools
+   else:isEqual(QTLIB, testlib):qlib = QtTest
+   else:isEqual(QTLIB, dbus):qlib = QtDBus
+   else:isEqual(QTLIB, phonon) {
+       qlib = phonon
+       INCLUDEPATH += $$QMAKE_INCDIR_QT/phonon_compat
+
+       # The Helix backend requires this. Since we can't let a plugin set it,
+       # we bump the values for all Symbian Phonon plugins.
+       symbian:isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x040000 0x1600000
+
+   } else:isEqual(QTLIB, webkit):qlib = QtWebKit
+   else:isEqual(QTLIB, declarative):qlib = QtDeclarative
+   else:isEqual(QTLIB, multimedia):qlib = QtMultimedia
+   else:isEqual(QTLIB, maemo5):qlib = QtMaemo5
+   else:message("Unknown QT: $$QTLIB"):qlib =
+   !isEmpty(qlib) {
+      target_qt:isEqual(TARGET, qlib) {
+         warning($$TARGET cannot have a QT of $$QTLIB)
+      } else {
+         DEFINES *= $$upper(QT_$${QTLIB}_LIB)
+        isEqual(QTLIB, opengl):CONFIG += opengl
+        isEqual(QTLIB, openvg):CONFIG += openvg
+        isEqual(QTLIB, qt3support):DEFINES *= QT3_SUPPORT
+         isEqual(QTLIB, testlib):CONFIG += console
+         isEqual(QTLIB, dbus):CONFIG += dbusadaptors dbusinterfaces
+
+     qtAddLibrary($$qlib)
+      }
+   }
+}
+
+qt_compat {
+   !qt_compat_no_warning:QTDIR_build:warning(***USE of COMPAT inside of QTDIR!**) #just for us
+   INCLUDEPATH *= $$QMAKE_INCDIR_QT/Qt
+   DEFINES *= QT_COMPAT
+}
+
+wince*:static:gui {
+   QTLIB += qmenu_wce.res
+}
+
+!isEmpty(QT_NAMESPACE):DEFINES *= QT_NAMESPACE=$$QT_NAMESPACE
+mac {
+    !isEmpty(QT_NAMESPACE_MAC_CRC):DEFINES *= QT_NAMESPACE_MAC_CRC=$$QT_NAMESPACE_MAC_CRC
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/qt_config.prf b/zouba/qt4-maemo5/mkspecs/features/qt_config.prf
new file mode 100644 (file)
index 0000000..0a2d985
--- /dev/null
@@ -0,0 +1,14 @@
+exists($$_QMAKE_CACHE_):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG)
+isEmpty(QMAKE_QT_CONFIG)|!exists($$QMAKE_QT_CONFIG) {
+   !isEmpty(QT_BUILD_TREE):QMAKE_QT_CONFIG = $$QT_BUILD_TREE/mkspecs/qconfig.pri
+   else:exists($$_QMAKE_CACHE_):infile($$_QMAKE_CACHE_, QT_BUILD_TREE):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QT_BUILD_TREE)/mkspecs/qconfig.pri
+   else:exists($$[QT_INSTALL_DATA]/mkspecs/qconfig.pri):QMAKE_QT_CONFIG = $$[QT_INSTALL_DATA]/mkspecs/qconfig.pri
+}
+!exists($$QMAKE_QT_CONFIG)|!include($$QMAKE_QT_CONFIG, "", true) {
+   debug(1, "Cannot load qconfig.pri!")
+} else {
+   debug(1, "Loaded .qconfig.pri from ($$QMAKE_QT_CONFIG)")
+}
+
+load(qt_functions)
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/qt_functions.prf b/zouba/qt4-maemo5/mkspecs/features/qt_functions.prf
new file mode 100644 (file)
index 0000000..1be6d9b
--- /dev/null
@@ -0,0 +1,80 @@
+defineReplace(qtLibraryTarget) {
+   unset(LIBRARY_NAME)
+   LIBRARY_NAME = $$1
+   mac:!static:contains(QT_CONFIG, qt_framework) {
+      QMAKE_FRAMEWORK_BUNDLE_NAME = $$LIBRARY_NAME
+      export(QMAKE_FRAMEWORK_BUNDLE_NAME)
+   }
+   contains(TEMPLATE, .*lib):CONFIG(debug, debug|release) {
+      !debug_and_release|build_pass {
+          mac:RET = $$member(LIBRARY_NAME, 0)_debug
+             else:win32:RET = $$member(LIBRARY_NAME, 0)d
+      }
+   }
+   isEmpty(RET):RET = $$LIBRARY_NAME
+   return($$RET)
+}
+
+defineTest(qtAddLibrary) {
+    INCLUDEPATH -= $$QMAKE_INCDIR_QT/$$1
+    INCLUDEPATH = $$QMAKE_INCDIR_QT/$$1 $$INCLUDEPATH
+
+    LIB_NAME = $$1
+    unset(LINKAGE)
+    mac {
+       CONFIG(qt_framework, qt_framework|qt_no_framework) { #forced
+          QMAKE_FRAMEWORKPATH *= $${QMAKE_LIBDIR_QT}
+          FRAMEWORK_INCLUDE = $$QMAKE_LIBDIR_QT/$${LIB_NAME}.framework/Headers
+          !qt_no_framework_direct_includes:exists($$FRAMEWORK_INCLUDE) {
+             INCLUDEPATH -= $$FRAMEWORK_INCLUDE
+             INCLUDEPATH = $$FRAMEWORK_INCLUDE $$INCLUDEPATH
+           }
+           LINKAGE = -framework $${LIB_NAME}$${QT_LIBINFIX}
+        } else:!qt_no_framework { #detection
+           for(frmwrk_dir, $$list($$QMAKE_LIBDIR_QT $$QMAKE_LIBDIR $$(DYLD_FRAMEWORK_PATH) /Library/Frameworks)) {
+                     exists($${frmwrk_dir}/$${LIB_NAME}.framework) {
+                QMAKE_FRAMEWORKPATH *= $${frmwrk_dir}
+               FRAMEWORK_INCLUDE = $$frmwrk_dir/$${LIB_NAME}.framework/Headers
+               !qt_no_framework_direct_includes:exists($$FRAMEWORK_INCLUDE) {
+                 INCLUDEPATH -= $$FRAMEWORK_INCLUDE
+                 INCLUDEPATH = $$FRAMEWORK_INCLUDE $$INCLUDEPATH
+                }
+               LINKAGE = -framework $${LIB_NAME}
+                       break()
+              }
+           }
+       }
+    }
+    symbian {
+        isEqual(LIB_NAME, QtGui) {
+            # Needed for #include <QtGui> because qs60mainapplication.h includes aknapp.h
+            INCLUDEPATH *= $$MW_LAYER_SYSTEMINCLUDE
+        }
+        isEqual(LIB_NAME, QtWebKit) {
+            # Needed for #include <QtXmlPatterns/QtXmlPatterns> because relative inclusion problem in toolchain
+            INCLUDEPATH *= $$QMAKE_INCDIR_QT/QtXmlPatterns
+        }
+        isEqual(LIB_NAME, QtXmlPatterns) {
+            # Needed for #include <QtXmlPatterns/QtXmlPatterns> because relative inclusion problem in toolchain
+            INCLUDEPATH *= $$QMAKE_INCDIR_QT/QtNetwork
+        }
+    }
+    isEmpty(LINKAGE) {
+       if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
+           win32:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}d
+           mac:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}_debug
+       }
+       isEmpty(LINKAGE):LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}
+    }
+    !isEmpty(QMAKE_LSB) {
+        QMAKE_LFLAGS *= --lsb-libpath=$$$$QMAKE_LIBDIR_QT
+        QMAKE_LFLAGS *= -L/opt/lsb/lib
+        QMAKE_LFLAGS *= --lsb-shared-libs=$${LIB_NAME}$${QT_LIBINFIX}
+    }
+    LIBS += $$LINKAGE
+    export(LIBS)
+    export(INCLUDEPATH)
+    export(QMAKE_FRAMEWORKPATH)
+    export(QMAKE_LFLAGS)
+    return(true)
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/qtestlib.prf b/zouba/qt4-maemo5/mkspecs/features/qtestlib.prf
new file mode 100644 (file)
index 0000000..0b1fbee
--- /dev/null
@@ -0,0 +1,4 @@
+
+CONFIG += console
+
+qtAddLibrary(QtTest)
diff --git a/zouba/qt4-maemo5/mkspecs/features/qtopia.prf b/zouba/qt4-maemo5/mkspecs/features/qtopia.prf
new file mode 100644 (file)
index 0000000..7672a8d
--- /dev/null
@@ -0,0 +1 @@
+CONFIG *= qtopiainc qtopialib
diff --git a/zouba/qt4-maemo5/mkspecs/features/qtopiainc.prf b/zouba/qt4-maemo5/mkspecs/features/qtopiainc.prf
new file mode 100644 (file)
index 0000000..2665da5
--- /dev/null
@@ -0,0 +1 @@
+INCLUDEPATH += $$QMAKE_INCDIR_QTOPIA
diff --git a/zouba/qt4-maemo5/mkspecs/features/qtopialib.prf b/zouba/qt4-maemo5/mkspecs/features/qtopialib.prf
new file mode 100644 (file)
index 0000000..0c5ccf1
--- /dev/null
@@ -0,0 +1,2 @@
+!isEmpty(QMAKE_LIBDIR_QTOPIA):QMAKE_LIBDIR = $$QMAKE_LIBDIR_QTOPIA
+LIBS += $$QMAKE_LIBS_QTOPIA
diff --git a/zouba/qt4-maemo5/mkspecs/features/qttest_p4.prf b/zouba/qt4-maemo5/mkspecs/features/qttest_p4.prf
new file mode 100644 (file)
index 0000000..525e7b2
--- /dev/null
@@ -0,0 +1,35 @@
+isEmpty(TEMPLATE):TEMPLATE=app
+CONFIG += qt warn_on console depend_includepath
+
+qtAddLibrary(QtTest)
+
+symbian:{
+    TARGET.EPOCHEAPSIZE = 0x100000 0x2000000
+#    DEFINES += QTEST_NO_SPECIALIZATIONS
+    TARGET.CAPABILITY="ALL -TCB"
+    RSS_RULES ="group_name=\"QtTests\";" 
+}
+
+# prefix test binary with tst_
+!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
+
+########################################################################
+# Use install rule to run test application.
+# This lets you do 'make install' on a test to both build and run it,
+# and lets you easily build and run all tests from the parent directory.
+# ----------------------------------------------------------------------
+
+runme.files                =
+runme.path                 = .
+!isEmpty(DESTDIR): runme.commands = cd ./$(DESTDIR) &&
+macx:      runme.commands += ./$(QMAKE_TARGET).app/Contents/MacOS/$(QMAKE_TARGET)
+else:unix: runme.commands += ./$(QMAKE_TARGET)
+else:win32: {
+    CONFIG(debug, debug|release):runme.commands += debug\\$(QMAKE_TARGET)
+    else:runme.commands += release\\$(QMAKE_TARGET)
+}
+embedded:  runme.commands += -qws
+INSTALLS += runme
+
+
+########################################################################
diff --git a/zouba/qt4-maemo5/mkspecs/features/release.prf b/zouba/qt4-maemo5/mkspecs/features/release.prf
new file mode 100644 (file)
index 0000000..2d63c24
--- /dev/null
@@ -0,0 +1,7 @@
+CONFIG -= debug
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_RELEASE
+QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_RELEASE
+QMAKE_LFLAGS += $$QMAKE_LFLAGS_RELEASE
+QMAKE_LIBFLAGS += $$QMAKE_LIBFLAGS_RELEASE
+!debug_and_release:fix_output_dirs:fixExclusiveOutputDirs(release, debug)
\ No newline at end of file
diff --git a/zouba/qt4-maemo5/mkspecs/features/resources.prf b/zouba/qt4-maemo5/mkspecs/features/resources.prf
new file mode 100644 (file)
index 0000000..8ccd576
--- /dev/null
@@ -0,0 +1,31 @@
+isEmpty(QMAKE_RCC) {
+    win32:QMAKE_RCC = $$[QT_INSTALL_BINS]\rcc.exe
+    else:QMAKE_RCC = $$[QT_INSTALL_BINS]/rcc
+}
+
+isEmpty(RCC_DIR):RCC_DIR = .
+isEmpty(QMAKE_RESOURCE_PREFIX):QMAKE_RESOURCE_PREFIX = /tmp/
+isEmpty(QMAKE_MOD_RCC):QMAKE_MOD_RCC = qrc
+
+resource_combine {
+   rcc.CONFIG += combine
+   rcc.output  = $$RCC_DIR/$${first(QMAKE_MOD_RCC)}_combined$${first(QMAKE_EXT_CPP)}
+} else {
+   rcc.output = $$RCC_DIR/$${first(QMAKE_MOD_RCC)}_${QMAKE_FILE_BASE}$${first(QMAKE_EXT_CPP)}
+}
+!contains(QMAKE_RESOURCE_FLAGS, -root):!isEmpty(QMAKE_RESOURCE_ROOT):QMAKE_RESOURCE_FLAGS += -root $$QMAKE_RESOURCE_ROOT
+!contains(QMAKE_RESOURCE_FLAGS, -name) {
+    resource_combine {
+       isEmpty(QMAKE_RESOURCE_NAME):!isEmpty(TARGET):QMAKE_RESOURCE_NAME = $$TARGET
+       !isEmpty(QMAKE_RESOURCE_NAME):QMAKE_RESOURCE_FLAGS += -name $$QMAKE_RESOURCE_NAME
+    } else {
+       QMAKE_RESOURCE_FLAGS += -name ${QMAKE_FILE_BASE}
+    }
+}
+rcc.commands = "$$QMAKE_RCC" $$QMAKE_RESOURCE_FLAGS "${QMAKE_FILE_IN}" -o "${QMAKE_FILE_OUT}"
+rcc.depend_command = "$$QMAKE_RCC" -list $$QMAKE_RESOURCE_FLAGS "${QMAKE_FILE_IN}"
+rcc.input = RESOURCES
+rcc.variable_out = SOURCES
+rcc.name = RCC ${QMAKE_FILE_IN}
+silent:rcc.commands = @echo rcc "${QMAKE_FILE_IN}" && $$rcc.commands
+QMAKE_EXTRA_COMPILERS += rcc
diff --git a/zouba/qt4-maemo5/mkspecs/features/shared.prf b/zouba/qt4-maemo5/mkspecs/features/shared.prf
new file mode 100644 (file)
index 0000000..86efd8e
--- /dev/null
@@ -0,0 +1,7 @@
+CONFIG -= static
+contains(TEMPLATE, ".*lib"): {
+    CONFIG += dll
+    CONFIG -= staticlib
+    win32:QMAKE_LFLAGS += $$QMAKE_LFLAGS_DLL
+}
+!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(shared, static)
diff --git a/zouba/qt4-maemo5/mkspecs/features/silent.prf b/zouba/qt4-maemo5/mkspecs/features/silent.prf
new file mode 100644 (file)
index 0000000..141e6bf
--- /dev/null
@@ -0,0 +1,6 @@
+!macx-xcode {
+    QMAKE_CC = @echo compiling $< && $$QMAKE_CC
+    QMAKE_CXX = @echo compiling $< && $$QMAKE_CXX
+    !contains(QMAKE_LINK, "@:"):QMAKE_LINK = @echo linking $@ && $$QMAKE_LINK
+    QMAKE_LINK_SHLIB = @echo linking $@ && $$QMAKE_LINK_SHLIB
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/static.prf b/zouba/qt4-maemo5/mkspecs/features/static.prf
new file mode 100644 (file)
index 0000000..ef3af07
--- /dev/null
@@ -0,0 +1,19 @@
+CONFIG -= shared dll
+contains(TEMPLATE, ".*lib"):{
+    CONFIG += staticlib
+    unix {
+        QMAKE_CFLAGS += $$QMAKE_CFLAGS_STATIC_LIB
+        QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_STATIC_LIB
+    }
+}
+
+mac {
+    QMAKE_LFLAGS += $$QMAKE_LFLAGS_STATIC_LIB
+}
+
+symbian {
+    # we don't care about exports from static libraries, as they don't end up in DEF files
+    MMP_RULES -= $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
+}
+
+!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)
diff --git a/zouba/qt4-maemo5/mkspecs/features/static_and_shared.prf b/zouba/qt4-maemo5/mkspecs/features/static_and_shared.prf
new file mode 100644 (file)
index 0000000..f586bdd
--- /dev/null
@@ -0,0 +1,3 @@
+!contains(TEMPLATE, subdirs):!macx-xcode {
+    addExclusiveBuilds(static, Static, shared, Shared)
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/staticlib.prf b/zouba/qt4-maemo5/mkspecs/features/staticlib.prf
new file mode 100644 (file)
index 0000000..4884964
--- /dev/null
@@ -0,0 +1 @@
+CONFIG += static
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/application_icon.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/application_icon.prf
new file mode 100644 (file)
index 0000000..1edbe14
--- /dev/null
@@ -0,0 +1,51 @@
+load(data_caging_paths)
+
+# If no_icon keyword exist, the S60 UI app is just made hidden. This because S60 app FW
+# requires the registration resource file to exist always
+contains( CONFIG, no_icon ) {
+    symbian:RSS_RULES ="hidden = KAppIsHidden;"
+    CONFIG -= no_icon
+} else {
+# There is no point in compiling the MIF icon if no_icon CONFIGS is set
+    !isEmpty(ICON) {
+
+        !count(ICON, 1) {
+            ICON = $$first(ICON)
+            warning("Only first icon specified in ICON variable is used: $$ICON")
+        }
+
+        # Try to produce indentical string to fixedTarget in SymbianMakefileGenerator, replaced chars taken
+        # from SymbianMakefileGenerator::removeSpecialCharacters.
+        #
+        # Note: it is not a major problem even baseTarget is not 100% identical to fixedTarget since qmake
+        # only uses filename from RSS_RULES.icon_file when referring to icon file name.
+        baseTarget = $$basename(TARGET)
+        baseTarget = $$replace(baseTarget, /,_)
+        baseTarget = $$replace(baseTarget, \\,_)
+        baseTarget = $$replace(baseTarget, -,_)
+        baseTarget = $$replace(baseTarget, :,_)
+        baseTarget = $$replace(baseTarget, \.,_)
+        baseTarget = $$replace(baseTarget, " ",_)
+
+        # Note: symbian-sbsv2 builds can't utilize extra compiler for mifconv, so ICON handling is done in code
+        symbian-abld {
+            #Makefile: requires paths with backslash
+            ICON = $$replace( ICON, /, \\)
+
+            # Extra compiler rules for mifconv
+            mifconv.output = ${ZDIR}$$APP_RESOURCE_DIR/$${baseTarget}.mif
+            # Based on: http://www.forum.nokia.com/document/Cpp_Developers_Library
+            # svg-t icons should always use /c32 depth
+            mifconv.commands = mifconv ${QMAKE_FILE_OUT} /c32 ${QMAKE_FILE_IN}
+            mifconv.input = ICON
+            mifconv.CONFIG = no_link combine
+            # target_predeps together with combine seems not to work correctly, lets define it by ourselves
+            PRE_TARGETDEPS += $$mifconv.output
+            QMAKE_EXTRA_COMPILERS += mifconv
+        }
+        # Rules to use generated MIF file from symbian resources
+        RSS_RULES.number_of_icons = $$size(ICON)
+        RSS_RULES.icon_file = $$APP_RESOURCE_DIR/$${baseTarget}.mif
+    }
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/armcc_warnings.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/armcc_warnings.prf
new file mode 100644 (file)
index 0000000..72bc996
--- /dev/null
@@ -0,0 +1,13 @@
+# 111:  Statement is unreachable
+# 185:  Dynamic initialization in unreachable code
+# 191:  Type qualifier is meaningless on cast type
+# 368:  class "<class>" defines no constructor to initialize the following: <member>
+#       (Disabled because there are other ways of assigning besides constructors)
+# 1293: Assignment in condition
+# 1294: pre-ANSI C style functions declarations (used a lot in 3rd party code)
+# 2874: <variable> may be used before being set (this one sounds useful, but
+#       it's output also for class instances, making it useless in practice)
+QMAKE_CFLAGS.ARMCC += --diag_suppress 111,185,191,368,1293,1294,2874
+
+# 6780: <origvis> visibility removed from symbol '<symname>' through <impexp>
+QMAKE_LFLAGS.ARMCC += --diag_suppress 6780
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/data_caging_paths.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/data_caging_paths.prf
new file mode 100644 (file)
index 0000000..3ed5661
--- /dev/null
@@ -0,0 +1,80 @@
+#
+# ==============================================================================
+#  Name        : data_caging_paths.prf
+#  Part of     : 
+#  Interface   : Data Caging Path Definitions API for Qt/S60
+#  Description : Predefined include paths to be used in the pro-files for the 
+#                paths related to data caging.
+#
+# Usage examples:
+#
+#     # Load these definitions on pro-file if needed:
+#     load(data_caging_paths)
+#    
+#     # These variables are mostly useful when specifying deployment
+#
+#     myLib.sources = myLib.dll
+#     myLib.path = $$SHARED_LIB_DIR
+#     DEPLOYMENT += myLib
+#
+#     # Note: Do not use $$PLUGINS_DIR or $$PLUGINS_1_DIR to deploy Qt plugins.
+#     # $$QT_PUBLIC_PLUGINS_BASE specifies the public base directory for Qt
+#     # plugin stubs:
+#
+#     myPublicImageFormatPlugin.sources = myImageFormat.dll
+#     myPublicImageFormatPlugin.path = $$QT_PLUGINS_BASE_DIR/imageformats
+#     DEPLOYMENT += myPublicImageFormatPlugin
+#
+# ==============================================================================
+
+exists($${EPOCROOT}epoc32/include/data_caging_paths.prf) {
+    
+    # Load platform specific paths
+    load($${EPOCROOT}epoc32/include/data_caging_paths.prf)
+
+} else {                      
+    # No platform specific paths provided, use default paths
+
+    APPARC_RECOGNISER_RESOURCES_DIR  = /resource/apps/registrationresourcefiles
+    APP_BITMAP_DIR                   = /resource/apps
+    APP_RESOURCE_DIR                 = /resource/apps
+    BITMAP_DIR                       = /resource/apps
+    BIOFILE_DIR                      = /resource/messaging/bif
+    CHARCONV_PLUGIN_DIR              = /resource/charconv
+    CONTACTS_RESOURCE_DIR            = /resource/cntmodel
+    CTRL_PANEL_RESOURCE_DIR          = /resource/controls
+    CONVERTER_PLUGIN_RESOURCE_DIR    = /resource/convert
+    ECOM_RESOURCE_DIR                = /resource/plugins
+    ERROR_RESOURCE_DIR               = /resource/errors
+    PROGRAMS_DIR                     = /sys/bin
+    FEP_RESOURCES_DIR                = /resource/fep
+    HELP_FILE_DIR                    = /resource/help
+    LOG_ENGINE_RESOURCE_DIR          = /resource/logengine
+    MTM_RESOURCE_DIR                 = /resource/messaging
+    MTM_INFO_FILE_DIR                = /resource/messaging/mtm
+    PRINTER_DRIVER_DIR               = /resource/printers
+    SHARED_LIB_DIR                   = /sys/bin
+    UIKLAF_RESOURCE_DIR              = /resource/uiklaf
+    WAPPUSH_PLUGIN_RESOURCE_DIR      = /resource/messaging/wappush
+    WATCHER_PLUGIN_RESOURCE_DIR      = /resource/messaging/watchers
+    RECOGNISERS_DIR                  = /sys/bin
+    PARSERS_DIR                      = /sys/bin
+    NOTIFIERS_DIR                    = /sys/bin
+    PLUGINS_DIR                      = /sys/bin
+    PLUGINS_1_DIR                    = /sys/bin
+    RESOURCE_FILES_DIR               = /resource
+
+    CA_CERTIFICATES_DIR     = /private/101f72a6
+    COMMDB_DIR              = /private/100012a5
+    SS_CONFIG_FILE_DIR      = /private/101f7989/esock
+    TRUSTED_FONTS_DIR       = /private/10003a16/fonts
+    UNTRUSTED_FONT_DIR      = /private/10003a16/import/fonts
+    WINDOW_SERVER_INI_DIR   = /private/10003b20
+    SKINS_DIR               = /private/10207114
+    BOOTDATA_DIR            = /resource/bootdata
+}
+
+isEmpty(QT_PLUGINS_BASE_DIR): QT_PLUGINS_BASE_DIR = /$$RESOURCE_FILES_DIR/qt/plugins
+isEmpty(HW_ZDIR): HW_ZDIR = epoc32/data/z
+isEmpty(REG_RESOURCE_DIR): REG_RESOURCE_DIR = /private/10003a3f/apps
+isEmpty(REG_RESOURCE_IMPORT_DIR): REG_RESOURCE_IMPORT_DIR = /private/10003a3f/import/apps
\ No newline at end of file
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/def_files.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/def_files.prf
new file mode 100644 (file)
index 0000000..48d91aa
--- /dev/null
@@ -0,0 +1,34 @@
+# With DEF files enabled, removed exported symbols are treated as errors
+# and there is binary compatibility between successive builds.
+
+CONFIG -= def_files_disabled
+
+# Firstly, if the MMP_RULES already contain a defBlock variable, don't generate another one
+# (this bit is slightly magic, because it depends upon everyone creating their DEFFILE statements
+# in a defBlock variable; but otherwise we have to expand MMP_RULES then scan for the DEFFILE keyword)
+!contains(MMP_RULES, defBlock) {
+    # Apps are executables on Symbian, so don't have exports, and therefore don't have DEF files
+    # Plugins use standard DEF files, which qmake generates, so shouldn't be using these DEFFILE
+    # statements - they use the qmake generated statements instead
+    # Static libraries obviously don't have DEF files, as they don't take part in dynamic linkage
+    !contains(TEMPLATE, app):!contains(CONFIG, plugin):!contains(CONFIG, staticlib): {
+        !isEmpty(defFilePath) {
+            defBlock = \
+            "$${LITERAL_HASH}ifdef WINSCW" \
+            "DEFFILE $$defFilePath/bwins/$${TARGET}.def" \
+            "$${LITERAL_HASH}elif defined EABI" \
+            "DEFFILE $$defFilePath/eabi/$${TARGET}.def" \
+            "$${LITERAL_HASH}endif"
+        } else {
+            # If defFilePath is not defined, then put the folders containing the DEF files at the
+            # same level as the .pro (and generated MMP) file(s)
+            defBlock = \
+            "$${LITERAL_HASH}ifdef WINSCW" \
+            "DEFFILE ./bwins/$${TARGET}.def" \
+            "$${LITERAL_HASH}elif defined EABI" \
+            "DEFFILE ./eabi/$${TARGET}.def" \
+            "$${LITERAL_HASH}endif"
+        }
+        MMP_RULES += defBlock
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/def_files_disabled.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/def_files_disabled.prf
new file mode 100644 (file)
index 0000000..557c5e3
--- /dev/null
@@ -0,0 +1,13 @@
+# With DEF files disabled, binary compatibility is broken every time you build
+
+CONFIG -= def_files
+
+# See def_files.prf for reasoning on the slight nastiness of this
+!contains(MMP_RULES, defBlock) {
+    # See def_files.prf for reasoning for excluding target types and configs below
+    !contains(TEMPLATE, app):!contains(CONFIG, plugin):!contains(CONFIG, staticlib): {
+        # with EXPORTUNFROZEN enabled, new exports are included in the dll and dso/lib without
+        # needing to run abld/sbs freeze
+        MMP_RULES += EXPORTUNFROZEN
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/default_post.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/default_post.prf
new file mode 100644 (file)
index 0000000..7c9e8ee
--- /dev/null
@@ -0,0 +1,31 @@
+load(default_post)
+
+contains(TEMPLATE, ".*app") {
+    contains(CONFIG, stdbinary) {
+        QMAKE_LIBS +=
+    } else:contains(QT, gui):contains(CONFIG,qt) {
+        S60MAIN_LIBS = -leuser
+        QMAKE_LIBS += -lqtmain.lib $$S60MAIN_LIBS
+    } else {
+        QMAKE_LIBS += $$QMAKE_LIBS_QT_ENTRY
+    }
+}
+contains(TEMPLATE, lib): {
+    contains(CONFIG, staticlib)|contains(CONFIG, static): {
+        # Static libs should not have LIBRARY statements in S60
+        QMAKE_LIBS =
+        # Static libs do not need def files
+        MMP_RULES -= EXPORTUNFROZEN
+    }
+    contains(CONFIG, plugin):!contains(CONFIG, stdbinary): {
+        # Plugins based on normal libraries have predefined def file
+        MMP_RULES -= EXPORTUNFROZEN
+    }
+} else {
+    # Applications don't need this
+    MMP_RULES -= EXPORTUNFROZEN
+}
+
+contains(TEMPLATE, ".*app"):contains(QT, gui):contains(CONFIG,qt) {
+    load(application_icon.prf)
+}
\ No newline at end of file
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/default_pre.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/default_pre.prf
new file mode 100644 (file)
index 0000000..ddb23b3
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG = stl_off $$CONFIG
+load(default_pre)
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/epocallowdlldata.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/epocallowdlldata.prf
new file mode 100644 (file)
index 0000000..b336f48
--- /dev/null
@@ -0,0 +1 @@
+TARGET.EPOCALLOWDLLDATA=1
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/moc.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/moc.prf
new file mode 100644 (file)
index 0000000..9c21ed7
--- /dev/null
@@ -0,0 +1,16 @@
+load(moc)
+
+RET = $$find(MOC_DIR, "(/|^)\.[^/]+/?$")
+!isEmpty(RET):{
+    error("Symbian does not support directories starting with a dot. Please set MOC_DIR to a different value in your profile. MOC_DIR: $$MOC_DIR")
+}
+
+RET = $$find(RCC_DIR, "(/|^)\.[^/]+/?$")
+!isEmpty(RET):{
+    error("Symbian does not support directories starting with a dot. Please set RCC_DIR to a different value in your profile. RCC_DIR: $$RCC_DIR")
+}
+
+RET = $$find(OBJECTS_DIR, "(/|^)\.[^/]+/?$")
+!isEmpty(RET):{
+    error("Symbian does not support directories starting with a dot. Please set OBJECTS_DIR to a different value in your profile. OBJECTS_DIR: $$OBJECTS_DIR")
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/platform_paths.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/platform_paths.prf
new file mode 100644 (file)
index 0000000..c723d8c
--- /dev/null
@@ -0,0 +1,484 @@
+#
+# ==============================================================================
+#  Name        : platform_paths.prf
+#  Part of     : 
+#  Interface   : Platform Path Definitions API for Qt/S60
+#  Description : Predefined include paths to be used in the pro-files for the 
+#                components in the layered model. There is one definition for
+#                each layer. The pro-file should use the statement that is 
+#                intended for the same layer as where the pro-file resides.
+#
+# Usage examples:
+#
+#     Note: this file gets automatically added to all Qt/S60 projects
+#    
+#     Variable usages to add the system include paths
+#       
+#       The include paths has to be related to the layer in which your SW 
+#       resides. Thus as an example: a component residing in middleware
+#       layer should use the MW specific macro.
+#
+#         INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
+#         INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
+#         INCLUDEPATH += $$OS_LAYER_SYSTEMINCLUDE
+#
+#       If there is a need to include public headers of some S60 component,
+#       various *_EXPORT_PATH macros can be utilized:
+#
+#         INCLUDEPATH += $$OS_LAYER_PUBLIC_EXPORT_PATH(somecomponent)
+#
+#     Variables related to using various parts of stdapis:
+#
+#       To use STLLIB you need to have this in your pro-file:
+#
+#         QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
+#         DEFINES *= $$STLLIB_USAGE_DEFINES
+#
+#       Depending on what module you are using from stdapis you need to have
+#       one or more of the following variables in your pro-file.
+#
+#         INCLUDEPATH += $$OS_LAYER_LIBC_SYSTEMINCLUDE
+#         INCLUDEPATH += $$OS_LAYER_GLIB_SYSTEMINCLUDE
+#         INCLUDEPATH += $$OS_LAYER_SSL_SYSTEMINCLUDE
+#         INCLUDEPATH += $$OS_LAYER_STDCPP_SYSTEMINCLUDE
+#         INCLUDEPATH += $$OS_LAYER_BOOST_SYSTEMINCLUDE
+#         INCLUDEPATH += $$OS_LAYER_DBUS_SYSTEMINCLUDE
+#         INCLUDEPATH += $$OS_LAYER_LIBUTILITY_SYSTEMINCLUDE
+#
+#
+#       
+#
+# ==============================================================================
+
+exists($${EPOCROOT}epoc32/include/platform_paths.prf) {
+    
+    # Load platform specific paths
+    load($${EPOCROOT}epoc32/include/platform_paths.prf)
+
+} else {  
+
+    # No platform specific paths provided, use default paths
+
+    exists($${EPOCROOT}epoc32/include/mw) { # New SF structure
+    
+        # ---------------------------------------
+        # Location, where the applications layer specific public headers are exported
+        # ---------------------------------------
+
+        defineReplace(APP_LAYER_SDK_EXPORT_PATH) {
+             return (/epoc32/include/app/$$1)
+        }
+        defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) {
+             return (/epoc32/include/app/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the applications layer specific platform headers are exported
+        # ---------------------------------------
+
+        defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) {
+             return (/epoc32/include/platform/app/$$1)
+        }
+        defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) {
+             return (/epoc32/include/platform/app/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the middleware layer specific public headers are exported
+        # ---------------------------------------
+
+        defineReplace(MW_LAYER_SDK_EXPORT_PATH) {
+             return (/epoc32/include/mw/$$1)
+        }
+        defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) {
+             return (/epoc32/include/mw/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the middleware layer specific platform headers are exported
+        # ---------------------------------------
+
+        defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) {
+             return (/epoc32/include/platform/mw/$$1)
+        }
+        defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) {
+             return (/epoc32/include/platform/mw/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the os layer specific public headers are exported
+        # ---------------------------------------
+
+        defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) {
+             return (/epoc32/include/$$1)
+        }
+        # WARNING: If the following path changes see the exists() function around line 219
+        defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) {
+             return (/epoc32/include/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the os specific platform headers are exported
+        # ---------------------------------------
+
+        defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) {
+             return (/epoc32/include/platform/$$1)
+        }
+        defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) {
+             return (/epoc32/include/platform/$$1)
+        }
+
+        # ---------------------------------------
+        #  General comments about the 3 define statements related to include paths:
+        #  1) the /epoc32/include/oem is now defined there for backward compability.
+        #     Once the directory is empty, the directory will be removed. However this 
+        #     enables us to ensure that if you use these define statements => you do 
+        #     not have to remove the statements later on, when the directory no longer 
+        #     exists.
+        #  2) These statements should be enough in normal cases. For certain specific 
+        #     cases you might need to add some specific directory from /epoc32/include
+        #     (for instance /epoc32/include/ecom).
+        #     In normal cases the include staments in code should be relative to one of 
+        #     the system include paths, but in certain cases, the included files requires
+        #     that the subdirectory is also part of the system include paths.
+        # ---------------------------------------
+
+        # This variable defines the include paths, which are intended to be 
+        # used in the pro-files that are part of the applications-layer. It includes all 
+        # the needed directories from the /epoc32/include, that are valid ones for the 
+        # application-layer components. 
+        #
+        # Applications layer is the last one in the list, since most likely the most of 
+        # the headers come from middleware or os-layer  => thus they are first.
+
+        APP_LAYER_SYSTEMINCLUDE = \
+         /epoc32/include \
+         /epoc32/include/mw \
+         /epoc32/include/platform/mw \
+         /epoc32/include/platform \
+         /epoc32/include/app \
+         /epoc32/include/platform/app \
+         /epoc32/include/platform/loc \
+         /epoc32/include/platform/mw/loc \
+         /epoc32/include/platform/app/loc \
+         /epoc32/include/platform/loc/sc \
+         /epoc32/include/platform/mw/loc/sc \
+         /epoc32/include/platform/app/loc/sc
+
+        # This define statements defines the include paths, which are intended to be
+        # used in the pro-files that are part of the middleware-layer. It includes all 
+        # the needed directories from the /epoc32/include, that are valid ones for the 
+        # middleware-layer components. 
+
+        MW_LAYER_SYSTEMINCLUDE = \
+         /epoc32/include \
+         /epoc32/include/mw \
+         /epoc32/include/platform/mw \
+         /epoc32/include/platform \
+         /epoc32/include/platform/loc \
+         /epoc32/include/platform/mw/loc \
+         /epoc32/include/platform/loc/sc \
+         /epoc32/include/platform/mw/loc/sc
+
+        # This define statements defines the include paths, which are intended to be
+        # used in the pro-files that are part of the  osextensions-layer. It includes all
+        # the needed directories from the /epoc32/include, that are valid ones for the
+        # os-layer components. 
+
+        OS_LAYER_SYSTEMINCLUDE = \
+         /epoc32/include \
+         /epoc32/include/platform \
+         /epoc32/include/platform/loc \
+         /epoc32/include/platform/loc/sc
+
+        # This define statements defines the include paths, which are intended to be
+        # used in the pro-files that are part of the os-layer. This is intended 
+        # to be only used by those components which need to use in their mmp-file either
+        # kern_ext.mmh or nkern_ext.mmh. Reason is that those
+        # 2 files already contain the /epoc32/include  as system include path.
+
+        OS_LAYER_KERNEL_SYSTEMINCLUDE = \
+         /epoc32/include/platform
+
+
+        # ---------------------------------------
+        # Definitions that also define the systeminclude paths for various
+        # part of stdapis. Append to INCLUDEPATH in pro-file.
+        # ---------------------------------------
+
+        OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys)
+
+        OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject)
+
+        OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl)
+
+        # stlportv5 is preferred over stlport as it has the throwing version of operator new
+        exists($${EPOCROOT}epoc32/include/stdapis/stlport) \
+        :!exists($${EPOCROOT}epoc32/include/stdapis/stlportv5) {
+            OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport)
+        } else {
+            OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5)
+        }
+        
+        OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost)
+
+        OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus)
+
+        OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility)
+
+        # ---------------------------------------
+        # Definitions to export IBY files to different folders where they will be taken 
+        # to ROM image
+        # ---------------------------------------
+              
+        defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/app/$$1)
+        }
+        defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/mw/$$1)
+        }
+        defineReplace(CORE_OSEXT_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/os/$$1)
+        }
+        defineReplace(CORE_OS_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/os/$$1)
+        }
+        defineReplace(CORE_ADAPT_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/$$1)
+        }
+        
+        # You need to define the following in pro-file, if you are using the stllib:
+        # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
+        # DEFINES *= $$STLLIB_USAGE_DEFINES
+        STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
+        STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
+
+    } else { # Old pre-SF structure
+
+        # ---------------------------------------
+        # Location, where the applications layer specific public headers are exported
+        # ---------------------------------------
+
+        defineReplace(APP_LAYER_SDK_EXPORT_PATH) {
+             return (/epoc32/include/applications/$$1)
+        }
+        defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) {
+             return (/epoc32/include/applications/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the applications layer specific platform headers are exported
+        # ---------------------------------------
+
+        defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) {
+             return (/epoc32/include/domain/applications/$$1)
+        }
+        defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) {
+             return (/epoc32/include/domain/applications/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the middleware layer specific public headers are exported
+        # ---------------------------------------
+
+        defineReplace(MW_LAYER_SDK_EXPORT_PATH) {
+             return (/epoc32/include/middleware/$$1)
+        }
+        defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) {
+             return (/epoc32/include/middleware/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the middleware layer specific platform headers are exported
+        # ---------------------------------------
+
+        defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) {
+             return (/epoc32/include/domain/middleware/$$1)
+        }
+        defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) {
+             return (/epoc32/include/domain/middleware/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the os layer specific public headers are exported
+        # ---------------------------------------
+
+        defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) {
+             return (/epoc32/include/osextensions/$$1)
+        }
+        # WARNING: If the following path changes see the exists() function around line 430
+        defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) {
+             return (/epoc32/include/osextensions/$$1)
+        }
+
+        # ---------------------------------------
+        # Location, where the os specific platform headers are exported
+        # ---------------------------------------
+
+        defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) {
+             return (/epoc32/include/domain/osextensions/$$1)
+        }
+        defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) {
+             return (/epoc32/include/domain/osextensions/$$1)
+        }
+
+        # ---------------------------------------
+        #  General comments about the 3 define statements related to include paths:
+        #  1) the /epoc32/include/oem is now defined there for backward compability.
+        #     Once the directory is empty, the directory will be removed. However this 
+        #     enables us to ensure that if you use these define statements => you do 
+        #     not have to remove the statements later on, when the directory no longer 
+        #     exists.
+        #  2) These statements should be enough in normal cases. For certain specific 
+        #     cases you might need to add some specific directory from /epoc32/include
+        #     (for instance /epoc32/include/ecom).
+        #     In normal cases the include staments in code should be relative to one of 
+        #     the system include paths, but in certain cases, the included files requires
+        #     that the subdirectory is also part of the system include paths.
+        # ---------------------------------------
+
+        # This variable defines the include paths, which are intended to be 
+        # used in the pro-files that are part of the applications-layer. It includes all 
+        # the needed directories from the /epoc32/include, that are valid ones for the 
+        # application-layer components. 
+        #
+        # Applications layer is the last one in the list, since most likely the most of 
+        # the headers come from middleware or os-layer  => thus they are first.
+
+        APP_LAYER_SYSTEMINCLUDE = \
+         /epoc32/include \
+         /epoc32/include/oem \
+         /epoc32/include/middleware \
+         /epoc32/include/domain/middleware \
+         /epoc32/include/osextensions \
+         /epoc32/include/domain/osextensions \
+         /epoc32/include/applications \
+         /epoc32/include/domain/applications \
+         /epoc32/include/domain/osextensions/loc \
+         /epoc32/include/domain/middleware/loc \
+         /epoc32/include/domain/applications/loc \
+         /epoc32/include/domain/osextensions/loc/sc \
+         /epoc32/include/domain/middleware/loc/sc \
+         /epoc32/include/domain/applications/loc/sc
+
+        # This define statements defines the include paths, which are intended to be
+        # used in the pro-files that are part of the middleware-layer. It includes all 
+        # the needed directories from the /epoc32/include, that are valid ones for the 
+        # middleware-layer components. 
+
+        MW_LAYER_SYSTEMINCLUDE = \
+         /epoc32/include \
+         /epoc32/include/oem \
+         /epoc32/include/middleware \
+         /epoc32/include/domain/middleware \
+         /epoc32/include/osextensions \
+         /epoc32/include/domain/osextensions \
+         /epoc32/include/domain/osextensions/loc \
+         /epoc32/include/domain/middleware/loc \
+         /epoc32/include/domain/osextensions/loc/sc \
+         /epoc32/include/domain/middleware/loc/sc
+
+        # This define statements defines the include paths, which are intended to be
+        # used in the pro-files that are part of the  osextensions-layer. It includes all
+        # the needed directories from the /epoc32/include, that are valid ones for the
+        # os-layer components. 
+
+        OS_LAYER_SYSTEMINCLUDE = \
+         /epoc32/include \
+         /epoc32/include/oem \
+         /epoc32/include/osextensions \
+         /epoc32/include/domain/osextensions \
+         /epoc32/include/domain/osextensions/loc \
+         /epoc32/include/domain/osextensions/loc/sc
+
+        # This define statements defines the include paths, which are intended to be
+        # used in the pro-files that are part of the os-layer. This is intended 
+        # to be only used by those components which need to use in their mmp-file either
+        # kern_ext.mmh or nkern_ext.mmh. Reason is that those
+        # 2 files already contain the /epoc32/include  as system include path.
+
+        OS_LAYER_KERNEL_SYSTEMINCLUDE = \
+         /epoc32/include/oem \
+         /epoc32/include/osextensions \
+         /epoc32/include/domain/osextensions
+
+
+        # ---------------------------------------
+        # Definitions that also define the systeminclude paths for various
+        # part of stdapis. Append to INCLUDEPATH in pro-file.
+        # ---------------------------------------
+
+        OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys) \
+                                      /epoc32/include/stdapis \
+                                      /epoc32/include/stdapis/sys
+
+        OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject) \
+                                      /epoc32/include/stdapis/glib-2.0 \
+                                      /epoc32/include/stdapis/glib-2.0/glib \
+                                      /epoc32/include/stdapis/glib-2.0/gObject
+
+        OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl) \
+                                     /epoc32/include/stdapis/openssl
+
+        # stlportv5 is preferred over stlport as it has the throwing version of operator new
+        OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5) \
+                                        /epoc32/include/stdapis/stlportv5
+        exists($${EPOCROOT}epoc32/include/osextensions/stdapis/stlport) \
+        |exists($${EPOCROOT}epoc32/include/stdapis/stlport) {
+            !exists($${EPOCROOT}epoc32/include/osextensions/stdapis/stlportv5) \
+            :!exists($${EPOCROOT}epoc32/include/stdapis/stlportv5) {
+                OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport) \
+                                                /epoc32/include/stdapis/stlport
+            }
+        }
+        
+        OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost) \
+                                       /epoc32/include/stdapis/boost
+
+        OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \
+                                      $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus) \
+                                      /epoc32/include/stdapis/dbus-1.0 \
+                                      /epoc32/include/stdapis/dbus-1.0/dbus
+
+        OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility) \
+                                            /epoc32/include/stdapis/utility
+
+        # ---------------------------------------
+        # Definitions to export IBY files to different folders where they will be taken 
+        # to ROM image
+        # ---------------------------------------
+              
+        defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/app/$$1)
+        }
+        defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/mw/$$1)
+        }
+        defineReplace(CORE_OSEXT_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/osext/$$1)
+        }
+        defineReplace(CORE_OS_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/core/osext/$$1)
+        }
+        defineReplace(CORE_ADAPT_LAYER_IBY_EXPORT_PATH) {
+            return(/epoc32/rom/include/$$1)
+        }
+        
+        # You need to define the following in pro-file, if you are using the stllib:
+        # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
+        # DEFINES *= $$STLLIB_USAGE_DEFINES
+        STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
+        STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
+    
+    } 
+}
+
+
+    
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/qt.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/qt.prf
new file mode 100644 (file)
index 0000000..99f5ece
--- /dev/null
@@ -0,0 +1,41 @@
+contains(DEFINES, QT_MAKEDLL)|contains(DEFINES, QT_DLL) {
+    CONFIG *= epocallowdlldata
+}
+
+CONFIG += qtmain
+
+load(qt)
+
+# Allow .pro files to specify include path(s) to be prepended to the list.
+#
+# This allows the project to override the default ordering, whereby paths
+# relative to $$QMAKE_INCDIR_QT always come first.  This ordering can cause
+# problems when both the epoc32/include tree and a Qt include directory
+# contain a header of the same name - in this case, the Qt header is always
+# included by virtue of its path appearing first in the SYSTEMINCLUDE
+# directives in the generated MMP file.
+#
+# To work around this situation, the following line can be added to the .pro
+# file:
+#      PREPEND_INCLUDEPATH = /epoc32/include
+#
+INCLUDEPATH = $$PREPEND_INCLUDEPATH $$INCLUDEPATH
+
+# Add dependency to Qt package to all other projects besides Qt libs.
+# Note: Qt libs with full capabilities has UID3 of 0x2001E61C,
+#       while self-signed version typically has temporary UID3 of 0xE001E61C.
+contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0xE001E61C) {
+    default_deployment.pkg_prerules += \
+        "; Default dependency to Qt libraries" \
+        "(0x2001E61C), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION},  {\"Qt\"}"
+
+    # Projects linking to webkit need dependency to webkit
+    contains(QT, webkit): {
+        default_deployment.pkg_prerules += \
+            "; Dependency to Qt Webkit" \
+            "(0x200267C2), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION},  {\"QtWebKit\"}"
+    }
+}
+
+isEmpty(TARGET.EPOCSTACKSIZE):TARGET.EPOCSTACKSIZE = 0x14000
+isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x020000 0x800000
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/stl.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/stl.prf
new file mode 100644 (file)
index 0000000..e21ee5c
--- /dev/null
@@ -0,0 +1,25 @@
+CONFIG -= stl_off
+
+# STL usage in S60 requires the "OPTION CW -wchar_t on" mmp statement to be used.
+# This statement is added via $$STLLIB_USAGE_CW_FLAGS variable below.
+# S60 STL documentation instructs to use also "MACRO  _WCHAR_T_DECLARED" statement,
+# but QtS60 will not compile if that statement is set.
+
+QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS 
+
+# Path to stlport headers
+INCLUDEPATH += $$OS_LAYER_STDCPP_SYSTEMINCLUDE 
+
+# Remove mkspecs/common/symbian/stl-off from beginning of includepath 
+# in order to use new and delete operators from STL
+INCLUDEPATH -= $$[QT_INSTALL_PREFIX]/mkspecs/common/symbian/stl-off
+
+# libstdcppv5 is preferred over libstdcpp as it has/uses the throwing version of operator new
+exists($${EPOCROOT}epoc32/release/armv5/urel/libstdcppv5.dll)|exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcppv5.dll) {
+    LIBS *= -llibstdcppv5.dll
+
+    # STDCPP turns on standard C++ new behaviour (ie. throwing new)
+    MMP_RULES += "STDCPP"
+} else {
+    LIBS *= -llibstdcpp.dll
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/symbian/stl_off.prf b/zouba/qt4-maemo5/mkspecs/features/symbian/stl_off.prf
new file mode 100644 (file)
index 0000000..d5d1c7c
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG -= stl
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/uic.prf b/zouba/qt4-maemo5/mkspecs/features/uic.prf
new file mode 100644 (file)
index 0000000..eaf373a
--- /dev/null
@@ -0,0 +1,123 @@
+
+isEmpty(QMAKE_UIC3) {
+    contains(QMAKE_HOST.os,Windows):QMAKE_UIC3 = $$[QT_INSTALL_BINS]\uic3.exe
+    else:QMAKE_UIC3 = $$[QT_INSTALL_BINS]/uic3
+}
+
+isEmpty(QMAKE_UIC) {
+   contains(QMAKE_HOST.os,Windows):QMAKE_UIC = $$[QT_INSTALL_BINS]\uic.exe
+   else:QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
+}
+
+isEmpty(UI_DIR):UI_DIR = .
+isEmpty(UI_SOURCES_DIR):UI_SOURCES_DIR = $$UI_DIR
+isEmpty(UI_HEADERS_DIR):UI_HEADERS_DIR = $$UI_DIR
+isEmpty(QMAKE_MOD_UIC):QMAKE_MOD_UIC = ui_
+
+# Allow FORMS3 to contain old UIC3 forms, while FORMS contains new
+# UIC files in the same project. However, if CONFIG+=uic3 and no
+# FORMS3 is defined, FORMS may only contain old UIC3 files.
+
+!uic3|!isEmpty(FORMS3) {
+    # If we have CONFIG+=uic3 and no FORMS3, then don't do this step,
+    # as UIC3 files don't need a ui_<formname>.h file
+
+    uic.commands = $$QMAKE_UIC ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
+    uic.depend_command = "$$QMAKE_UIC" -d "${QMAKE_FILE_IN}"
+    uic.output = $$UI_HEADERS_DIR/$${QMAKE_MOD_UIC}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)}
+    uic.input = FORMS
+    uic.variable_out = GENERATED_FILES
+    uic.CONFIG += no_link target_predeps
+    uic.name = UIC ${QMAKE_FILE_IN}
+    silent:uic.commands = @echo uic ${QMAKE_FILE_IN} && $$uic.commands
+    QMAKE_EXTRA_COMPILERS += uic
+    INCREDIBUILD_XGE += uic
+}
+
+!isEmpty(FORMS)|!isEmpty(FORMS3) {
+    ui_dir_short = $$UI_HEADERS_DIR
+    contains(QMAKE_HOST.os,Windows):ui_dir_short ~= s,^.:,/,
+    contains(ui_dir_short, ^[/\\\\].*):INCLUDEPATH += $$UI_HEADERS_DIR
+    else:INCLUDEPATH += $$OUT_PWD/$$UI_HEADERS_DIR
+}
+
+# Backwards compatibility: Make shadow builds with default UI_DIR work
+# if the user did not add the source dir explicitly.
+equals(UI_DIR, .) {
+    CONFIG -= include_source_dir
+    CONFIG = include_source_dir $$CONFIG
+}
+
+uic3 {
+    isEmpty(FORMS3) {
+        UIC3_FORMS = FORMS
+        !build_pass:message("Project contains CONFIG+=uic3, but no files in FORMS3; UI files in FORMS treated as UIC3 form files.")
+    } else {
+        UIC3_FORMS = FORMS3
+    }
+
+    uic3_decl.commands = $$QMAKE_UIC3 ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
+    uic3_decl.dependency_type = TYPE_UI
+    uic3_decl.output = $$UI_HEADERS_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)}
+    uic3_decl.input = $$UIC3_FORMS
+    uic3_decl.CONFIG += no_link
+    uic3_decl.variable_out = GENERATED_FILES UIC3_HEADERS
+    uic3_decl.name = UIC3 Decl ${QMAKE_FILE_IN}
+    silent:uic3_decl.commands = @echo uic3 ${QMAKE_FILE_IN} && $$uic3_decl.commands
+    QMAKE_EXTRA_COMPILERS += uic3_decl
+
+    uic3_impl.commands = $$QMAKE_UIC3 -impl ${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)} ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
+    uic3_impl.dependency_type = TYPE_UI
+    uic3_impl.output = $$UI_SOURCES_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_CPP)}
+    uic3_impl.depends = $$UI_HEADERS_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)}
+    uic3_impl.input = $$UIC3_FORMS
+    uic3_impl.variable_out = GENERATED_SOURCES
+    uic3_impl.name = UIC3 Impl ${QMAKE_FILE_IN}
+    silent:uic3_impl.commands = @echo uic3 -impl ${QMAKE_FILE_IN} && $$uic3_impl.commands
+    QMAKE_EXTRA_COMPILERS += uic3_impl
+
+    ### add a moc step
+    load(moc)
+    uic3_moc.commands = $$moc_header.commands
+    uic3_moc.output = $$moc_header.output
+    uic3_moc.depends = $$UI_HEADERS_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)}
+    uic3_moc.input = UIC3_HEADERS
+    uic3_moc.variable_out = GENERATED_SOURCES
+    uic3_moc.name = $$moc_header.name
+    QMAKE_EXTRA_COMPILERS += uic3_moc
+}
+
+defineReplace(imageCollectionCmd) {
+    unset(EMBEDDED_IMAGES)
+    RET =
+    for(image, $$list($$split(1))) {
+           EMBEDDED_IMAGES += $$image
+           count(EMBEDDED_IMAGES, 5) {
+                isEmpty(RET): RET += echo $$EMBEDDED_IMAGES > images.tmp $$escape_expand(\n\t)
+                else:         RET += echo $$EMBEDDED_IMAGES >> images.tmp $$escape_expand(\n\t)
+                unset(EMBEDDED_IMAGES)
+           }
+    }
+    !isEmpty(EMBEDDED_IMAGES):RET += echo $$EMBEDDED_IMAGES >> images.tmp $$escape_expand(\n\t)
+    !isEmpty(RET) {
+        RET += $$QMAKE_UIC3 -embed $$TARGET -f images.tmp -o $$2 $$escape_expand(\n\t)
+        return($$RET)
+    }
+    return($$QMAKE_UIC3 -embed $$TARGET $$1 -o $$2)
+}
+
+image_collection.output = qmake_image_collection$${first(QMAKE_EXT_CPP)}
+image_collection.variable_out = SOURCES
+image_collection.input = IMAGES
+image_collection.CONFIG += combine
+image_collection.name = UIC3 Image collection in ${QMAKE_FILE_OUT}
+!win32 {
+    image_collection.commands = $$QMAKE_UIC3 -embed $$TARGET ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
+    silent:image_collection.commands = @echo uic3 -embed ${QMAKE_FILE_IN} && $$image_collection.commands
+} else {
+    image_collection.commands = ${QMAKE_FUNC_imageCollectionCmd}
+    silent:image_collection.commands = @echo uic3 -embed $$TARGET -f images.tmp && $image_collection.commands
+}
+QMAKE_EXTRA_COMPILERS += image_collection
+
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/uitools.prf b/zouba/qt4-maemo5/mkspecs/features/uitools.prf
new file mode 100644 (file)
index 0000000..2d14b04
--- /dev/null
@@ -0,0 +1,14 @@
+QT += xml
+qt:load(qt)
+
+# Include the correct version of the UiLoader library
+symbian: QTUITOOLS_LINKAGE = -lQtUiTools.lib
+else: QTUITOOLS_LINKAGE = -lQtUiTools
+
+CONFIG(debug, debug|release) {
+    mac: QTUITOOLS_LINKAGE = -lQtUiTools_debug
+    win32: QTUITOOLS_LINKAGE = -lQtUiToolsd
+}
+LIBS += $$QTUITOOLS_LINKAGE
+
+INCLUDEPATH = $$QMAKE_INCDIR_QT/QtUiTools $$INCLUDEPATH
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/bsymbolic_functions.prf b/zouba/qt4-maemo5/mkspecs/features/unix/bsymbolic_functions.prf
new file mode 100644 (file)
index 0000000..5a60463
--- /dev/null
@@ -0,0 +1,6 @@
+
+!staticlib:!static:contains(TEMPLATE, lib) {
+    QMAKE_LFLAGS_SHLIB += $$QMAKE_LFLAGS_BSYMBOLIC_FUNC
+
+    !isEmpty(QMAKE_DYNAMIC_LIST_FILE):QMAKE_LFLAGS_SHLIB += $$QMAKE_LFLAGS_DYNAMIC_LIST$$QMAKE_DYNAMIC_LIST_FILE
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/dylib.prf b/zouba/qt4-maemo5/mkspecs/features/unix/dylib.prf
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/hide_symbols.prf b/zouba/qt4-maemo5/mkspecs/features/unix/hide_symbols.prf
new file mode 100644 (file)
index 0000000..4af99c2
--- /dev/null
@@ -0,0 +1,4 @@
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_HIDESYMS
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_HIDESYMS
+QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_HIDESYMS
+QMAKE_LFLAGS += $$QMAKE_LFLAGS_HIDESYMS
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/largefile.prf b/zouba/qt4-maemo5/mkspecs/features/unix/largefile.prf
new file mode 100644 (file)
index 0000000..104d675
--- /dev/null
@@ -0,0 +1,2 @@
+DEFINES += _LARGEFILE64_SOURCE _LARGEFILE_SOURCE
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/opengl.prf b/zouba/qt4-maemo5/mkspecs/features/unix/opengl.prf
new file mode 100644 (file)
index 0000000..f2db819
--- /dev/null
@@ -0,0 +1,22 @@
+contains(QT_CONFIG, opengles1) {
+    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1
+    !isEmpty(QMAKE_LIBDIR_OPENGL_ES1):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES1
+    target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1
+    else:LIBS += $$QMAKE_LIBS_OPENGL_ES1
+} else:contains(QT_CONFIG, opengles1cl) {
+    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1CL
+    !isEmpty(QMAKE_LIBDIR_OPENGL_ES1CL):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES1CL
+    target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1CL
+    else:LIBS += $$QMAKE_LIBS_OPENGL_ES1CL
+} else:contains(QT_CONFIG, opengles2) {
+    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
+    !isEmpty(QMAKE_LIBDIR_OPENGL_ES2):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES2
+    target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES2
+    else:LIBS += $$QMAKE_LIBS_OPENGL_ES2
+} else {
+    INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+    !isEmpty(QMAKE_LIBDIR_OPENGL):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL
+    target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_QT
+    else:LIBS += $$QMAKE_LIBS_OPENGL
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/openvg.prf b/zouba/qt4-maemo5/mkspecs/features/unix/openvg.prf
new file mode 100644 (file)
index 0000000..29acec1
--- /dev/null
@@ -0,0 +1,15 @@
+!isEmpty(QMAKE_INCDIR_OPENVG): INCLUDEPATH += $$QMAKE_INCDIR_OPENVG
+!isEmpty(QMAKE_LIBDIR_OPENVG): QMAKE_LIBDIR += -L$$QMAKE_LIBDIR_OPENVG
+!isEmpty(QMAKE_LIBS_OPENVG): LIBS += $$QMAKE_LIBS_OPENVG
+
+contains(QT_CONFIG, egl) {
+    !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
+    !isEmpty(QMAKE_LIBDIR_EGL): LIBS += -L$$QMAKE_LIBDIR_EGL
+    !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
+}
+
+contains(QT_CONFIG, openvg_on_opengl) {
+    !isEmpty(QMAKE_INCDIR_OPENGL): INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+    !isEmpty(QMAKE_LIBDIR_OPENGL): QMAKE_LIBDIR += -L$$QMAKE_LIBDIR_OPENGL
+    !isEmpty(QMAKE_LIBS_OPENGL): LIBS += $$QMAKE_LIBS_OPENGL
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/separate_debug_info.prf b/zouba/qt4-maemo5/mkspecs/features/unix/separate_debug_info.prf
new file mode 100644 (file)
index 0000000..c675828
--- /dev/null
@@ -0,0 +1,17 @@
+
+!separate_debug_info_nocopy:!staticlib:!static:!contains(TEMPLATE, subdirs):!isEmpty(QMAKE_OBJCOPY) {
+    QMAKE_SEPARATE_DEBUG_INFO = (test -z \"$(DESTDIR)\" || cd \"$(DESTDIR)\" ; targ=`basename $(TARGET)`; $$QMAKE_OBJCOPY --only-keep-debug \"\$\$targ\" \"\$\$targ.debug\" && $$QMAKE_OBJCOPY --strip-debug \"\$\$targ\" && $$QMAKE_OBJCOPY --add-gnu-debuglink=\"\$\$targ.debug\" \"\$\$targ\" && chmod -x \"\$\$targ.debug\" ) ;
+    QMAKE_INSTALL_SEPARATE_DEBUG_INFO = test -z "$(DESTDIR)" || cd \"$(DESTDIR)\" ; $(INSTALL_FILE) `basename $(TARGET)`.debug $(INSTALL_ROOT)/\$\$target_path/
+
+    QMAKE_POST_LINK = $$QMAKE_SEPARATE_DEBUG_INFO $$QMAKE_POST_LINK
+    silent:QMAKE_POST_LINK = @echo creating $@.debug && $$QMAKE_POST_LINK
+
+    isEmpty(DESTDIR) {
+        target.targets += "`basename $(TARGET)`.debug"
+        QMAKE_DISTCLEAN += "`basename $(TARGET)`.debug"
+    } else {
+        target.targets += "$(DESTDIR)/`basename $(TARGET)`.debug"
+        QMAKE_DISTCLEAN += "$(DESTDIR)/`basename $(TARGET)`.debug"
+    }
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/separate_debug_info_nocopy.prf b/zouba/qt4-maemo5/mkspecs/features/unix/separate_debug_info_nocopy.prf
new file mode 100644 (file)
index 0000000..13a0971
--- /dev/null
@@ -0,0 +1 @@
+CONFIG += nostrip
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/thread.prf b/zouba/qt4-maemo5/mkspecs/features/unix/thread.prf
new file mode 100644 (file)
index 0000000..d6df7b6
--- /dev/null
@@ -0,0 +1,14 @@
+!isEmpty(QMAKE_CFLAGS_THREAD) {
+   QMAKE_CFLAGS += $$QMAKE_CFLAGS_THREAD
+   QMAKE_EXPORT_CFLAGS += $$QMAKE_CFLAGS_THREAD
+}
+!isEmpty(QMAKE_CXXFLAGS_THREAD) {
+   QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_THREAD
+   QMAKE_EXPORT_CXXFLAGS += $$QMAKE_CXXFLAGS_THREAD
+}
+INCLUDEPATH += $$QMAKE_INCDIR_THREAD
+LIBS += $$QMAKE_LIBS_THREAD
+!isEmpty(QMAKE_LFLAGS_THREAD):QMAKE_LFLAGS += $$QMAKE_LFLAGS_THREAD
+!isEmpty(QMAKE_CC_THREAD):QMAKE_CC = $$QMAKE_CC_THREAD
+!isEmpty(QMAKE_CXX_THREAD):QMAKE_CXX = $$QMAKE_CXX_THREAD
+!isEmpty(QMAKE_LINK_THREAD):QMAKE_LINK = $$QMAKE_LINK_THREAD
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/x11.prf b/zouba/qt4-maemo5/mkspecs/features/unix/x11.prf
new file mode 100644 (file)
index 0000000..404ce08
--- /dev/null
@@ -0,0 +1 @@
+CONFIG *= x11lib x11inc
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/x11inc.prf b/zouba/qt4-maemo5/mkspecs/features/unix/x11inc.prf
new file mode 100644 (file)
index 0000000..7e11b5b
--- /dev/null
@@ -0,0 +1,3 @@
+INCLUDEPATH += $$QMAKE_INCDIR_X11
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_X11
+QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_X11
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/x11lib.prf b/zouba/qt4-maemo5/mkspecs/features/unix/x11lib.prf
new file mode 100644 (file)
index 0000000..b661d53
--- /dev/null
@@ -0,0 +1,2 @@
+!isEmpty(QMAKE_LIBDIR_X11):QMAKE_LIBDIR += $$QMAKE_LIBDIR_X11
+LIBS_PRIVATE += $$QMAKE_LIBS_X11
diff --git a/zouba/qt4-maemo5/mkspecs/features/unix/x11sm.prf b/zouba/qt4-maemo5/mkspecs/features/unix/x11sm.prf
new file mode 100644 (file)
index 0000000..5176147
--- /dev/null
@@ -0,0 +1,2 @@
+!isEmpty(QMAKE_LIBDIR_X11):QMAKE_LIBDIR += $$QMAKE_LIBDIR_X11
+LIBS_PRIVATE += $$QMAKE_LIBS_X11SM
diff --git a/zouba/qt4-maemo5/mkspecs/features/use_c_linker.prf b/zouba/qt4-maemo5/mkspecs/features/use_c_linker.prf
new file mode 100644 (file)
index 0000000..e07ce6a
--- /dev/null
@@ -0,0 +1,5 @@
+!isEmpty(QMAKE_LINK_C):QMAKE_LINK = $$QMAKE_LINK_C
+!isEmpty(QMAKE_LINK_C_SHLIB) {
+    !isEmpty(QMAKE_LINK_SHLIB_CMD):QMAKE_LINK_SHLIB_CMD ~= s/^$$re_escape($$QMAKE_LINK_SHLIB)$/$$QMAKE_LINK_C_SHLIB/
+    QMAKE_LINK_SHLIB = $$QMAKE_LINK_C_SHLIB
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/vxworks.prf b/zouba/qt4-maemo5/mkspecs/features/vxworks.prf
new file mode 100644 (file)
index 0000000..a910c69
--- /dev/null
@@ -0,0 +1,63 @@
+# VxWorks Munching Feature
+# When compiling C++ sources on VxWorks in kernel mode, all .o files have to
+# be processed by the so-called 'munch' script which will generate
+# additional code for static c'tors and d'tors. The resulting .c file has to
+# be compiled in turn and linked to the executable.
+# This can only been done when linking applications, since the munch script
+# generates a .c file containing static symbols: linking a lib that was
+# already munched to a munched application would lead to duplicate symbols!
+
+isEmpty(VXWORKS_MUNCH_EXT):VXWORKS_MUNCH_EXT = vxm
+isEmpty(VXWORKS_MUNCH_TOOL):VXWORKS_MUNCH_TOOL = $(WIND_BASE)/host/resource/hutils/tcl/munch.tcl
+
+
+!exists($$VXWORKS_MUNCH_TOOL) {
+    error("Could not find VxWorks Munch tool: '$${VXWORKS_MUNCH_TOOL}'. Please set the environment variable WIND_BASE correctly.")
+}
+
+# The following scope is entered for any project that specifies 'shared' as well
+# as for any project specifying neither 'shared', nor 'lib', nor 'staticlib'.
+# This means that for a static build only the executable is munched, while for
+# a shared build, every lib, plugin and executable is munched separately.
+
+shared|!staticlib:!lib {
+    *-dcc {
+    VXWORKS_MUNCH_CMD = (targ=`basename $(TARGET)`; \
+                         ddump -Ng \"$(TARGET)\" | tclsh $$VXWORKS_MUNCH_TOOL -c $$VXWORKS_ARCH_MUNCH >\"$(OBJECTS_DIR)/\$\${targ}_ctdt.c\" && \
+                         $$QMAKE_CC -c $$QMAKE_CFLAGS \"$(OBJECTS_DIR)/\$\${targ}_ctdt.c\" -o \"$(OBJECTS_DIR)/\$\${targ}_ctdt.o\" && \
+                         $$QMAKE_LINK $$QMAKE_LFLAGS -X -r5 -r4 \"$(OBJECTS_DIR)/\$\${targ}_ctdt.o\" \"$(TARGET)\" -o \"$(TARGET).munched\" && \
+                         mv \"$(TARGET).munched\" \"$(TARGET)\" && \
+                         chmod +x \"$(TARGET)\")
+    }
+    *-g++ {
+    VXWORKS_MUNCH_CMD = (targ=`basename $(TARGET)`; \
+                         nm \"$(DESTDIR)$(TARGET)\" | tclsh $$VXWORKS_MUNCH_TOOL -c $$VXWORKS_ARCH_MUNCH >\"$(OBJECTS_DIR)/\$\${targ}_ctdt.c\" && \
+                         $$QMAKE_CC -c $$QMAKE_CFLAGS -fdollars-in-identifiers \"$(OBJECTS_DIR)/\$\${targ}_ctdt.c\" -o \"$(OBJECTS_DIR)/\$\${targ}_ctdt.o\" && \
+                         $$QMAKE_LINK $$QMAKE_LFLAGS -nostdlib -Wl,-X -T $(WIND_BASE)/target/h/tool/gnu/ldscripts/link.OUT \"$(OBJECTS_DIR)/\$\${targ}_ctdt.o\" \"$(DESTDIR)$(TARGET)\" -o \"$(DESTDIR)$(TARGET).munched\" && \
+                         mv \"$(DESTDIR)$(TARGET).munched\" \"$(DESTDIR)$(TARGET)\" && \
+                         chmod +x \"$(DESTDIR)$(TARGET)\")
+    }
+
+    # We need to create a dummy lib.a in case someone links against this lib.
+    # In VxWorks it's the responsibility of the run-time linker ld to resolve
+    # symbols, since there are no real shared libraries for the toolchain linker
+    # to link against.
+
+    shared:contains(TEMPLATE, lib) {
+        VXWORKS_MUNCH_CMD += "&&"
+        VXWORKS_MUNCH_CMD += (atarg=`basename $(TARGET) .so.$${VERSION}`.a ; touch \"$(DESTDIR)\$\${atarg}\")
+    }
+
+    QMAKE_POST_LINK = $$VXWORKS_MUNCH_CMD $$QMAKE_POST_LINK
+    silent:QMAKE_POST_LINK = @echo creating $@.$$VXWORKS_MUNCH_EXT && $$QMAKE_POST_LINK
+
+    isEmpty(DESTDIR) {
+        target.targets += "`basename $(TARGET)`.$$VXWORKS_MUNCH_EXT"
+        QMAKE_DISTCLEAN += "`basename $(TARGET)`.$$VXWORKS_MUNCH_EXT"
+    } else {
+        target.targets += "$(DESTDIR)/`basename $(TARGET)`.$$VXWORKS_MUNCH_EXT"
+        QMAKE_DISTCLEAN += "$(DESTDIR)/`basename $(TARGET)`.$$VXWORKS_MUNCH_EXT"
+    }
+    *-g++:LIBS += -lgcc
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/warn_off.prf b/zouba/qt4-maemo5/mkspecs/features/warn_off.prf
new file mode 100644 (file)
index 0000000..e37979c
--- /dev/null
@@ -0,0 +1,4 @@
+CONFIG -= warn_on
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_WARN_OFF
+QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_WARN_OFF
\ No newline at end of file
diff --git a/zouba/qt4-maemo5/mkspecs/features/warn_on.prf b/zouba/qt4-maemo5/mkspecs/features/warn_on.prf
new file mode 100644 (file)
index 0000000..7e78a8e
--- /dev/null
@@ -0,0 +1,5 @@
+CONFIG -= warn_off
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_WARN_ON
+QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_OBJECTIVE_CFLAGS_WARN_ON
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/console.prf b/zouba/qt4-maemo5/mkspecs/features/win32/console.prf
new file mode 100644 (file)
index 0000000..b34e1c6
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG -= windows
+contains(TEMPLATE, ".*app") : QMAKE_LFLAGS += $$QMAKE_LFLAGS_CONSOLE
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/default_post.prf b/zouba/qt4-maemo5/mkspecs/features/win32/default_post.prf
new file mode 100644 (file)
index 0000000..a1d8b52
--- /dev/null
@@ -0,0 +1,11 @@
+!isEmpty(CE_ARCH) {
+    QMAKESPEC_DIR = $$QMAKESPEC
+    exists($$QMAKESPEC_DIR/default_post.prf) {
+        isEmpty(QMAKESPEC_DIR):QMAKESPEC_DIR = $$QMAKESPEC_ORIGINAL
+        !isEmpty(QMAKESPEC_DIR):load($$QMAKESPEC_DIR/default_post.prf)
+    }
+}
+
+# Now load the global default_post
+load(default_post)
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/default_pre.prf b/zouba/qt4-maemo5/mkspecs/features/win32/default_pre.prf
new file mode 100644 (file)
index 0000000..6789174
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG = rtti_off exceptions_off stl_off incremental_off thread_off windows $$CONFIG
+load(default_pre)
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/dumpcpp.prf b/zouba/qt4-maemo5/mkspecs/features/win32/dumpcpp.prf
new file mode 100644 (file)
index 0000000..1963799
--- /dev/null
@@ -0,0 +1,11 @@
+isEmpty(QMAKE_DUMPCPP_NAME) {
+    QMAKE_DUMPCPP_NAME = make_dumpcpp
+}
+
+# auto depend on dumpcpp
+!contains(TARGET, dumpcpp) {
+    isEmpty(QMAKE_DUMPCPP_SRC): QMAKE_DUMPCPP_SRC = "$(QTDIR)/tools/activeqt/dumpcpp"
+    make_dumpcpp.commands = (cd $$QMAKE_DUMPCPP_SRC && $(QMAKE) && $(MAKE))
+    QMAKE_EXTRA_TARGETS += $$QMAKE_DUMPCPP_NAME
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/embed_manifest_dll.prf b/zouba/qt4-maemo5/mkspecs/features/win32/embed_manifest_dll.prf
new file mode 100644 (file)
index 0000000..76a8ed1
--- /dev/null
@@ -0,0 +1,13 @@
+MANIFEST_DIR = $$OBJECTS_DIR
+isEmpty(MANIFEST_DIR):MANIFEST_DIR = .
+!if(plugin:no_plugin_manifest):if(win32-msvc2005|win32-msvc2008):!static:!equals(TEMPLATE_PREFIX, "vc"):equals(TEMPLATE, "lib") {
+    NOPATH_TARGET = $$TARGET
+    NOPATH_TARGET ~= s,\\ , ,q      # Remove space escaping (NOPATH_TARGET is quoted)
+    NOPATH_TARGET ~= s,\\,/,g       # Change to single type separators
+    NOPATH_TARGET ~= s,^(.*/)+,,    # Remove all paths
+    QMAKE_LFLAGS += /MANIFEST $$quote(/MANIFESTFILE:\"$${MANIFEST_DIR}\\$${NOPATH_TARGET}.intermediate.manifest\")
+    QMAKE_PREV_POST_LINK = $$QMAKE_POST_LINK
+    QMAKE_POST_LINK = $$quote(mt.exe -nologo -manifest \"$$replace(MANIFEST_DIR,/,\\)\\$${NOPATH_TARGET}.intermediate.manifest\" -outputresource:$(DESTDIR_TARGET);2$$escape_expand(\n\t))
+    QMAKE_POST_LINK += $$QMAKE_PREV_POST_LINK
+    QMAKE_CLEAN += \"$$replace(MANIFEST_DIR,/,\\)\\$${NOPATH_TARGET}.intermediate.manifest\"
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/embed_manifest_exe.prf b/zouba/qt4-maemo5/mkspecs/features/win32/embed_manifest_exe.prf
new file mode 100644 (file)
index 0000000..d2800a1
--- /dev/null
@@ -0,0 +1,13 @@
+MANIFEST_DIR = $$OBJECTS_DIR
+isEmpty(MANIFEST_DIR):MANIFEST_DIR = .
+if(win32-msvc2005|win32-msvc2008):!equals(TEMPLATE_PREFIX, "vc"):equals(TEMPLATE, "app") {
+    NOPATH_TARGET = $$TARGET
+    NOPATH_TARGET ~= s,\\ , ,q      # Remove space escaping (NOPATH_TARGET is quoted)
+    NOPATH_TARGET ~= s,\\,/,g       # Change to single type separators
+    NOPATH_TARGET ~= s,^(.*/)+,,    # Remove all paths
+    QMAKE_LFLAGS += /MANIFEST $$quote(/MANIFESTFILE:\"$${MANIFEST_DIR}\\$${NOPATH_TARGET}.intermediate.manifest\")
+    QMAKE_PREV_POST_LINK = $$QMAKE_POST_LINK
+    QMAKE_POST_LINK = $$quote(mt.exe -nologo -manifest \"$$replace(MANIFEST_DIR,/,\\)\\$${NOPATH_TARGET}.intermediate.manifest\" -outputresource:$(DESTDIR_TARGET);1$$escape_expand(\n\t))
+    QMAKE_POST_LINK += $$QMAKE_PREV_POST_LINK
+    QMAKE_CLEAN += \"$$replace(MANIFEST_DIR,/,\\)\\$${NOPATH_TARGET}.intermediate.manifest\"
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/exceptions.prf b/zouba/qt4-maemo5/mkspecs/features/win32/exceptions.prf
new file mode 100644 (file)
index 0000000..7866659
--- /dev/null
@@ -0,0 +1,5 @@
+CONFIG -= exceptions_off
+QMAKE_CFLAGS *= $$QMAKE_CFLAGS_EXCEPTIONS_ON
+QMAKE_CXXFLAGS *= $$QMAKE_CXXFLAGS_EXCEPTIONS_ON
+QMAKE_LFLAGS *= $$QMAKE_LFLAGS_EXCEPTIONS_ON
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/exceptions_off.prf b/zouba/qt4-maemo5/mkspecs/features/win32/exceptions_off.prf
new file mode 100644 (file)
index 0000000..9de53d3
--- /dev/null
@@ -0,0 +1,5 @@
+CONFIG -= exceptions
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_EXCEPTIONS_OFF
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_EXCEPTIONS_OFF
+QMAKE_LFLAGS += $$QMAKE_LFLAGS_EXCEPTIONS_OFF
+
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/ltcg.prf b/zouba/qt4-maemo5/mkspecs/features/win32/ltcg.prf
new file mode 100644 (file)
index 0000000..f6f1299
--- /dev/null
@@ -0,0 +1,5 @@
+CONFIG(release, debug|release) {
+    QMAKE_CFLAGS *= $$QMAKE_CFLAGS_LTCG
+    QMAKE_CXXFLAGS *= $$QMAKE_CXXFLAGS_LTCG
+    QMAKE_LFLAGS *= $$QMAKE_LFLAGS_LTCG
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/opengl.prf b/zouba/qt4-maemo5/mkspecs/features/win32/opengl.prf
new file mode 100644 (file)
index 0000000..3414781
--- /dev/null
@@ -0,0 +1,11 @@
+# WinCE does not have a platform directory for .prf files, and the
+# win32 directory is searched for .prfs by qmake on WinCE. Ideally
+# there should be a features/wince/opengl.prf which contains the wince
+# block below.
+
+wince* {
+    include(../unix/opengl.prf)
+} else {
+    QMAKE_LIBS += $$QMAKE_LIBS_OPENGL
+    QMAKE_LFLAGS += $$QMAKE_LFLAGS_OPENGL
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/openvg.prf b/zouba/qt4-maemo5/mkspecs/features/win32/openvg.prf
new file mode 100644 (file)
index 0000000..0df5b66
--- /dev/null
@@ -0,0 +1,7 @@
+QMAKE_LIBS += $$QMAKE_LIBS_OPENVG
+QMAKE_LFLAGS += $$QMAKE_LFLAGS_OPENVG
+
+contains(QT_CONFIG, openvg_on_opengl) {
+    QMAKE_LIBS += $$QMAKE_LIBS_OPENGL
+    QMAKE_LFLAGS += $$QMAKE_LFLAGS_OPENGL
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/qaxcontainer.prf b/zouba/qt4-maemo5/mkspecs/features/win32/qaxcontainer.prf
new file mode 100644 (file)
index 0000000..49edb2a
--- /dev/null
@@ -0,0 +1,34 @@
+!debug_and_release|build_pass {
+   CONFIG(debug, debug|release) {
+      LIBS += -lQAxContainerd
+   } else { 
+      LIBS += -lQAxContainer
+   }
+} else {
+   LIBS += -lQAxContainer
+}
+
+isEmpty(QMAKE_DUMPCPP) {
+    win32:QMAKE_DUMPCPP = $$[QT_INSTALL_BINS]\dumpcpp.exe
+}
+
+dumpcpp_decl.commands = $$QMAKE_DUMPCPP ${QMAKE_FILE_IN} -o ${QMAKE_FILE_BASE}
+qaxcontainer_compat: dumpcpp_decl.commands += -compat
+dumpcpp_decl.output = ${QMAKE_FILE_BASE}.h
+dumpcpp_decl.input = TYPELIBS
+dumpcpp_decl.variable_out = HEADERS
+dumpcpp_decl.name = DUMP
+dumpcpp_decl.CONFIG += no_link
+dumpcpp_decl.depends = $$QMAKE_DUMPCPP
+
+QMAKE_EXTRA_COMPILERS += dumpcpp_decl
+
+
+dumpcpp_impl.commands = $$QMAKE_DUMPCPP -donothing
+dumpcpp_impl.output = ${QMAKE_FILE_BASE}.cpp
+dumpcpp_impl.input = TYPELIBS
+dumpcpp_impl.variable_out = SOURCES
+dumpcpp_impl.name = CPP
+dumpcpp_impl.depends = $$QMAKE_DUMPCPP ${QMAKE_FILE_BASE}.h
+
+QMAKE_EXTRA_COMPILERS += dumpcpp_impl
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/qaxserver.prf b/zouba/qt4-maemo5/mkspecs/features/win32/qaxserver.prf
new file mode 100644 (file)
index 0000000..a18c421
--- /dev/null
@@ -0,0 +1,64 @@
+build_pass:console: {
+    warning("QAxServer applications cannot be console applications.")
+    warning("Remove 'console' from your CONFIG.")
+}
+
+ACTIVEQT_VERSION = $$VERSION
+isEmpty(ACTIVEQT_VERSION):ACTIVEQT_VERSION = 1.0
+
+DEFINES += QAXSERVER
+
+ACTIVEQT_IDE = makefile
+equals(TEMPLATE_PREFIX, "vc"):ACTIVEQT_IDE = VisualStudio
+equals(TEMPLATE, "vcapp"):ACTIVEQT_IDE = VisualStudio
+equals(TEMPLATE, "vclib"):ACTIVEQT_IDE = VisualStudio
+
+equals(ACTIVEQT_IDE, "VisualStudio") {
+    ACTIVEQT_IDC = $${QMAKE_IDC}
+    ACTIVEQT_IDL = $${QMAKE_IDL}
+    ACTIVEQT_TARGET = "$(TargetPath)"
+    win32-msvc {
+        ACTIVEQT_NEWLINE = $$escape_expand(\t)
+        ACTIVEQT_OUTPUT = $(IntDir)/$${TARGET}
+    } else {
+        ACTIVEQT_NEWLINE = $$escape_expand(\n\t)
+        ACTIVEQT_OUTPUT = $(IntDir)$${TARGET}
+    }
+    ACTIVEQT_TLBOUT = "$(TargetDir)/$${TARGET}.tlb"
+    GENERATED += $${OBJECTS_DIR}/$${TARGET}.idl $${ACTIVEQT_TLBOUT}
+}
+equals(ACTIVEQT_IDE, "makefile") {
+    ACTIVEQT_IDC = -$(IDC)
+    ACTIVEQT_IDL = -$(IDL)
+    ACTIVEQT_NEWLINE = $$escape_expand(\n\t)
+    ACTIVEQT_TARGET = $(DESTDIR_TARGET)
+    ACTIVEQT_OUTPUT = $(OBJECTS_DIR)/$${TARGET}
+    isEmpty(DESTDIR) {
+        ACTIVEQT_TLBOUT = $${TARGET}.tlb
+    } else {
+        ACTIVEQT_TLBOUT = $${DESTDIR}/$${TARGET}.tlb
+    }
+}
+
+!qaxserver_no_postlink {
+    !isEmpty(QMAKE_POST_LINK):QMAKE_POST_LINK += $$quote($$ACTIVEQT_NEWLINE)
+    QMAKE_POST_LINK += $$quote($$ACTIVEQT_IDC $${ACTIVEQT_TARGET} /idl $${ACTIVEQT_OUTPUT}.idl -version $${ACTIVEQT_VERSION}$${ACTIVEQT_NEWLINE})
+    !isEmpty(RC_FILE) {
+        QMAKE_POST_LINK += $$quote($$ACTIVEQT_IDL "$${ACTIVEQT_OUTPUT}.idl" /nologo /tlb "$${ACTIVEQT_OUTPUT}.tlb"$$ACTIVEQT_NEWLINE)
+        QMAKE_POST_LINK += $$quote($$ACTIVEQT_IDC $${ACTIVEQT_TARGET} /tlb $${ACTIVEQT_OUTPUT}.tlb$$ACTIVEQT_NEWLINE)
+    } else {
+        QMAKE_POST_LINK += $$quote($$ACTIVEQT_IDL "$${ACTIVEQT_OUTPUT}.idl" /nologo /tlb "$${ACTIVEQT_TLBOUT}"$$ACTIVEQT_NEWLINE)
+        message("No rc-file linked into project; type library will be a separate file.")
+    }
+    QMAKE_POST_LINK += $$quote($$ACTIVEQT_IDC $${ACTIVEQT_TARGET} /regserver)
+    QMAKE_CLEAN += $${ACTIVEQT_OUTPUT}.idl $${ACTIVEQT_OUTPUT}.tlb
+}
+
+qt:!target_qt {
+   CONFIG(debug, debug|release) {
+      QMAKE_LIBS_QT_ENTRY = -lQAxServerd
+   } else { 
+      QMAKE_LIBS_QT_ENTRY = -lQAxServer
+   }
+   dll:QMAKE_LIBS += $$QMAKE_LIBS_QT_ENTRY
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/qt_dll.prf b/zouba/qt4-maemo5/mkspecs/features/win32/qt_dll.prf
new file mode 100644 (file)
index 0000000..f03c0c0
--- /dev/null
@@ -0,0 +1 @@
+CONFIG *= qt
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/rtti.prf b/zouba/qt4-maemo5/mkspecs/features/win32/rtti.prf
new file mode 100644 (file)
index 0000000..6d720d2
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG -= rtti_off
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_RTTI_ON
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_RTTI_ON
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/rtti_off.prf b/zouba/qt4-maemo5/mkspecs/features/win32/rtti_off.prf
new file mode 100644 (file)
index 0000000..b520bfa
--- /dev/null
@@ -0,0 +1,4 @@
+CONFIG -= rtti
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_RTTI_OFF
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_RTTI_OFF
+DEFINES += QT_NO_DYNAMIC_CAST
\ No newline at end of file
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/stl.prf b/zouba/qt4-maemo5/mkspecs/features/win32/stl.prf
new file mode 100644 (file)
index 0000000..caf30ef
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG -= stl_off
+QMAKE_CFLAGS *= $$QMAKE_CFLAGS_STL_ON
+QMAKE_CXXFLAGS *= $$QMAKE_CXXFLAGS_STL_ON
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/stl_off.prf b/zouba/qt4-maemo5/mkspecs/features/win32/stl_off.prf
new file mode 100644 (file)
index 0000000..10198c7
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG -= stl
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_STL_OFF
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_STL_OFF
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/thread.prf b/zouba/qt4-maemo5/mkspecs/features/win32/thread.prf
new file mode 100644 (file)
index 0000000..aa844d2
--- /dev/null
@@ -0,0 +1,30 @@
+CONFIG -= thread_off
+qt {
+  target_qt:PRL_EXPORT_DEFINES += QT_THREAD_SUPPORT
+  else:DEFINES += QT_THREAD_SUPPORT
+}
+
+# #### These need to go
+debug {
+  contains(DEFINES, QT_DLL) {
+     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLLDBG
+     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLLDBG
+  } else {
+     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DBG
+     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DBG
+ }
+} else {
+ contains(DEFINES, QT_DLL) {
+     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLL
+     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLL
+ } else {
+     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT
+     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT
+ }
+}
+
+win32-msvc|win32-msvc.net {
+  !contains(DEFINES, QT_DLL):!target_qt:!isEqual(TARGET, qtmain):QMAKE_LFLAGS += /NODEFAULTLIB:"libc"
+}
+
+QMAKE_LIBS += $$QMAKE_LIBS_RTMT
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/thread_off.prf b/zouba/qt4-maemo5/mkspecs/features/win32/thread_off.prf
new file mode 100644 (file)
index 0000000..436a2c8
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG -= thread
+QMAKE_LIBS += $$QMAKE_LIBS_RT
diff --git a/zouba/qt4-maemo5/mkspecs/features/win32/windows.prf b/zouba/qt4-maemo5/mkspecs/features/win32/windows.prf
new file mode 100644 (file)
index 0000000..cf81388
--- /dev/null
@@ -0,0 +1,15 @@
+CONFIG -= console
+contains(TEMPLATE, ".*app"){
+    QMAKE_LFLAGS += $$QMAKE_LFLAGS_WINDOWS
+    win32-g++:DEFINES += QT_NEEDS_QMAIN
+    win32-borland:DEFINES += QT_NEEDS_QMAIN
+
+    qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) {
+        isEqual(entryLib, -lqtmain): {
+            CONFIG(debug, debug|release): QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}d
+            else: QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}
+        } else {
+            QMAKE_LIBS += $${entryLib}
+        }
+    }
+}
diff --git a/zouba/qt4-maemo5/mkspecs/features/yacc.prf b/zouba/qt4-maemo5/mkspecs/features/yacc.prf
new file mode 100644 (file)
index 0000000..c078e09
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# Yacc extra-compiler for handling files specified in the YACCSOURCES variable
+#
+
+{
+    yacc_decl.name = Yacc header
+    yacc_decl.input = YACCSOURCES
+    yacc_decl.variable_out = GENERATED_FILES
+
+
+    isEmpty(QMAKE_YACCFLAGS_MANGLE) {
+        QMAKE_YACCFLAGS_MANGLE = -p ${QMAKE_FILE_BASE}
+        QMAKE_YACC_HEADER      = y.tab.h
+        QMAKE_YACC_SOURCE      = y.tab.c
+    } else {
+        QMAKE_YACCFLAGS_MANGLE ~= s/\\$base/${QMAKE_FILE_BASE}/g #backwards compat
+        QMAKE_YACC_HEADER      ~= s/\\$base/${QMAKE_FILE_BASE}/g
+        QMAKE_YACC_SOURCE      ~= s/\\$base/${QMAKE_FILE_BASE}/g
+    }
+    QMAKE_YACCDECLFLAGS = $$QMAKE_YACCFLAGS
+    !yacc_no_name_mangle:QMAKE_YACCDECLFLAGS += $$QMAKE_YACCFLAGS_MANGLE
+
+    yacc_decl.commands = \
+        $$QMAKE_YACC $$QMAKE_YACCDECLFLAGS ${QMAKE_FILE_IN}$$escape_expand(\n\t) \
+        $$QMAKE_DEL_FILE $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_yacc$${first(QMAKE_EXT_H)} $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_yacc$${first(QMAKE_EXT_CPP)}$$escape_expand(\n\t) \
+        $$QMAKE_MOVE $${QMAKE_YACC_HEADER} $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_yacc$${first(QMAKE_EXT_H)}$$escape_expand(\n\t) \
+        $$QMAKE_MOVE $${QMAKE_YACC_SOURCE} $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_yacc$${first(QMAKE_EXT_CPP)}$$escape_expand(\n\t)
+    yacc_decl.output = $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_yacc$${first(QMAKE_EXT_H)}
+
+    silent:yacc_decl.commands = @echo Yacc ${QMAKE_FILE_IN} && $$yacc_decl.commands
+    QMAKE_EXTRA_COMPILERS += yacc_decl
+}
+
+{
+    yacc_impl.name = source for ${QMAKE_FILE_IN}
+    yacc_impl.input = YACCSOURCES
+    yacc_impl.variable_out = GENERATED_SOURCES
+    yacc_impl.commands = $$escape_expand(\n)        # We don't want any commands where, but if command is empty no rules are created
+    yacc_impl.depends = $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_yacc$${first(QMAKE_EXT_H)}    # Make sure we depend on the step above
+    yacc_impl.output = $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_yacc$${first(QMAKE_EXT_CPP)}   # Faked output from this step, output really created in step above
+    QMAKE_EXTRA_COMPILERS += yacc_impl
+}
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/freebsd-g++/qmake.conf
new file mode 100644 (file)
index 0000000..acd2a6a
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# qmake configuration for freebsd-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CFLAGS_THREAD    = -pthread -D_THREAD_SAFE
+
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+# Addon software goes into /usr/local on the BSDs, by default we will look there
+QMAKE_INCDIR           = /usr/local/include
+QMAKE_LIBDIR           = /usr/local/lib
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LFLAGS_THREAD    = -pthread
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/g++.conf)
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/freebsd-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b5d1b2f
--- /dev/null
@@ -0,0 +1,147 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if !defined(__DragonFly__) && (__FreeBSD_version < 400000)
+// FreeBSD 1.0 - 3.5.1
+#  define QT_SOCKLEN_T         int
+#else
+// FreeBSD 4.0 and better
+#  define QT_SOCKLEN_T         socklen_t
+#endif
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+// Older FreeBSD versions may still use the a.out format instead of ELF.
+// From the FreeBSD man pages:
+//     In previous implementations, it was necessary to prepend an
+//     underscore to all external symbols in order to gain symbol
+//     compatibility with object code compiled from the C language.
+//     This is still the case when using the (obsolete) -aout option to
+//     the C language compiler.
+#ifndef __ELF__
+#define QT_AOUT_UNDERSCORE
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-g++34/qmake.conf b/zouba/qt4-maemo5/mkspecs/freebsd-g++34/qmake.conf
new file mode 100644 (file)
index 0000000..9627b46
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# qmake configuration for freebsd-g++34 (using g++34 from ports/lang/gcc34)
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc34
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -pthread -D_THREAD_SAFE
+
+QMAKE_CXX              = g++34
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+# Addon software goes into /usr/local on the BSDs, by default we will look there
+QMAKE_INCDIR           = /usr/local/include
+QMAKE_LIBDIR           = /usr/local/lib
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++34
+QMAKE_LINK_SHLIB       = g++34
+QMAKE_LINK_C           = gcc34
+QMAKE_LINK_C_SHLIB     = gcc34
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    = -pthread
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-g++34/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/freebsd-g++34/qplatformdefs.h
new file mode 100644 (file)
index 0000000..07f6c15
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../freebsd-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-g++40/qmake.conf b/zouba/qt4-maemo5/mkspecs/freebsd-g++40/qmake.conf
new file mode 100644 (file)
index 0000000..e3a3c86
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# qmake configuration for freebsd-g++40 (using g++40 from ports/lang/gcc40)
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc40
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -pthread -D_THREAD_SAFE
+
+QMAKE_CXX              = g++40
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+# Addon software goes into /usr/local on the BSDs, by default we will look there
+QMAKE_INCDIR           = /usr/local/include
+QMAKE_LIBDIR           = /usr/local/lib
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++40
+QMAKE_LINK_SHLIB       = g++40
+QMAKE_LINK_C           = gcc40
+QMAKE_LINK_C_SHLIB     = gcc40
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    = -pthread
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-g++40/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/freebsd-g++40/qplatformdefs.h
new file mode 100644 (file)
index 0000000..07f6c15
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../freebsd-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-icc/qmake.conf b/zouba/qt4-maemo5/mkspecs/freebsd-icc/qmake.conf
new file mode 100644 (file)
index 0000000..60fa7ee
--- /dev/null
@@ -0,0 +1,109 @@
+#
+# qmake configuration for freebsd-icc
+#
+# Written for Intel C++ 7.1 and 8.0 on FreeBSD
+#
+# Note: Some of the remarks from the Intel compiler are disabled (even
+# with 'warn_on' specified):
+#
+# remark #171: invalid type conversion: "int" to "void *"
+# remark #193: zero used for undefined preprocessing identifier
+# remark #279: controlling expression is constant
+# remark #304: access control not specified ("public" by default)
+# remark #310: old-style parameter list (anachronism)
+# remark #383: value copied to temporary, reference to temporary used
+# remark #424: extra ";" ignored
+# remark #444: destructor for base class "Class" is not virtual
+# remark #488: template parameter "T" is not used in declaring the parameter
+#              types of function template "function"
+# remark #810: conversion from "type1" to "type2" may loose significant bits
+# remark #858: type qualifier on return type is meaningless
+# remark #967: conversion from "type1" to "type2"; sizes do not match
+# remark #981: operands are evaluated in unspecified order
+# remark #1418: external definition with no prior declaration
+# remark #1419: external declaration in primary source file
+# warning #1476: field uses tail padding of a base class
+# warning #1477: GNU C++ compilers may use bit field padding
+# warning #1572: floating-point equality and inequality comparisons are unreliable
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = icc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -wd858,1572
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -w2 -wd171,193,279,304,310,383,424,444,488,810,967,981,1418,1419,1476,1477
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   =
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fpic
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_THREAD_SAFE
+
+QMAKE_CXX              = icpc
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+# Addon software goes into /usr/local on the BSDs, by default we will look there
+QMAKE_INCDIR           = /usr/local/include
+QMAKE_LIBDIR           = /usr/local/lib
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = icpc
+QMAKE_LINK_SHLIB       = icpc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Qoption,ld,-soname,
+QMAKE_LFLAGS_THREAD    = -mt
+QMAKE_RPATH            = -Qoption,ld,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/freebsd-icc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/freebsd-icc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..07f6c15
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../freebsd-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-acc-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpux-acc-64/qmake.conf
new file mode 100644 (file)
index 0000000..8757459
--- /dev/null
@@ -0,0 +1,130 @@
+#
+# qmake configuration for hpux-n64
+#
+# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
+# we also need to redefine _HPUX_SOURCE.
+# From pthread(3t):
+#      Some documentation will recommend the use of -D_REENTRANT for
+#      compilation.  While this also functions properly, it is considered
+#      an obsolescent form.
+# See pthread(3t) for more details.
+#
+# From the "HP aC++ Online Programmer's Guide":
+#      When +DA2.0W is specified:
+#      * 64-bit SVR4 Executable and Linking Format (ELF) object files
+#        are generated for PA-RISC 2.0.
+#      * The preprocessor predefined macro, __LP64__ is defined.
+#      * The correct path for 64-bit system and language libraries is
+#        selected.
+#      When +DD32 is specified:
+#      * The size of an int, long, or pointer data type is 32-bits.
+#        The size of an int data type is 32-bits. The size of a long or
+#        pointer data type is 64-bits.
+#      * This is the default, currently equivalent to +DA1.1 architecture.
+#      When +DD64 is specified:
+#      * The size of an int data type is 32-bits. The size of a long or
+#        pointer data type is 64-bits.
+#      * This is currently equivalent to +DA2.OW architecture.
+#      * The preprocessor predefined macro, __LP64__ is defined.
+#      Using +DS to Specify Instruction Scheduling:
+#      * By default, the compiler performs scheduling tuned for the system
+#        on which you are compiling, or, if specified, tuned for the setting
+#        of the +DA option.
+#
+# From the online "C/HP-UX Reference Manual":
+#      -Aa
+#        Enables strict ANSI C compliance.
+#      -Ae
+#        Enables ANSI C compliance, HP value-added features (as described
+#        for +e option), and _HPUX_SOURCE name space macro. It is equivalent
+#        to -Aa +e -D_HPUX_SOURCE.
+#      +e
+#        Enables the following HP value added features while compiling in
+#        ANSI C mode: sized enum, long long, long pointers, compiler supplied
+#        defaults for missing arguments to intrinsic calls, and $ in identifier
+#        HP C extensions.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+QMAKE_COMPILER_DEFINES  += __hpux __HP_aCC
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -Ae +DA2.0W -w
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = +O1
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = +Z
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt
+
+QMAKE_CXX              = aCC
+QMAKE_CXXFLAGS         = -AA +DA2.0W -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
+QMAKE_CXXFLAGS_DEPS    = +M
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L -mt
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/include/X11R6
+QMAKE_LIBDIR_X11       = /usr/lib/X11R6/pa20_64
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/graphics/OpenGL/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64
+
+QMAKE_LINK             = aCC
+QMAKE_LINK_SHLIB       = aCC
+QMAKE_LFLAGS           = -AA +DA2.0W -Wl,+s
+QMAKE_LFLAGS_RELEASE   = -O
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -b -Wl,-a,shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_RPATH            = -Wl,+b,
+QMAKE_HPUX_SHLIB       = 3
+QMAKE_EXTENSION_SHLIB  = sl
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lXt
+QMAKE_LIBS_OPENGL_QT   = -lGL -lXt
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-acc-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpux-acc-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..50da616
--- /dev/null
@@ -0,0 +1,151 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#include <pthread.h>
+#include <sys/pstat.h>
+#define _REENTRANT
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-acc-o64/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpux-acc-o64/qmake.conf
new file mode 100644 (file)
index 0000000..d4d2c7d
--- /dev/null
@@ -0,0 +1,128 @@
+#
+# qmake configuration for hpux-o64
+#
+# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
+# we also need to redefine _HPUX_SOURCE.
+# From pthread(3t):
+#      Some documentation will recommend the use of -D_REENTRANT for
+#      compilation.  While this also functions properly, it is considered
+#      an obsolescent form.
+# See pthread(3t) for more details.
+#
+# From the "HP aC++ Online Programmer's Guide":
+#      When +DA2.0W is specified:
+#      * 64-bit SVR4 Executable and Linking Format (ELF) object files
+#        are generated for PA-RISC 2.0. 
+#      * The preprocessor predefined macro, __LP64__ is defined. 
+#      * The correct path for 64-bit system and language libraries is
+#        selected.
+#      When +DD32 is specified:
+#      * The size of an int, long, or pointer data type is 32-bits. 
+#        The size of an int data type is 32-bits. The size of a long or
+#        pointer data type is 64-bits.
+#      * This is the default, currently equivalent to +DA1.1 architecture.
+#      When +DD64 is specified:
+#      * The size of an int data type is 32-bits. The size of a long or
+#        pointer data type is 64-bits.
+#      * This is currently equivalent to +DA2.OW architecture.
+#      * The preprocessor predefined macro, __LP64__ is defined.
+#      Using +DS to Specify Instruction Scheduling:
+#      * By default, the compiler performs scheduling tuned for the system
+#        on which you are compiling, or, if specified, tuned for the setting
+#        of the +DA option.
+#
+# From the online "C/HP-UX Reference Manual":
+#      -Aa
+#        Enables strict ANSI C compliance.
+#      -Ae
+#        Enables ANSI C compliance, HP value-added features (as described
+#        for +e option), and _HPUX_SOURCE name space macro. It is equivalent
+#        to -Aa +e -D_HPUX_SOURCE.
+#      +e
+#        Enables the following HP value added features while compiling in
+#        ANSI C mode: sized enum, long long, long pointers, compiler supplied
+#        defaults for missing arguments to intrinsic calls, and $ in identifier
+#        HP C extensions.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -Ae +DA2.0 -w
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O +Oentrysched +Onolimit
+QMAKE_CFLAGS_DEBUG     = -y -g
+QMAKE_CFLAGS_SHLIB     = +Z
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
+
+QMAKE_CXX              = aCC
+QMAKE_CXXFLAGS         = +DA2.0 -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = -g
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/include/X11R6
+QMAKE_LIBDIR_X11       = /usr/lib/X11R6
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
+
+QMAKE_LINK             = aCC
+QMAKE_LINK_SHLIB       = aCC
+QMAKE_LFLAGS           = +DA2.0 -Wl,+s
+QMAKE_LFLAGS_RELEASE   = -O
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -b
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_RPATH            = -Wl,+b,
+QMAKE_HPUX_SHLIB       = 2
+QMAKE_EXTENSION_SHLIB  = sl
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     = -ldld
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-acc-o64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpux-acc-o64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..1aee3f9
--- /dev/null
@@ -0,0 +1,152 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dl.h>
+#define QT_HPUX_LD
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-acc/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpux-acc/qmake.conf
new file mode 100644 (file)
index 0000000..19ee00f
--- /dev/null
@@ -0,0 +1,109 @@
+#
+# qmake configuration for hpux-acc
+#
+# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
+# we also need to redefine _HPUX_SOURCE. See pthread(3t) for more details.
+#
+# From the "HP aC++ Online Programmer's Guide":
+#      Using +DS to Specify Instruction Scheduling:
+#      * By default, the compiler performs scheduling tuned for the system
+#        on which you are compiling, or, if specified, tuned for the setting
+#        of the +DA option.
+#
+# From the online "C/HP-UX Reference Manual":
+#      -Aa
+#        Enables strict ANSI C compliance.
+#      -Ae
+#        Enables ANSI C compliance, HP value-added features (as described
+#        for +e option), and _HPUX_SOURCE name space macro. It is equivalent
+#        to -Aa +e -D_HPUX_SOURCE.
+#      +e
+#        Enables the following HP value added features while compiling in
+#        ANSI C mode: sized enum, long long, long pointers, compiler supplied
+#        defaults for missing arguments to intrinsic calls, and $ in identifier
+#        HP C extensions.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+QMAKE_COMPILER_DEFINES  += __hpux __HP_aCC
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -Ae +DAportable -w
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = +O1
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = +Z
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt
+
+QMAKE_CXX              = aCC
+QMAKE_CXXFLAGS         = -AA +DAportable -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
+QMAKE_CXXFLAGS_DEPS    = +M
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L -mt
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/include/X11R6
+QMAKE_LIBDIR_X11       = /usr/lib/X11R6
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
+
+QMAKE_LINK             = aCC
+QMAKE_LINK_SHLIB       = aCC
+QMAKE_LFLAGS           = -AA +DAportable -Wl,+s
+QMAKE_LFLAGS_RELEASE   = -O
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -b -Wl,-a,shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_RPATH            = -Wl,+b,
+QMAKE_HPUX_SHLIB       = 1
+QMAKE_EXTENSION_SHLIB  = sl
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     = -ldld
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lXt
+QMAKE_LIBS_OPENGL_QT   = -lGL -lXt
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-acc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpux-acc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..475c85a
--- /dev/null
@@ -0,0 +1,160 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <sys/pstat.h>
+#define _REENTRANT
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dl.h>
+#define QT_HPUX_LD
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
+#if !defined(_XOPEN_UNIX)
+// HP-UX 9's select() didn't accept fd_set, yet.
+#define select(a,b,c,d,e) select((a), (int *)(b), (int *)(c), (int *)(d), (e))
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-g++-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpux-g++-64/qmake.conf
new file mode 100644 (file)
index 0000000..f76bd4e
--- /dev/null
@@ -0,0 +1,92 @@
+#
+# qmake configuration for hpux-g++-64
+#
+# We define _POSIX_C_SOURCE to 199506L when using threads,
+# therefore we also need to redefine _HPUX_SOURCE.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = 
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -D_HPUX_SOURCE
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           = /usr/lib/pa20_64
+QMAKE_INCDIR_X11       = /usr/include/X11R6
+QMAKE_LIBDIR_X11       = /usr/lib/X11R6/pa20_64
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/Mesa/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/Mesa/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           = -Wl,+s -lpthread
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -fPIC -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_RPATH            = -Wl,+b,
+QMAKE_HPUX_SHLIB       = 3
+QMAKE_EXTENSION_SHLIB  = sl
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     = -ldld
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-g++-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpux-g++-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..6082632
--- /dev/null
@@ -0,0 +1,151 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#define _REENTRANT
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           socklen_t
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpux-g++/qmake.conf
new file mode 100644 (file)
index 0000000..1ed2ee6
--- /dev/null
@@ -0,0 +1,92 @@
+#
+# qmake configuration for hpux-g++
+#
+# We define _POSIX_C_SOURCE to 199506L when using threads,
+# therefore we also need to redefine _HPUX_SOURCE.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl plugin_no_soname
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -D_HPUX_SOURCE -DGLU_VERSION_1_2
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       = /usr/lib/X11R6
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/Mesa/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/Mesa/lib /usr/contrib/X11R6/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           = -Wl,+s
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -fPIC -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_RPATH            = -Wl,+b,
+QMAKE_HPUX_SHLIB       = 1
+QMAKE_EXTENSION_SHLIB  = sl
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldld
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpux-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpux-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..161474e
--- /dev/null
@@ -0,0 +1,159 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#define _REENTRANT // otherwise we don't get readdir_r, etc.
+#include <sys/pstat.h>
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dl.h>
+#define QT_HPUX_LD
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
+#if !defined(_XOPEN_UNIX)
+// HP-UX 9's select() didn't accept fd_set, yet.
+#define select(a,b,c,d,e) select((a), (int *)(b), (int *)(c), (int *)(d), (e))
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hpuxi-acc-32/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpuxi-acc-32/qmake.conf
new file mode 100644 (file)
index 0000000..00b400f
--- /dev/null
@@ -0,0 +1,84 @@
+#
+# qmake configuration for hpuxi-acc-32
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release plugin_no_soname
+QT                     += core gui
+
+QMAKE_CC               = cc
+QMAKE_LEX              = lex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = +DSitanium -w
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = +O1
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = +Z
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_REENTRANT -mt
+
+QMAKE_CXX              = aCC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -D__STRICT_ANSI__ -D_HPUX_SOURCE
+QMAKE_CXXFLAGS_DEPS    = +M
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L -D_REENTRANT -mt
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/include/X11R6
+QMAKE_LIBDIR_X11       = /usr/lib/hpux32/X11R6
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/graphics/OpenGL/lib/hpux32 /usr/contrib/X11R6/lib/hpux32
+
+QMAKE_LINK             = aCC
+QMAKE_LINK_SHLIB       = aCC
+QMAKE_LFLAGS           = +DSitanium -Wl,+s
+QMAKE_LFLAGS_RELEASE   = -O
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -b -Wl,-a,shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            =
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lXt
+QMAKE_LIBS_OPENGL_QT   = -lGL -lXt
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpuxi-acc-32/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpuxi-acc-32/qplatformdefs.h
new file mode 100644 (file)
index 0000000..04ce3cd
--- /dev/null
@@ -0,0 +1,151 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#define _INCLUDE_LONGLONG
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#define _REENTRANT
+#include <pthread.h>
+#include <sys/pstat.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dl.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hpuxi-acc-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpuxi-acc-64/qmake.conf
new file mode 100644 (file)
index 0000000..feefd30
--- /dev/null
@@ -0,0 +1,127 @@
+#
+# qmake configuration for hpuxi-acc-64
+#
+# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
+# we also need to redefine _HPUX_SOURCE.
+# From pthread(3t):
+#      Some documentation will recommend the use of -D_REENTRANT for
+#      compilation.  While this also functions properly, it is considered
+#      an obsolescent form.
+# See pthread(3t) for more details.
+#
+# From the "HP aC++ Online Programmer's Guide":
+#      When +DA2.0W is specified:
+#      * 64-bit SVR4 Executable and Linking Format (ELF) object files
+#        are generated for PA-RISC 2.0. 
+#      * The preprocessor predefined macro, __LP64__ is defined. 
+#      * The correct path for 64-bit system and language libraries is
+#        selected.
+#      When +DD32 is specified:
+#      * The size of an int, long, or pointer data type is 32-bits. 
+#        The size of an int data type is 32-bits. The size of a long or
+#        pointer data type is 64-bits.
+#      * This is the default, currently equivalent to +DA1.1 architecture.
+#      When +DD64 is specified:
+#      * The size of an int data type is 32-bits. The size of a long or
+#        pointer data type is 64-bits.
+#      * This is currently equivalent to +DA2.OW architecture.
+#      * The preprocessor predefined macro, __LP64__ is defined.
+#      Using +DS to Specify Instruction Scheduling:
+#      * By default, the compiler performs scheduling tuned for the system
+#        on which you are compiling, or, if specified, tuned for the setting
+#        of the +DA option.
+#
+# From the online "C/HP-UX Reference Manual":
+#      -Aa
+#        Enables strict ANSI C compliance.
+#      -Ae
+#        Enables ANSI C compliance, HP value-added features (as described
+#        for +e option), and _HPUX_SOURCE name space macro. It is equivalent
+#        to -Aa +e -D_HPUX_SOURCE.
+#      +e
+#        Enables the following HP value added features while compiling in
+#        ANSI C mode: sized enum, long long, long pointers, compiler supplied
+#        defaults for missing arguments to intrinsic calls, and $ in identifier
+#        HP C extensions.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release plugin_no_soname
+QT                     += core gui
+
+QMAKE_CC               = cc
+QMAKE_LEX              = lex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = +DD64 +DSitanium -w
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = +O1
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = +Z
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_REENTRANT -mt
+
+QMAKE_CXX              = aCC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -D__STRICT_ANSI__ -D_HPUX_SOURCE
+QMAKE_CXXFLAGS_DEPS    = +M
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L -D_REENTRANT -mt
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/include/X11R6
+QMAKE_LIBDIR_X11       = /usr/lib/hpux64/X11R6
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/graphics/OpenGL/lib/hpux64 /usr/contrib/X11R6/lib/hpux64
+
+QMAKE_LINK             = aCC
+QMAKE_LINK_SHLIB       = aCC
+QMAKE_LFLAGS           = +DD64 +DSitanium -Wl,+s
+QMAKE_LFLAGS_RELEASE   = -O
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -b -Wl,-a,shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_RPATH            =
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lXt
+QMAKE_LIBS_OPENGL_QT   = -lGL -lXt
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpuxi-acc-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpuxi-acc-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..04ce3cd
--- /dev/null
@@ -0,0 +1,151 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#define _INCLUDE_LONGLONG
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#define _REENTRANT
+#include <pthread.h>
+#include <sys/pstat.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dl.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hpuxi-g++-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/hpuxi-g++-64/qmake.conf
new file mode 100644 (file)
index 0000000..e8fa053
--- /dev/null
@@ -0,0 +1,95 @@
+#
+# qmake configuration for hpuxi-g++-64
+#
+# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
+# we also need to redefine _HPUX_SOURCE.
+# From pthread(3t):
+#      Some documentation will recommend the use of -D_REENTRANT for
+#      compilation.  While this also functions properly, it is considered
+#      an obsolescent form.
+# See pthread(3t) for more details.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -mlp64
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -D_HPUX_SOURCE
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = -D_POSIX_C_SOURCE=199506L
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           = /usr/lib/hpux64
+QMAKE_INCDIR_X11       = /usr/include/X11R6
+QMAKE_LIBDIR_X11       = /usr/lib/hpux64/X11R6
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/graphics/OpenGL/lib/hpux64 /usr/contrib/X11R6/lib/hpux64
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           = -mlp64 -Wl,+s
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -fPIC -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,+h,
+QMAKE_LFLAGS_THREAD    = -lpthread
+QMAKE_LFLAGS_NOUNDEF   = -Wl,+noallowunsats
+QMAKE_RPATH            = -Wl,+b,
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+QMAKE_LIBS_YACC                = -ly
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hpuxi-g++-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hpuxi-g++-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ba62e24
--- /dev/null
@@ -0,0 +1,150 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#define _REENTRANT
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/hurd-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/hurd-g++/qmake.conf
new file mode 100644 (file)
index 0000000..f213f2d
--- /dev/null
@@ -0,0 +1,89 @@
+#
+# qmake configuration for hurd-g++
+#
+# Submitted by uch@nop.or.jp as "gnu-g++".
+# Renamed to "hurd-g++" because people were confusing GNU/Hurd with GNU/Linux.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+QT                     += core gui
+CONFIG                 += qt warn_on release link_prl
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CXXFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           = -Wl,-rpath=/lib:/usr/X11R6/lib:$$[QT_INSTALL_LIBS]
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+
+QMAKE_LIBS             = -lpthread # This is tricky but needed
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+QMAKE_LIBS_QT_THREAD   = -lqt-mt
+QMAKE_LIBS_THREAD      =
+
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/hurd-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/hurd-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..68ee2d8
--- /dev/null
@@ -0,0 +1,138 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           socklen_t
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/irix-cc-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/irix-cc-64/qmake.conf
new file mode 100644 (file)
index 0000000..bf5febb
--- /dev/null
@@ -0,0 +1,119 @@
+#
+# qmake configuration for irix-cc-64
+#
+# From cc(1):
+#      -64
+#        Generates a 64-bit object. This defaults to -mips4 if -mips3 has
+#        not been specified.
+#      -LANG: ...
+#        The language feature option group controls the source language
+#        interpretation assumed by the compiler. The individual controls
+#        in this group are as follows:
+#          ansi-for-init-scope [ = ( ON|OFF ) ]
+#            Enables or disables the ANSI scoping rules for for-init
+#            declarations (the scope of the name declared extends to
+#            the end of the for statement). This enables the behavior
+#            that is required by the C++ standard. The default value
+#            is OFF, which is the ARM behavior (the scope of the name
+#            declared extends to the end of the block enclosing the for
+#            statement).
+#          bool [ = ( ON|OFF ) ]
+#            Enables or disables the predefined bool data type, along
+#            with the predefined values true and false. Use this option
+#            only to suppress this type in old code that defines bool
+#            itself.  Because this option changes the mangling of function
+#            names with bool parameters, all files comprising a program
+#            should be compiled with consistent options.
+#            Default is ON.
+#            The _BOOL feature macro can be used in #ifdefs to do conditional
+#            compilation based on whether or not this option is enabled.
+#          std
+#            Enables use of the standard C++ library and standard-
+#            conforming iostream library.  Specifying this flag also
+#            triggers other standard-conforming behavior, such as the
+#            new rules for the scope of for loop initializers.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+QMAKE_COMPILER_DEFINES  += __sgi __EDG
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -64 -signed -woff 1209,1355,1375,1424,3303
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -fullwarn
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O2 -OPT:Olimit=3000
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -woff 1110,1174,3262
+QMAKE_CFLAGS_THREAD    =
+
+QMAKE_CXX              = CC
+QMAKE_CXXFLAGS         = -64 -signed -LANG:std:libc_in_namespace_std=ON -woff 1209,1355,1375,1424,3303
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  =
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = CC
+QMAKE_LINK_SHLIB       = CC
+QMAKE_LFLAGS           = -64
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,-no_unresolved
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lm
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = CC -ar -o
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/irix-cc-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/irix-cc-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..f1078df
--- /dev/null
@@ -0,0 +1,160 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
+#define QT_SOCKLEN_T           size_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+// Irix 6.5 and better
+#if defined(_SGIAPI)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/irix-cc/qmake.conf b/zouba/qt4-maemo5/mkspecs/irix-cc/qmake.conf
new file mode 100644 (file)
index 0000000..99e8064
--- /dev/null
@@ -0,0 +1,119 @@
+#
+# qmake configuration for irix-cc
+#
+# From cc(1):
+#      -n32
+#        Generates a (new) 32-bit object. This defaults to -mips3 if
+#        -mips4 has not been specified.
+#      -LANG: ...
+#        The language feature option group controls the source language
+#        interpretation assumed by the compiler. The individual controls
+#        in this group are as follows:
+#          ansi-for-init-scope [ = ( ON|OFF ) ]
+#            Enables or disables the ANSI scoping rules for for-init
+#            declarations (the scope of the name declared extends to
+#            the end of the for statement). This enables the behavior
+#            that is required by the C++ standard. The default value
+#            is OFF, which is the ARM behavior (the scope of the name
+#            declared extends to the end of the block enclosing the for
+#            statement).
+#          bool [ = ( ON|OFF ) ]
+#            Enables or disables the predefined bool data type, along
+#            with the predefined values true and false. Use this option
+#            only to suppress this type in old code that defines bool
+#            itself.  Because this option changes the mangling of function
+#            names with bool parameters, all files comprising a program
+#            should be compiled with consistent options.
+#            Default is ON.
+#            The _BOOL feature macro can be used in #ifdefs to do conditional
+#            compilation based on whether or not this option is enabled.
+#          std
+#            Enables use of the standard C++ library and standard-
+#            conforming iostream library.  Specifying this flag also
+#            triggers other standard-conforming behavior, such as the
+#            new rules for the scope of for loop initializers.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+QMAKE_COMPILER_DEFINES  += __sgi __EDG
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -n32 -signed -woff 1209,1355,1375,1424,3303
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -fullwarn
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O2 -OPT:Olimit=3000
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -woff 1110,1174,3262
+QMAKE_CFLAGS_THREAD    =
+
+QMAKE_CXX              = CC
+QMAKE_CXXFLAGS         = -n32 -signed -LANG:std:libc_in_namespace_std=ON -woff 1209,1355,1375,1424,3303
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  =
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = CC
+QMAKE_LINK_SHLIB       = CC
+QMAKE_LFLAGS           = -n32
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,-no_unresolved
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lm
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = CC -ar -o
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/irix-cc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/irix-cc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..f1078df
--- /dev/null
@@ -0,0 +1,160 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
+#define QT_SOCKLEN_T           size_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+// Irix 6.5 and better
+#if defined(_SGIAPI)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/irix-g++-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/irix-g++-64/qmake.conf
new file mode 100644 (file)
index 0000000..d614b9d
--- /dev/null
@@ -0,0 +1,92 @@
+#
+# qmake configuration for irix-g++-64
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+QMAKE_COMPILER_DEFINES  += __sgi __GNUC__
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -mabi=64
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    =
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  =
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           = -mabi=64
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared -Wl,-LD_LAYOUT:lgot_buffer=1000
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,-no_unresolved
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             = -lC
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+# libGLU is using the SGI C++ library internally and this somehow clashes
+# with the GNU C++ library (similar name mangling and symbol names?)
+# so we add -lC so that the SGI C++ library is used first...
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = so_locations
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/irix-g++-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/irix-g++-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..2188560
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../irix-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/irix-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/irix-g++/qmake.conf
new file mode 100644 (file)
index 0000000..1f1df30
--- /dev/null
@@ -0,0 +1,92 @@
+#
+# qmake configuration for irix-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+QMAKE_COMPILER_DEFINES  += __sgi __GNUC__
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    =
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  =
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared -Wl,-LD_LAYOUT:lgot_buffer=1000
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -Wl,-no_unresolved
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             = -lC
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+# libGLU is using the SGI C++ library internally and this somehow clashes
+# with the GNU C++ library (similar name mangling and symbol names?)
+# so we add -lC so that the SGI C++ library is used first...
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = so_locations
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/irix-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/irix-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..49d0bfb
--- /dev/null
@@ -0,0 +1,165 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#if defined(_LANGUAGE_C_PLUS_PLUS) || !defined(_SGIAPI)
+#define QT_SIGNAL_ARGS         int
+#else
+#define QT_SIGNAL_ARGS         void
+#endif
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
+#define QT_SOCKLEN_T           size_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+// Irix 6.5 and better
+#if defined(_SGIAPI)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
+
diff --git a/zouba/qt4-maemo5/mkspecs/linux-cxx/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-cxx/qmake.conf
new file mode 100644 (file)
index 0000000..633b738
--- /dev/null
@@ -0,0 +1,81 @@
+#
+# qmake configuration for linux-cxx
+#
+# Written for Compaq C++ for GNU/Linux on Alpha
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = ccc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -w
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Olimit 1000
+
+QMAKE_CXX              = cxx
+QMAKE_CXXFLAGS         = -w
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = cxx
+QMAKE_LINK_SHLIB       = cxx
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-cxx/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-cxx/qplatformdefs.h
new file mode 100644 (file)
index 0000000..11b5ac0
--- /dev/null
@@ -0,0 +1,166 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/linux-ecc-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-ecc-64/qmake.conf
new file mode 100644 (file)
index 0000000..359d44b
--- /dev/null
@@ -0,0 +1,88 @@
+#
+# qmake configuration for linux-ecc-64
+#
+# Written for Intel C++ 7.1 and 8.0 for Linux
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = ecc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -KPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = ecpc
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = ecpc
+QMAKE_LINK_SHLIB       = ecpc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Qoption,ld,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -Qoption,ld,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)/ti_files
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-ecc-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-ecc-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..11b5ac0
--- /dev/null
@@ -0,0 +1,166 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-32/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-g++-32/qmake.conf
new file mode 100644 (file)
index 0000000..44866cf
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# qmake configuration for linux-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CFLAGS           = -m32
+QMAKE_LFLAGS           = -m32
+
+include(../common/g++.conf)
+include(../common/linux.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-32/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-g++-32/qplatformdefs.h
new file mode 100644 (file)
index 0000000..7e8d1d4
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-g++-64/qmake.conf
new file mode 100644 (file)
index 0000000..4f8794f
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# qmake configuration for linux-g++
+#
+# Written for GNU/Linux platforms that have both lib and lib64 directories,
+# like the AMD Opteron.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CFLAGS           = -m64
+QMAKE_LFLAGS           = -m64
+
+include(../common/g++.conf)
+include(../common/linux.conf)
+
+QMAKE_LIBDIR_X11      = /usr/X11R6/lib64
+QMAKE_LIBDIR_OPENGL   = /usr/X11R6/lib64
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-g++-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..7e8d1d4
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-maemo/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-g++-maemo/qmake.conf
new file mode 100644 (file)
index 0000000..38c26a6
--- /dev/null
@@ -0,0 +1,35 @@
+#
+# qmake configuration for Maemo 5 & 6
+#
+
+MAKEFILE_GENERATOR      = UNIX
+TEMPLATE                = app
+CONFIG                 += qt warn_on release incremental link_prl
+CONFIG                 += nostrip
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/g++.conf)
+include(../common/linux.conf)
+
+# Work round scratchbox not having standard paths in it's default search path
+QMAKE_LFLAGS    += -Wl,-rpath-link=/lib
+QMAKE_LFLAGS    += -Wl,-rpath-link=/usr/lib
+
+# Override the default lib/include directories for scratchbox:
+QMAKE_INCDIR_X11      = /usr/include/X11
+QMAKE_INCDIR_OPENGL   = /usr/include
+QMAKE_LIBDIR_X11      = /usr/lib
+QMAKE_LIBDIR_OPENGL   = /usr/lib
+
+# We still need to generate debug symbols in release mode to put into the *-dbg packages:
+QMAKE_CFLAGS_RELEASE    += -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
+QMAKE_CXXFLAGS_RELEASE  += -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
+
+# Work round PowerVR SGX 1.3 driver bug with glScissor & FBOs:
+DEFINES += QT_GL_NO_SCISSOR_TEST
+
+# Work round SGX 1.4 driver bug (text corrupted), modify glyph cache width:
+DEFINES += QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-maemo/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-g++-maemo/qplatformdefs.h
new file mode 100644 (file)
index 0000000..7e8d1d4
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf
new file mode 100644 (file)
index 0000000..8fd34b9
--- /dev/null
@@ -0,0 +1,63 @@
+#
+# qmake configuration for linux-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC                = gcc
+QMAKE_CFLAGS            += -pipe
+QMAKE_CFLAGS_DEPS       += -M
+QMAKE_CFLAGS_WARN_ON    += -Wall -W
+QMAKE_CFLAGS_WARN_OFF   += -w
+QMAKE_CFLAGS_RELEASE    += -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls
+QMAKE_CFLAGS_DEBUG      += -g
+QMAKE_CFLAGS_SHLIB      += -fPIC
+QMAKE_CFLAGS_STATIC_LIB += -fPIC
+QMAKE_CFLAGS_YACC       += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CXX               = g++
+QMAKE_CXXFLAGS          += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS     += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON  += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE  += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG    += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB    += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC     += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK              = g++
+QMAKE_LINK_SHLIB        = g++
+QMAKE_LINK_C            = gcc
+QMAKE_LINK_C_SHLIB      = gcc
+QMAKE_LFLAGS            += -Wl,-rpath-link,/usr/lib
+QMAKE_LFLAGS_RELEASE    += -Wl,-O1 -Wl,--hash-style=gnu
+QMAKE_LFLAGS_DEBUG      +=
+QMAKE_LFLAGS_APP        +=
+QMAKE_LFLAGS_SHLIB      += -shared
+QMAKE_LFLAGS_PLUGIN     += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME     += -Wl,-soname,
+QMAKE_LFLAGS_THREAD     +=
+QMAKE_LFLAGS_NOUNDEF    += -Wl,--no-undefined
+QMAKE_RPATH             = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
+
+DEFINES += QT_GL_NO_SCISSOR_TEST QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024
+
+include(../common/linux.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++-maemo5/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-g++-maemo5/qplatformdefs.h
new file mode 100644 (file)
index 0000000..857eaf3
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-g++/qmake.conf
new file mode 100644 (file)
index 0000000..47784e2
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# qmake configuration for linux-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/g++.conf)
+include(../common/linux.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..a879279
--- /dev/null
@@ -0,0 +1,165 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#include <features.h>
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF              struct stat
+#define QT_STATBUF4TSTAT        struct stat
+#define QT_STAT                 ::stat
+#define QT_FSTAT                ::fstat
+#define QT_LSTAT                ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/linux-host-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-host-g++/qmake.conf
new file mode 100644 (file)
index 0000000..7e06289
--- /dev/null
@@ -0,0 +1,128 @@
+#
+# qmake configuration for linux-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+#
+# qmake configuration for common gcc
+#
+
+QMAKE_CC                = host-gcc
+QMAKE_CFLAGS            += -pipe
+QMAKE_CFLAGS_DEPS       += -M
+QMAKE_CFLAGS_WARN_ON    += -Wall -W
+QMAKE_CFLAGS_WARN_OFF   += -w
+QMAKE_CFLAGS_RELEASE    += -O2
+QMAKE_CFLAGS_DEBUG      += -g
+QMAKE_CFLAGS_SHLIB      += -fPIC
+QMAKE_CFLAGS_STATIC_LIB += -fPIC
+QMAKE_CFLAGS_YACC       += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CXX               = host-g++
+QMAKE_CXXFLAGS          += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS     += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON  += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE  += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG    += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB    += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC     += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK              = host-g++
+QMAKE_LINK_SHLIB        = host-g++
+QMAKE_LINK_C            = host-gcc
+QMAKE_LINK_C_SHLIB      = host-gcc
+QMAKE_LFLAGS            +=
+QMAKE_LFLAGS_RELEASE    += -Wl,-O1
+QMAKE_LFLAGS_DEBUG      +=
+QMAKE_LFLAGS_APP        +=
+QMAKE_LFLAGS_SHLIB      += -shared
+QMAKE_LFLAGS_PLUGIN     += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME     += -Wl,-soname,
+QMAKE_LFLAGS_THREAD     +=
+QMAKE_LFLAGS_NOUNDEF    += -Wl,--no-undefined
+QMAKE_RPATH             = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
+
+#
+# qmake configuration for common linux
+#
+
+QMAKE_CFLAGS_THREAD    += -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR          =
+QMAKE_LIBDIR          =
+QMAKE_INCDIR_X11      = /usr/X11R6/include
+QMAKE_LIBDIR_X11      = /usr/X11R6/lib
+QMAKE_INCDIR_QT       = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT       = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL   = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL   = /usr/X11R6/lib
+QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_OPENGL_ES1CL = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES1CL = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_EGL      = 
+QMAKE_LIBDIR_EGL      =
+QMAKE_INCDIR_OPENVG   = 
+QMAKE_LIBDIR_OPENVG   =
+
+QMAKE_LIBS            =
+QMAKE_LIBS_DYNLOAD    = -ldl
+QMAKE_LIBS_X11        = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM      = -lSM -lICE
+QMAKE_LIBS_NIS        = -lnsl
+QMAKE_LIBS_EGL        = -lEGL
+QMAKE_LIBS_OPENGL     = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT  = -lGL
+QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM
+QMAKE_LIBS_OPENGL_ES1CL = -lGLES_CL
+QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
+QMAKE_LIBS_OPENVG     = -lOpenVG
+QMAKE_LIBS_THREAD     = -lpthread
+
+QMAKE_MOC             = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC             = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR              = host-ar cqs
+QMAKE_OBJCOPY         = host-objcopy
+QMAKE_RANLIB          =
+
+QMAKE_TAR             = tar -cf
+QMAKE_GZIP            = gzip -9f
+
+QMAKE_COPY            = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE            = mv -f
+QMAKE_DEL_FILE        = rm -f
+QMAKE_DEL_DIR         = rmdir
+QMAKE_STRIP           = host-strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+QMAKE_INSTALL_FILE    = install -m 644 -p
+QMAKE_INSTALL_PROGRAM = install -m 755 -p
+
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-host-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-host-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..7e8d1d4
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-icc-32/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-icc-32/qmake.conf
new file mode 100644 (file)
index 0000000..35fbeb3
--- /dev/null
@@ -0,0 +1,10 @@
+#
+# qmake configuration for linux-icc-32
+#
+# Written for Intel C++ Compiler version 10.x for GNU/Linux
+#
+# This mkspec is intended for building IA-32 binaries on Intel 64 hosts.
+#
+
+# Use the linux-icc as the base for our configuration
+include(../linux-icc/qmake.conf)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-icc-32/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-icc-32/qplatformdefs.h
new file mode 100644 (file)
index 0000000..7e8d1d4
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-icc-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-icc-64/qmake.conf
new file mode 100644 (file)
index 0000000..7962026
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# qmake configuration for linux-icc-64
+#
+# Written for Intel C++ Compiler version 10.x for GNU/Linux
+#
+# This mkspec is intended for use on 64-bit hosts where libraries live
+# in "lib64" directories (instead of "lib").
+#
+
+# Use the linux-icc as the base for our configuration
+include(../linux-icc/qmake.conf)
+
+# Change the all LIBDIR variables to use lib64 instead of lib
+
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib64
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib64
diff --git a/zouba/qt4-maemo5/mkspecs/linux-icc-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-icc-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..7e8d1d4
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-icc/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-icc/qmake.conf
new file mode 100644 (file)
index 0000000..965de0c
--- /dev/null
@@ -0,0 +1,109 @@
+#
+# qmake configuration for linux-icc
+#
+# Written for Intel C++ Compiler versions 10.x for GNU/Linux
+#
+# Note: Some of the remarks from the Intel compiler are disabled (even
+# with 'warn_on' specified):
+#
+# warning #654: overloaded virtual function "T::f" is only partially overridden in class "U"
+# warning #1572: floating-point equality and inequality comparisons are unreliable
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = icc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -wd654,1572
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = icpc
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = icpc
+QMAKE_LINK_SHLIB       = icpc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Qoption,ld,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -Qoption,ld,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)/ti_files
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+
+# pch support
+CONFIG += icc_pch_style
+QMAKE_PCH_OUTPUT_EXT    = .pchi
+QMAKE_CXXFLAGS_USE_PRECOMPILE = -pch-use ${QMAKE_PCH_OUTPUT} -include ${QMAKE_PCH_INPUT}
+QMAKE_CXXFLAGS_PRECOMPILE = -c -pch-create ${QMAKE_PCH_OUTPUT} -include ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_TEMP_OBJECT} ${QMAKE_PCH_TEMP_SOURCE} 
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Qoption,ld,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Qoption,ld,--dynamic-list,
+
+# Symbol visibility control
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-icc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-icc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..7e8d1d4
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/linux-kcc/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-kcc/qmake.conf
new file mode 100644 (file)
index 0000000..009c486
--- /dev/null
@@ -0,0 +1,97 @@
+#
+# qmake configuration for linux-kcc
+#
+# Written for KAI C++ 4.0f for GNU/Linux
+#
+# This product has been discontinued, use Intel C++ instead.
+#
+# From the KAI C++ man page for Linux:
+# --[no_]thread_safe
+#      [Waive or] Request thread-safe handling of system-allocated objects.
+#      To guarantee thread safety, this option must be used when both
+#      compiling and linking. Thread-safe C++ is not link-compatible with
+#      (the default) non-thread-safe C++.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = KCC
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = --c --display_error_number --backend -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = +K2
+QMAKE_CFLAGS_DEBUG     = +K0
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = --diag_suppress 111,177
+QMAKE_CFLAGS_THREAD    = --thread_safe
+
+QMAKE_CXX              = KCC
+QMAKE_CXXFLAGS         = --display_error_number --diag_suppress 611,1142 --backend -pipe
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = KCC
+QMAKE_LINK_SHLIB       = KCC
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     =
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = --soname$$LITERAL_WHITESPACE
+QMAKE_LFLAGS_THREAD    = --thread_safe
+QMAKE_RPATH            = -rpath$$LITERAL_WHITESPACE
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)ti_files
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-kcc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-kcc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..30b3c25
--- /dev/null
@@ -0,0 +1,169 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+// KAI C++ has at the moment problems with unloading the Qt plugins.
+// So don't unload them as a workaround for now.
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/linux-llvm/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-llvm/qmake.conf
new file mode 100644 (file)
index 0000000..9c34377
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# qmake configuration for llvm
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/llvm.conf)
+include(../common/linux.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-llvm/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-llvm/qplatformdefs.h
new file mode 100644 (file)
index 0000000..8e59249
--- /dev/null
@@ -0,0 +1,166 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#include <features.h>
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF              struct stat
+#define QT_STATBUF4TSTAT        struct stat
+#define QT_STAT                 ::stat
+#define QT_FSTAT                ::fstat
+#define QT_LSTAT                ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/linux-lsb-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-lsb-g++/qmake.conf
new file mode 100644 (file)
index 0000000..b603a16
--- /dev/null
@@ -0,0 +1,96 @@
+#
+# qmake configuration for linux-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC               = lsbcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_YACCFLAGS_MANGLE  = -p $base -b $base
+QMAKE_YACC_HEADER       = $base.tab.h
+QMAKE_YACC_SOURCE       = $base.tab.c
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+QMAKE_CFLAGS_HIDESYMS   = -fvisibility=hidden
+
+QMAKE_LSB               = 1
+
+QMAKE_CXX              = lsbc++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /opt/lsb/include
+QMAKE_LIBDIR_X11       = /opt/lsb/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/lsb/include
+QMAKE_LIBDIR_OPENGL    = /opt/lsb/lib
+
+QMAKE_LINK             = lsbc++
+QMAKE_LINK_SHLIB       = lsbc++
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+QMAKE_LIBS_OPENGL      = -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE         = $(COPY)
+QMAKE_COPY_DIR          = $(COPY) -r
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_STRIP             = strip
+QMAKE_STRIPFLAGS_LIB   += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-lsb-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-lsb-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ce0b461
--- /dev/null
@@ -0,0 +1,175 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#include <features.h>
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+#include <time.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+// LSB 3.1 defines htonl and friends here
+#include <arpa/inet.h>
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF              struct stat
+#define QT_STATBUF4TSTAT        struct stat
+#define QT_STAT                 ::stat
+#define QT_FSTAT                ::fstat
+#define QT_LSTAT                ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#ifndef SIOCGIFBRDADDR
+#  define SIOCGIFBRDADDR 0x8919
+#endif
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/linux-pgcc/qmake.conf b/zouba/qt4-maemo5/mkspecs/linux-pgcc/qmake.conf
new file mode 100644 (file)
index 0000000..756f1af
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# qmake configuration for linux-pgcc
+#
+# Written for the Portland Group compiler 6.0-5
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = pgcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -fast
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fpic
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = pgCC
+QMAKE_CXXFLAGS         = --display_error_number --diag_suppress815 $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = pgCC
+QMAKE_LINK_SHLIB       = pgCC
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared -fpic
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -R
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/linux-pgcc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/linux-pgcc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..11b5ac0
--- /dev/null
@@ -0,0 +1,166 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/lynxos-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/lynxos-g++/qmake.conf
new file mode 100644 (file)
index 0000000..40f2b9f
--- /dev/null
@@ -0,0 +1,91 @@
+#
+# qmake configuration for lynxos-g++
+#
+# Written for LynxOS 4.0
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /usr/include/X11
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/include/GL
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         = -lnsl
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_STRIP             = strip
+QMAKE_STRIPFLAGS_LIB   += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/lynxos-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/lynxos-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..bdb492e
--- /dev/null
@@ -0,0 +1,135 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         void
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++/Info.plist.app b/zouba/qt4-maemo5/mkspecs/macx-g++/Info.plist.app
new file mode 100644 (file)
index 0000000..393b615
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleIconFile</key>
+       <string>@ICON@</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+    <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@EXECUTABLE@</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.yourcompany.@EXECUTABLE@</string>
+       <key>NOTE</key>
+       <string>This file was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++/Info.plist.lib b/zouba/qt4-maemo5/mkspecs/macx-g++/Info.plist.lib
new file mode 100644 (file)
index 0000000..97609ed
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundlePackageType</key>
+       <string>FMWK</string>
+        <key>CFBundleShortVersionString</key>
+        <string>@SHORT_VERSION@</string>
+        <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@LIBRARY@</string>
+       <key>NOTE</key>
+       <string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-g++/qmake.conf
new file mode 100644 (file)
index 0000000..4355073
--- /dev/null
@@ -0,0 +1,20 @@
+#macx-g++ (different from g++.conf)
+
+#
+# qmake configuration for macx-g++
+#
+# Mac OS X + command-line compiler
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release app_bundle incremental global_init_link_order lib_version_first plugin_no_soname link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC                = gcc
+QMAKE_CXX               = g++
+
+include(../common/mac-g++.conf)
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..03bdce9
--- /dev/null
@@ -0,0 +1,133 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       (void (*)(int))1
+
+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++40/Info.plist.app b/zouba/qt4-maemo5/mkspecs/macx-g++40/Info.plist.app
new file mode 100644 (file)
index 0000000..393b615
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleIconFile</key>
+       <string>@ICON@</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+    <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@EXECUTABLE@</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.yourcompany.@EXECUTABLE@</string>
+       <key>NOTE</key>
+       <string>This file was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++40/Info.plist.lib b/zouba/qt4-maemo5/mkspecs/macx-g++40/Info.plist.lib
new file mode 100644 (file)
index 0000000..97609ed
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundlePackageType</key>
+       <string>FMWK</string>
+        <key>CFBundleShortVersionString</key>
+        <string>@SHORT_VERSION@</string>
+        <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@LIBRARY@</string>
+       <key>NOTE</key>
+       <string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++40/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-g++40/qmake.conf
new file mode 100644 (file)
index 0000000..d6fd09d
--- /dev/null
@@ -0,0 +1,20 @@
+#macx-g++ (different from g++.conf)
+
+#
+# qmake configuration for macx-g++
+#
+# Mac OS X + command-line compiler
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release app_bundle incremental global_init_link_order lib_version_first plugin_no_soname link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC         = gcc-4.0
+QMAKE_CXX        = g++-4.0
+
+include(../common/mac-g++.conf)
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++40/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-g++40/qplatformdefs.h
new file mode 100644 (file)
index 0000000..03bdce9
--- /dev/null
@@ -0,0 +1,133 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       (void (*)(int))1
+
+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++42/Info.plist.app b/zouba/qt4-maemo5/mkspecs/macx-g++42/Info.plist.app
new file mode 100644 (file)
index 0000000..393b615
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleIconFile</key>
+       <string>@ICON@</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+    <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@EXECUTABLE@</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.yourcompany.@EXECUTABLE@</string>
+       <key>NOTE</key>
+       <string>This file was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++42/Info.plist.lib b/zouba/qt4-maemo5/mkspecs/macx-g++42/Info.plist.lib
new file mode 100644 (file)
index 0000000..97609ed
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundlePackageType</key>
+       <string>FMWK</string>
+        <key>CFBundleShortVersionString</key>
+        <string>@SHORT_VERSION@</string>
+        <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@LIBRARY@</string>
+       <key>NOTE</key>
+       <string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++42/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-g++42/qmake.conf
new file mode 100644 (file)
index 0000000..06bbdcb
--- /dev/null
@@ -0,0 +1,20 @@
+#macx-g++ (different from g++.conf)
+
+#
+# qmake configuration for macx-g++
+#
+# Mac OS X + command-line compiler
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release app_bundle incremental global_init_link_order lib_version_first plugin_no_soname link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC         = gcc-4.2
+QMAKE_CXX        = g++-4.2
+
+include(../common/mac-g++.conf)
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/macx-g++42/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-g++42/qplatformdefs.h
new file mode 100644 (file)
index 0000000..03bdce9
--- /dev/null
@@ -0,0 +1,133 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       (void (*)(int))1
+
+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/macx-icc/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-icc/qmake.conf
new file mode 100644 (file)
index 0000000..b7753d8
--- /dev/null
@@ -0,0 +1,81 @@
+#
+# qmake configuration for macx-icc
+#
+# Written for Intel C++ Compiler versions 8.x and 9.x for Mac OS X
+#
+# Note: Some of the remarks from the Intel compiler are disabled (even
+# with 'warn_on' specified):
+#
+# remark #858: type qualifier on return type is meaningless
+# warning #1572: floating-point equality and inequality comparisons are unreliable
+# warning #279: controlling expression is constant
+# warning #1569: potential redeclared typedef
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl app_bundle
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublibs
+QMAKE_COMPILER_DEFINES  += __APPLE__ __GNUC__
+
+QMAKE_CC               = icc
+QMAKE_CFLAGS           = -wd858,1572,1569,279
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   =
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fpic
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = 
+#QMAKE_CFLAGS_PPC        = -arch ppc
+#QMAKE_CFLAGS_X86        = -arch i386
+
+QMAKE_OBJECTIVE_CC      = gcc
+QMAKE_OBJECTIVE_CFLAGS         = -pipe
+QMAKE_OBJECTIVE_CFLAGS_WARN_ON = -Wall -W
+QMAKE_OBJECTIVE_CFLAGS_WARN_OFF        = -w
+QMAKE_OBJECTIVE_CFLAGS_RELEASE = -Os
+QMAKE_OBJECTIVE_CFLAGS_DEBUG   = -g
+QMAKE_OBJECTIVE_CFLAGS_HIDESYMS   = -fvisibility=hidden
+QMAKE_OBJECTIVE_CFLAGS_PPC        = -arch ppc
+QMAKE_OBJECTIVE_CFLAGS_X86        = -arch i386
+
+QMAKE_CXX              = icpc
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_PPC      = $$QMAKE_CFLAGS_PPC
+QMAKE_CXXFLAGS_X86      = $$QMAKE_CFLAGS_X86
+
+QMAKE_LINK             = icpc
+QMAKE_LINK_SHLIB       = icpc
+QMAKE_LFLAGS           = -headerpad_max_install_names
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -single_module -dynamiclib 
+QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -install_name$${LITERAL_WHITESPACE}
+QMAKE_LFLAGS_THREAD    =
+#QMAKE_LFLAGS_PPC        = -arch ppc
+#QMAKE_LFLAGS_X86        = -arch i386
+QMAKE_RPATH            =
+
+QMAKE_LFLAGS_VERSION    = -current_version$${LITERAL_WHITESPACE}
+QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)/ti_files
+
+include(../common/mac.conf)
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/macx-icc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-icc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..d46381c
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../macx-g++/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/macx-llvm/Info.plist.app b/zouba/qt4-maemo5/mkspecs/macx-llvm/Info.plist.app
new file mode 100644 (file)
index 0000000..393b615
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleIconFile</key>
+       <string>@ICON@</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+    <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@EXECUTABLE@</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.yourcompany.@EXECUTABLE@</string>
+       <key>NOTE</key>
+       <string>This file was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-llvm/Info.plist.lib b/zouba/qt4-maemo5/mkspecs/macx-llvm/Info.plist.lib
new file mode 100644 (file)
index 0000000..97609ed
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundlePackageType</key>
+       <string>FMWK</string>
+        <key>CFBundleShortVersionString</key>
+        <string>@SHORT_VERSION@</string>
+        <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@LIBRARY@</string>
+       <key>NOTE</key>
+       <string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-llvm/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-llvm/qmake.conf
new file mode 100644 (file)
index 0000000..de8040c
--- /dev/null
@@ -0,0 +1,17 @@
+#macx-g++ (different from g++.conf)
+
+#
+# qmake configuration for macx-g++
+#
+# Mac OS X + command-line compiler
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release app_bundle incremental global_init_link_order lib_version_first plugin_no_soname link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/mac-llvm.conf)
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/macx-llvm/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-llvm/qplatformdefs.h
new file mode 100644 (file)
index 0000000..03bdce9
--- /dev/null
@@ -0,0 +1,133 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       (void (*)(int))1
+
+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/macx-pbuilder/Info.plist.app b/zouba/qt4-maemo5/mkspecs/macx-pbuilder/Info.plist.app
new file mode 100644 (file)
index 0000000..393b615
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleIconFile</key>
+       <string>@ICON@</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+    <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@EXECUTABLE@</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.yourcompany.@EXECUTABLE@</string>
+       <key>NOTE</key>
+       <string>This file was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-pbuilder/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-pbuilder/qmake.conf
new file mode 100644 (file)
index 0000000..2418c7c
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# qmake configuration for macx-pbuilder
+#
+# Mac OS X + Project Builder
+#
+
+error("Use macx-xcode spec")
diff --git a/zouba/qt4-maemo5/mkspecs/macx-pbuilder/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-pbuilder/qplatformdefs.h
new file mode 100644 (file)
index 0000000..c8e49af
--- /dev/null
@@ -0,0 +1,133 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       (void (*)(int))1
+
+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/macx-xcode/Info.plist.app b/zouba/qt4-maemo5/mkspecs/macx-xcode/Info.plist.app
new file mode 100644 (file)
index 0000000..393b615
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleIconFile</key>
+       <string>@ICON@</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+    <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@EXECUTABLE@</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.yourcompany.@EXECUTABLE@</string>
+       <key>NOTE</key>
+       <string>This file was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-xcode/Info.plist.lib b/zouba/qt4-maemo5/mkspecs/macx-xcode/Info.plist.lib
new file mode 100644 (file)
index 0000000..97609ed
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundlePackageType</key>
+       <string>FMWK</string>
+        <key>CFBundleShortVersionString</key>
+        <string>@SHORT_VERSION@</string>
+        <key>CFBundleGetInfoString</key>
+       <string>Created by Qt/QMake</string>
+       <key>CFBundleSignature</key>
+       <string>@TYPEINFO@</string>
+       <key>CFBundleExecutable</key>
+       <string>@LIBRARY@</string>
+       <key>NOTE</key>
+       <string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
+</dict>
+</plist>
diff --git a/zouba/qt4-maemo5/mkspecs/macx-xcode/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-xcode/qmake.conf
new file mode 100644 (file)
index 0000000..3a4a500
--- /dev/null
@@ -0,0 +1,26 @@
+#
+# qmake configuration for macx-xcode
+#
+# Mac OS X + XCode
+#
+
+MAKEFILE_GENERATOR     = XCODE
+TEMPLATE               = app
+CONFIG                 += qt warn_on release lib_version_first incremental plugin_no_soname link_prl app_bundle
+QT                     += core gui
+
+include(../common/mac-g++.conf)
+
+QMAKE_CC                =
+QMAKE_CXX               =
+QMAKE_CFLAGS_HIDESYMS           = 
+QMAKE_CFLAGS_PPC_64             =
+QMAKE_CFLAGS_X86_64             =
+QMAKE_CFLAGS_PPC                =
+QMAKE_CFLAGS_X86                =
+QMAKE_LFLAGS_VERSION            =
+QMAKE_LFLAGS_COMPAT_VERSION     =
+QMAKE_LFLAGS_SONAME             =
+QMAKE_INCDIR           += /usr/local/include /System/Library/Frameworks/CarbonCore.framework/Headers 
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/macx-xcode/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-xcode/qplatformdefs.h
new file mode 100644 (file)
index 0000000..03bdce9
--- /dev/null
@@ -0,0 +1,133 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       (void (*)(int))1
+
+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#define QT_SOCKLEN_T           socklen_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/macx-xlc/qmake.conf b/zouba/qt4-maemo5/mkspecs/macx-xlc/qmake.conf
new file mode 100644 (file)
index 0000000..6a8c246
--- /dev/null
@@ -0,0 +1,98 @@
+#
+# qmake configuration for macx-xlc
+#
+# Mac OS X + IBM's XL C/C++ Advanced Edition for Mac OS X
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release app_bundle global_init_link_order lib_version_first plugin_no_soname link_prl
+QT                     += core gui
+
+QMAKE_CC               = xlc
+QMAKE_CC_THREAD                = xlc_r
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -qstrict
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O3
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_EXTENSION_SHLIB   = dylib
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -qthreaded
+QMAKE_EXTENSION_SHLIB   = dylib
+QMAKE_COMPILER_DEFINES  += __APPLE__ __xlc__
+
+QMAKE_CXX              = xlc++
+QMAKE_CXX_THREAD       = xlc++_r
+QMAKE_CXXFLAGS         = -+ $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /System/Library/Frameworks/OpenGL.framework/Headers \
+        /System/Library/Frameworks/AGL.framework/Headers/
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = xlc++
+QMAKE_LINK_THREAD      = xlc++_r
+QMAKE_LINK_SHLIB       = ld
+#QMAKE_LINK_SHLIB_CMD  = makeC++SharedLib -p 0 \
+#                          -o $(TARGETD) \
+#                          $(LFLAGS) $(OBJECTS) $(OBJMOC) $(LIBS); \
+#                        $(AR) lib$(QMAKE_TARGET).a $(TARGETD); \
+#                        $(RANLIB) lib$(QMAKE_TARGET).a; \
+#                        mv lib$(QMAKE_TARGET).a $(DESTDIR)
+QMAKE_LFLAGS           = -headerpad_max_install_names
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -prebind -qmkshrobj
+QMAKE_LFLAGS_PLUGIN    = -bundle
+QMAKE_LFLAGS_SONAME    =
+#QMAKE_LFLAGS_THREAD   = -L/usr/lib/threads
+#QMAKE_AIX_SHLIB               = 1
+#QMAKE_LFLAGS_VERSION    = -current_version$${LITERAL_WHITESPACE}
+#QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_OPENGL      = -framework OpenGL -framework AGL
+QMAKE_LIBS_OPENGL_QT   = $$QMAKE_LIBS_OPENGL
+#QMAKE_LIBS_THREAD     = -lpthreads
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           = ranlib -s
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE         = $$QMAKE_COPY
+QMAKE_COPY_DIR          = $$QMAKE_COPY -R
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/macx-xlc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/macx-xlc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..43c3158
--- /dev/null
@@ -0,0 +1,129 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#define QT_NO_LIBRARY_UNLOAD
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       (void (*)(int))1
+
+#define QT_SOCKLEN_T           int
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/netbsd-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/netbsd-g++/qmake.conf
new file mode 100644 (file)
index 0000000..622bace
--- /dev/null
@@ -0,0 +1,87 @@
+#
+# qmake configuration for netbsd-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -pthread
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           = /usr/local/include
+QMAKE_LIBDIR           = /usr/local/lib
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LINK_SHLIB_CMD    = $$QMAKE_LINK_SHLIB $$QMAKE_LFLAGS_SHLIB $(LFLAGS) $$QMAKE_LFLAGS -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    = -pthread
+QMAKE_LFLAGS_NOUNDEF   = -Wl,-no_unresolved
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           = ranlib
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/netbsd-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/netbsd-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..f455a86
--- /dev/null
@@ -0,0 +1,136 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+// NetBSD 1.0 - 1.3.3          int
+// NetBSD 1.4 - 1.5            socklen_t
+#define QT_SOCKLEN_T           socklen_t
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+// Older NetBSD versions may still use the a.out format instead of ELF.
+#ifndef __ELF__
+#define QT_AOUT_UNDERSCORE
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/openbsd-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/openbsd-g++/qmake.conf
new file mode 100644 (file)
index 0000000..4204f65
--- /dev/null
@@ -0,0 +1,88 @@
+#
+# qmake configuration for openbsd-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -pthread
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           = /usr/local/include
+QMAKE_LIBDIR           = /usr/local/lib
+QMAKE_INCDIR_X11       = /usr/X11R6/include
+QMAKE_LIBDIR_X11       = /usr/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LINK_SHLIB_CMD   = $$QMAKE_LINK_SHLIB $(LFLAGS) \
+       $$QMAKE_CFLAGS_SHLIB $$QMAKE_LFLAGS \
+       -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    = -pthread
+QMAKE_LFLAGS_NOUNDEF   = -Wl,-no_unresolved
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar q
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           = ranlib
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/openbsd-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/openbsd-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..0a9ea21
--- /dev/null
@@ -0,0 +1,152 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+// OpenBSD 2.2 - 2.4           int
+// OpenBSD 2.5 - 2.8           socklen_t
+#define QT_SOCKLEN_T           socklen_t
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+// 1003.1c-1995 says on page 38 (2.9.3, paragraph 3) that if _POSIX_THREADS
+// is defined, then _POSIX_THREAD_SAFE_FUNCTIONS must also be defined.
+// However this looks like a well-known typo (reversed dependency).
+//
+// On the other hand _POSIX_THREAD_SAFE_FUNCTIONS should be defined only
+// if the Thread-Safe Functions option is implemented. OpenBSD does not
+// support all of the required _r() interfaces, especially getpwuid_r(),
+// which means it should not define _POSIX_THREAD_SAFE_FUNCTIONS.
+//
+// Since OpenBSD does define _POSIX_THREAD_SAFE_FUNCTIONS, we have to
+// undefine it behind its back.
+#ifdef _POSIX_THREAD_SAFE_FUNCTIONS
+#undef _POSIX_THREAD_SAFE_FUNCTIONS
+#endif
+
+// Older OpenBSD versions may still use the a.out format instead of ELF.
+#ifndef __ELF__
+#define QT_AOUT_UNDERSCORE
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/qconfig.pri b/zouba/qt4-maemo5/mkspecs/qconfig.pri
new file mode 100644 (file)
index 0000000..ac9517e
--- /dev/null
@@ -0,0 +1,18 @@
+#configuration
+CONFIG +=  exceptions maemo5 no_mocdepend release stl qt_no_framework
+QT_ARCH = armv6
+QT_EDITION = OpenSource
+QT_CONFIG +=  minimal-config small-config medium-config large-config full-config phonon phonon-backend accessibility egl opengl opengles2 reduce_exports reduce_relocations ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg no-mng system-png png gif system-tiff system-freetype system-zlib nis iconv glib gstreamer dbus openssl x11sm xshape xsync xrender mitshm fontconfig xkb alsa xmlpatterns multimedia audio-backend svg webkit script scripttools maemo5 release
+
+#versioning
+QT_VERSION = 4.6.2
+QT_MAJOR_VERSION = 4
+QT_MINOR_VERSION = 6
+QT_PATCH_VERSION = 2
+
+#namespaces
+QT_LIBINFIX = 
+QT_NAMESPACE = 
+QT_NAMESPACE_MAC_CRC = 
+
+QMAKE_RPATHDIR += "/opt/qt4-maemo5/lib"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/freebsd-generic-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/freebsd-generic-g++/qmake.conf
new file mode 100644 (file)
index 0000000..19d6709
--- /dev/null
@@ -0,0 +1,84 @@
+#
+# qmake configuration for freebsd-g++ with Qtopia Core
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release
+QT                      += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2 -fno-default-inline
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -pthread -D_THREAD_SAFE
+QMAKE_CFLAGS_HIDESYMS   = -fvisibility=hidden
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS_DEPS     = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -DQT_NO_QWS_LINUXFB -DQT_NO_QWS_TRANSFORMED
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+
+# Addon software goes into /usr/local on the BSDs, by default we will look there
+QMAKE_INCDIR           = /usr/local/include
+QMAKE_LIBDIR           = /usr/local/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_QTOPIA    = $(QPEDIR)/include
+QMAKE_LIBDIR_QTOPIA    = $(QPEDIR)/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB      = -shared
+QMAKE_LFLAGS_PLUGIN     = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME     = -Wl,-soname,
+QMAKE_LFLAGS_THREAD     = -pthread
+QMAKE_RPATH             = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_QT          = -lqte
+QMAKE_LIBS_QT_THREAD    = -lqte-mt
+QMAKE_LIBS_THREAD       = 
+QMAKE_LIBS_OPENGL       =
+QMAKE_LIBS_QTOPIA      = -lqpe -lqtopia
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/freebsd-generic-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/freebsd-generic-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..fbab892
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../freebsd-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-arm-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-arm-g++/qmake.conf
new file mode 100644 (file)
index 0000000..7e0a3b4
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# qmake configuration for building with arm-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = arm-linux-gcc
+QMAKE_CXX               = arm-linux-g++
+QMAKE_LINK              = arm-linux-g++
+QMAKE_LINK_SHLIB        = arm-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR                = arm-linux-ar cqs
+QMAKE_OBJCOPY           = arm-linux-objcopy
+QMAKE_STRIP             = arm-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-arm-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-arm-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-armv6-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-armv6-g++/qmake.conf
new file mode 100644 (file)
index 0000000..cd7ecca
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# qmake configuration for building for ARMv6 devices with arm-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = arm-linux-gcc
+QMAKE_CXX               = arm-linux-g++
+QMAKE_LINK              = arm-linux-g++
+QMAKE_LINK_SHLIB        = arm-linux-g++
+QMAKE_CFLAGS           += -march=armv6
+QMAKE_CXXFLAGS         += -march=armv6
+
+# modifications to linux.conf
+QMAKE_AR                = arm-linux-ar cqs
+QMAKE_OBJCOPY           = arm-linux-objcopy
+QMAKE_STRIP             = arm-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-armv6-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-armv6-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-avr32-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-avr32-g++/qmake.conf
new file mode 100644 (file)
index 0000000..057c938
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# qmake configuration for building with avr32-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = avr32-linux-gcc
+QMAKE_CXX               = avr32-linux-g++
+QMAKE_LINK              = avr32-linux-g++
+QMAKE_LINK_SHLIB        = avr32-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR                = avr32-linux-ar cqs
+QMAKE_OBJCOPY           = avr32-linux-objcopy
+QMAKE_STRIP             = avr32-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-avr32-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-avr32-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-cellon-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-cellon-g++/qmake.conf
new file mode 100644 (file)
index 0000000..363a3ce
--- /dev/null
@@ -0,0 +1,29 @@
+#
+# qmake configuration for linux-g++ using the arm-linux-g++ crosscompiler
+#
+
+#
+# qmake configuration for building with arm-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = arm-linux-gcc
+QMAKE_CXX               = arm-linux-g++
+QMAKE_LINK              = arm-linux-g++
+QMAKE_LINK_SHLIB        = arm-linux-g++
+QMAKE_CFLAGS           = $$QMAKE_CFLAGS -DQT_QWS_CELLON -DQWS
+QMAKE_CXXFLAGS         = $$QMAKE_CXXFLAGS -DQT_QWS_CELLON -DQWS
+QMAKE_CFLAGS_RELEASE   ~= s/-O2/-Os/
+QMAKE_CXXFLAGS_RELEASE ~= s/-O2/-Os/
+
+# modifications to linux.conf
+QMAKE_AR                = arm-linux-ar cqs
+QMAKE_OBJCOPY           = arm-linux-objcopy
+QMAKE_STRIP             = arm-linux-strip
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-cellon-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-cellon-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-dm7000-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-dm7000-g++/qmake.conf
new file mode 100644 (file)
index 0000000..aea2647
--- /dev/null
@@ -0,0 +1,26 @@
+#
+# qmake configuration for linux-dm7000-g++, for Dream Multimedia's DM7000S
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = powerpc-tuxbox-linux-gnu-gcc
+QMAKE_CFLAGS            = -pipe -msoft-float -meabi
+QMAKE_CFLAGS_RELEASE    = -O2 -mcpu=405 -mmultiple -mstring
+QMAKE_CFLAGS_DEBUG      = -ggdb3
+QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXX               = powerpc-tuxbox-linux-gnu-g++
+QMAKE_LINK              = powerpc-tuxbox-linux-gnu-g++
+QMAKE_LINK_SHLIB        = powerpc-tuxbox-linux-gnu-g++
+
+# modifications to linux.conf
+QMAKE_AR               = powerpc-tuxbox-linux-gnu-ar cqs
+QMAKE_OBJCOPY           = powerpc-tuxbox-linux-gnu-objcopy
+QMAKE_STRIP             = powerpc-tuxbox-linux-gnu-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-dm7000-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-dm7000-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-dm800-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-dm800-g++/qmake.conf
new file mode 100644 (file)
index 0000000..fca93b4
--- /dev/null
@@ -0,0 +1,24 @@
+#
+# qmake configuration for linux-dm800-g++, for Dream Multimedia's DM800
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = mipsel-linux-gcc
+QMAKE_CXX               = mipsel-linux-g++
+QMAKE_LINK              = mipsel-linux-g++
+QMAKE_LINK_SHLIB        = mipsel-linux-g++
+QMAKE_CFLAGS           += -mabi=32 -mips32
+QMAKE_CFLAGS_RELEASE   += -fexpensive-optimizations -frename-registers -O2
+QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
+
+# modifications to linux.conf
+QMAKE_AR                = mipsel-linux-ar cqs
+QMAKE_OBJCOPY           = mipsel-linux-objcopy
+QMAKE_STRIP             = mipsel-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-dm800-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-dm800-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++-32/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++-32/qmake.conf
new file mode 100644 (file)
index 0000000..81af4ab
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# qmake configuration for building with arm-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CFLAGS            += -m32
+QMAKE_CXXFLAGS          += -m32
+QMAKE_LFLAGS            += -m32
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++-32/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++-32/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++/qmake.conf
new file mode 100644 (file)
index 0000000..a026e88
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# qmake configuration for building with g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-generic-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-ipaq-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-ipaq-g++/qmake.conf
new file mode 100644 (file)
index 0000000..59f4e6e
--- /dev/null
@@ -0,0 +1,21 @@
+#
+# qmake configuration for building with arm-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = arm-linux-gcc -DQT_QWS_IPAQ
+QMAKE_CXX              = arm-linux-g++ -DQT_QWS_IPAQ
+QMAKE_LINK              = arm-linux-g++
+QMAKE_LINK_SHLIB        = arm-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR                = arm-linux-ar cqs
+QMAKE_OBJCOPY           = arm-linux-objcopy
+QMAKE_STRIP             = arm-linux-strip
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-ipaq-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-ipaq-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-lsb-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-lsb-g++/qmake.conf
new file mode 100644 (file)
index 0000000..8b66228
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# qmake configuration for linux-g++
+#
+
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+QMAKE_LSB               = 1
+
+# modifications to g++.conf
+QMAKE_CC                = lsbcc
+QMAKE_CXX              = lsbc++
+QMAKE_CFLAGS           = -pipe -DQT_LINUXBASE -fno-stack-protector
+QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
+QMAKE_LINK              = lsbc++
+QMAKE_LINK_SHLIB        = lsbc++
+QMAKE_LFLAGS           += -fno-stack-protector
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-lsb-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-lsb-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-mips-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-mips-g++/qmake.conf
new file mode 100644 (file)
index 0000000..3c55342
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# qmake configuration for building with mipsel-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = mips-linux-gcc
+QMAKE_CXX               = mips-linux-g++
+QMAKE_CFLAGS           += -mips32
+QMAKE_CXXFLAGS         += -mips32
+QMAKE_LINK              = mips-linux-g++
+QMAKE_LINK_SHLIB        = mips-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR                = mips-linux-ar cqs
+QMAKE_OBJCOPY           = mips-linux-objcopy
+QMAKE_STRIP             = mips-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-mips-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-mips-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-powerpc-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-powerpc-g++/qmake.conf
new file mode 100644 (file)
index 0000000..e1926b4
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# qmake configuration for building with g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = powerpc-linux-gcc
+QMAKE_CXX               = powerpc-linux-g++
+QMAKE_LINK              = powerpc-linux-g++
+QMAKE_LINK_SHLIB        = powerpc-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR                = powerpc-linux-ar cqs
+QMAKE_OBJCOPY           = powerpc-linux-objcopy
+QMAKE_STRIP             = powerpc-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-powerpc-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-powerpc-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-sh-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-sh-g++/qmake.conf
new file mode 100644 (file)
index 0000000..61b57a3
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# qmake configuration for building for SH devices with sh3-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = sh3-linux-gcc
+QMAKE_CXX               = sh3-linux-g++
+QMAKE_LINK              = sh3-linux-g++
+QMAKE_LINK_SHLIB        = sh3-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR                = sh3-linux-ar cqs
+QMAKE_OBJCOPY           = sh3-linux-objcopy
+QMAKE_STRIP             = sh3-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-sh-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-sh-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-sh4al-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-sh4al-g++/qmake.conf
new file mode 100644 (file)
index 0000000..9caebdf
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# qmake configuration for building for SH4AL-DSP devices with sh3-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = sh3-linux-gcc
+QMAKE_CXX               = sh3-linux-g++
+QMAKE_LINK              = sh3-linux-g++
+QMAKE_LINK_SHLIB        = sh3-linux-g++
+QMAKE_CFLAGS           += -m4al
+QMAKE_CXXFLAGS         += -m4al
+
+
+# modifications to linux.conf
+QMAKE_AR                = sh3-linux-ar cqs
+QMAKE_OBJCOPY           = sh3-linux-objcopy
+QMAKE_STRIP             = sh3-linux-strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-sh4al-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-sh4al-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-sharp-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-sharp-g++/qmake.conf
new file mode 100644 (file)
index 0000000..083e4e8
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# qmake configuration for building with arm-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = arm-linux-gcc
+QMAKE_CXX               = arm-linux-g++
+QMAKE_LINK              = arm-linux-g++
+QMAKE_LINK_SHLIB        = arm-linux-g++
+QMAKE_CFLAGS           += -DQT_QWS_SHARP -DQT_QWS_EBX
+QMAKE_CXXFLAGS         += -DQT_QWS_SHARP -DQT_QWS_EBX
+
+# modifications to linux.conf
+QMAKE_AR                = arm-linux-ar cqs
+QMAKE_OBJCOPY           = arm-linux-objcopy
+QMAKE_STRIP             = arm-linux-strip
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-sharp-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-sharp-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-x86-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-x86-g++/qmake.conf
new file mode 100644 (file)
index 0000000..7e28d4e
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# qmake configuration for building with linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-x86-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-x86-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-x86_64-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-x86_64-g++/qmake.conf
new file mode 100644 (file)
index 0000000..d4e6189
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# qmake configuration for building with linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CFLAGS            += -m64
+QMAKE_CXXFLAGS          += -m64
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-x86_64-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-x86_64-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-zylonite-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/linux-zylonite-g++/qmake.conf
new file mode 100644 (file)
index 0000000..97ae600
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# qmake configuration for building with arm-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = arm-linux-gcc
+QMAKE_CXX               = arm-linux-g++
+QMAKE_CFLAGS           += -DQT_QWS_ZYLONITE -DQWS -fno-rtti
+QMAKE_CXXFLAGS         += -DQT_QWS_ZYLONITE -DQWS -fno-rtti
+QMAKE_LINK              = arm-linux-g++
+QMAKE_LINK_SHLIB        = arm-linux-g++
+QMAKE_CFLAGS_RELEASE   ~= s/-O2/-Os/
+QMAKE_CXXFLAGS_RELEASE ~= s/-O2/-Os/
+
+# modifications to linux.conf
+QMAKE_AR                = arm-linux-ar cqs
+QMAKE_OBJCOPY           = arm-linux-objcopy
+QMAKE_STRIP             = arm-linux-strip
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/qws/linux-zylonite-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/linux-zylonite-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/macx-generic-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/macx-generic-g++/qmake.conf
new file mode 100644 (file)
index 0000000..b724cbc
--- /dev/null
@@ -0,0 +1,87 @@
+#
+# qmake configuration for macx-g++ with Qtopia Core
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                      += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+QMAKE_EXTENSION_SHLIB  = dylib
+
+QMAKE_CC               = $(TB)cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O2 -fno-default-inline
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+QMAKE_CFLAGS_HIDESYMS   = -fvisibility=hidden
+
+QMAKE_CXX              = $(TB)c++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -DQT_NO_QWS_TRANSFORMED
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = 
+QMAKE_LIBDIR_OPENGL    = 
+QMAKE_INCDIR_QTOPIA    = $(QPEDIR)/include
+QMAKE_LIBDIR_QTOPIA    = $(QPEDIR)/lib
+
+QMAKE_LINK             = $$QMAKE_CXX
+QMAKE_LINK_SHLIB       = $$QMAKE_CXX
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -dynamiclib 
+QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
+QMAKE_LFLAGS_PLUGIN    = -bundle
+QMAKE_LFLAGS_SONAME    = 
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = 
+
+QMAKE_LIBS             =
+QMAKE_LIBS_X11         =
+QMAKE_LIBS_X11SM       =
+QMAKE_LIBS_QT          = -lqte
+QMAKE_LIBS_QT_THREAD   = -lqte-mt
+QMAKE_LIBS_QT_OPENGL   = -lqgl
+QMAKE_LIBS_QTOPIA      = -lqpe -lqtopia
+QMAKE_LIBS_THREAD      = 
+QMAKE_LIBS_OPENGL      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/macx-generic-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/macx-generic-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..32d842d
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../macx-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/qws/solaris-generic-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/qws/solaris-generic-g++/qmake.conf
new file mode 100644 (file)
index 0000000..db83a57
--- /dev/null
@@ -0,0 +1,88 @@
+#
+# qmake configuration for solaris-g++ with Qtopia Core
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                      += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -pipe
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O2 -fno-default-inline
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+QMAKE_CFLAGS_HIDESYMS   = -fvisibility=hidden
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -DQT_NO_SOUND -DQT_NO_QWS_LINUXFB -DQT_NO_QWS_TRANSFORMED
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = 
+QMAKE_LIBDIR_OPENGL    = 
+QMAKE_INCDIR_QTOPIA    = $(QPEDIR)/include
+QMAKE_LIBDIR_QTOPIA    = $(QPEDIR)/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_LIBS             = -lsocket -lnsl -lresolv
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         =
+QMAKE_LIBS_X11SM       =
+QMAKE_LIBS_QT          = -lqte
+QMAKE_LIBS_QT_THREAD   = -lqte-mt
+QMAKE_LIBS_QT_OPENGL   = -lqgl
+QMAKE_LIBS_QTOPIA      = -lqpe -lqtopia
+QMAKE_LIBS_THREAD      = -lthread -lrt
+QMAKE_LIBS_OPENGL      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/qws/solaris-generic-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/qws/solaris-generic-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..cca07cb
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../solaris-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/sco-cc/qmake.conf b/zouba/qt4-maemo5/mkspecs/sco-cc/qmake.conf
new file mode 100644 (file)
index 0000000..f682f49
--- /dev/null
@@ -0,0 +1,82 @@
+#
+# qmake configuration for sco-cc
+#
+# Written for SCO OpenServer with UDK
+#
+# -Wf,--diag_suppress,838
+#      turns off warning about missing return types in X headers
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+QT                     += core gui
+CONFIG                 += qt warn_on release link_prl
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -KPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wf,--diag_suppress,111 -Wf,--diag_suppress,177
+
+QMAKE_CXX              = CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE -Tused
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       = /usr/X/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = CC
+QMAKE_LINK_SHLIB       = CC
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -G
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -h$$LITERAL_WHITESPACE
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lresolv -lsocket -lnsl -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lXt
+QMAKE_LIBS_OPENGL_QT   = -lGL
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/sco-cc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/sco-cc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b5427c9
--- /dev/null
@@ -0,0 +1,130 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           size_t
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/sco-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/sco-g++/qmake.conf
new file mode 100644 (file)
index 0000000..268bf32
--- /dev/null
@@ -0,0 +1,83 @@
+#
+# qmake configuration for sco-g++
+#
+# Written for SCO OpenServer 5.0.6 with Skunkware's compiler
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -G
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -h$$LITERAL_WHITESPACE
+QMAKE_RPATH            =
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lsocket -lm
+
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/sco-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/sco-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..058ab78
--- /dev/null
@@ -0,0 +1,134 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// This is to have PATH_MAX defined in <limits.h>
+#ifndef _IBCS2
+#  define _IBCS2
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           int
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc-64-stlport/qmake.conf b/zouba/qt4-maemo5/mkspecs/solaris-cc-64-stlport/qmake.conf
new file mode 100644 (file)
index 0000000..3437b8f
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# qmake configuration for solaris-cc-64-stlport
+#
+
+include(../solaris-cc-64/qmake.conf)
+
+QMAKE_CXXFLAGS += -library=stlport4
+QMAKE_LFLAGS   += -library=stlport4
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc-64-stlport/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/solaris-cc-64-stlport/qplatformdefs.h
new file mode 100644 (file)
index 0000000..c3ebd5a
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../solaris-cc-64/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/solaris-cc-64/qmake.conf
new file mode 100644 (file)
index 0000000..eb594d9
--- /dev/null
@@ -0,0 +1,107 @@
+#
+# qmake configuration for solaris-cc-64
+#
+# Written for Forte Developer 6 and Sun ONE Studio 7 and 8
+#
+# From the standards(5) manual page:
+#      The XNS4 specification is safe for use only in ILP32 (32-bit)
+#      environments and should not be used for LP64 (64-bit)
+#      application environments. Use XNS5, which has LP64-clean
+#      interfaces that are portable across ILP32 and LP64 environments.
+#      [...]
+#      For platforms supporting the LP64 (64-bit) programming environment
+#      where the SC5.0 Compilers have been installed, SUSv2-conforming LP64
+#      applications using XNS5 library calls should be built with command
+#      lines of the form:
+#              c89 $(getconf XBS5_LP64_OFF64_CFLAGS) -D_XOPEN_SOURCE=500 \
+#                  $(getconf XBS5_LP64_OFF64_LDFLAGS) foo.c -o foo \
+#                  $(getconf XBS5_LP64_OFF64_LIBS) -lxnet
+# So it appears that _XOPEN_SOURCE=500 should be defined when building
+# 64-bit applications (on Solaris 7 and better). But then __EXTENSIONS__
+# should be defined as well to recover all the default system interface.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -xarch=generic64
+QMAKE_CFLAGS_DEPS      = -xM
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -KPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -mt
+
+QMAKE_CXX              = CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = -O
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           = /usr/sfw/include
+QMAKE_LIBDIR           = /usr/sfw/lib/64
+QMAKE_INCDIR_X11       = /usr/openwin/include
+QMAKE_LIBDIR_X11       = /usr/openwin/lib/64
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/openwin/include
+QMAKE_LIBDIR_OPENGL    = /usr/openwin/lib/64
+
+QMAKE_LINK             = CC
+QMAKE_LINK_SHLIB       = CC
+QMAKE_LFLAGS           = -xarch=generic64
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -G
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -h$$LITERAL_WHITESPACE
+QMAKE_LFLAGS_THREAD    = -mt
+QMAKE_LFLAGS_NOUNDEF   = -z defs
+QMAKE_RPATH            = -R
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lresolv -lsocket -lnsl
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         =
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread -lrt
+QMAKE_LIBS_NETWORK      = -lresolv -lsocket -lxnet -lnsl
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = CC -xar -o
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/solaris-cc-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..8de7c20
--- /dev/null
@@ -0,0 +1,163 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+#define _XOPEN_SOURCE 500
+#define __EXTENSIONS__
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+#include <unistd.h>
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+// On 64-bit platforms sockets use socklen_t
+#define QT_SOCKLEN_T           socklen_t
+
+// Solaris redefines connect -> __xnet_connect with _XOPEN_SOURCE_EXTENDED
+static inline int qt_socket_connect(int s, struct sockaddr *addr, QT_SOCKLEN_T addrlen)
+{ return ::connect(s, addr, addrlen); }
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      qt_socket_connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+// Only Solaris 7 and better support 64-bit
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+#ifdef connect
+#undef connect
+#endif
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc-stlport/qmake.conf b/zouba/qt4-maemo5/mkspecs/solaris-cc-stlport/qmake.conf
new file mode 100644 (file)
index 0000000..b0df45e
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# qmake configuration for solaris-cc-stlport
+#
+
+include(../solaris-cc/qmake.conf)
+
+QMAKE_CXXFLAGS += -library=stlport4
+QMAKE_LFLAGS   += -library=stlport4
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc-stlport/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/solaris-cc-stlport/qplatformdefs.h
new file mode 100644 (file)
index 0000000..a1b2a08
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../solaris-cc/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc/qmake.conf b/zouba/qt4-maemo5/mkspecs/solaris-cc/qmake.conf
new file mode 100644 (file)
index 0000000..ad430d1
--- /dev/null
@@ -0,0 +1,90 @@
+#
+# qmake configuration for solaris-cc
+#
+# Written for Forte Developer 6 and Sun ONE Studio 7 and 8
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -xM
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -KPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_THREAD    = -mt
+
+QMAKE_CXX              = CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = -O2
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           = /usr/sfw/include
+QMAKE_LIBDIR           = /usr/sfw/lib
+QMAKE_INCDIR_X11       = /usr/openwin/include
+QMAKE_LIBDIR_X11       = /usr/openwin/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/openwin/include
+QMAKE_LIBDIR_OPENGL    = /usr/openwin/lib
+
+QMAKE_LINK             = CC
+QMAKE_LINK_SHLIB       = CC
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -G
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -h$$LITERAL_WHITESPACE
+QMAKE_LFLAGS_THREAD    = -mt
+QMAKE_LFLAGS_NOUNDEF   = -z defs
+QMAKE_RPATH            = -R
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lresolv -lsocket -lnsl
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         =
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread -lrt
+QMAKE_LIBS_NETWORK      = -lresolv -lsocket -lxnet -lnsl
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = CC -xar -o
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_CLEAN            = -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-cc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/solaris-cc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..128cd8f
--- /dev/null
@@ -0,0 +1,185 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+#define _XOPEN_SOURCE 500
+#define __EXTENSIONS__
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+#include <unistd.h>
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) && (_XOPEN_VERSION-0 >= 500)
+// Solaris 7 and better with specific feature test macros
+#define QT_SOCKLEN_T           socklen_t
+#elif defined(_XOPEN_SOURCE_EXTENDED) && (_XOPEN_VERSION-0 >= 4)
+// Solaris 2.6 and better with specific feature test macros
+#define QT_SOCKLEN_T           size_t
+#else
+// always this case in practice
+#define QT_SOCKLEN_T           int
+#endif
+
+// Solaris redefines connect -> __xnet_connect with _XOPEN_SOURCE_EXTENDED
+static inline int qt_socket_connect(int s, struct sockaddr *addr, QT_SOCKLEN_T addrlen)
+{ return ::connect(s, addr, addrlen); }
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF              struct stat
+#define QT_STATBUF4TSTAT        struct stat
+#define QT_STAT                 ::stat
+#define QT_FSTAT                ::fstat
+#define QT_LSTAT                ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      qt_socket_connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if !defined(_XOPEN_UNIX)
+// Solaris 2.5.1
+// Function usleep() is defined in C library but not declared in header files
+// on Solaris 2.5.1. Not really a surprise, usleep() is specified by XPG4v2
+// and XPG4v2 is only supported by Solaris 2.6 and better.
+// Function gethostname() is also defined in C library but not declared in
+// header files on Solaris 2.5.1.
+typedef unsigned int useconds_t;
+extern "C" int usleep(useconds_t);
+extern "C" int gethostname(char *, int);
+#endif
+
+#if defined(_XOPEN_UNIX)
+// Solaris 2.6 and better
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+#ifdef connect
+#undef connect
+#endif
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-g++-64/qmake.conf b/zouba/qt4-maemo5/mkspecs/solaris-g++-64/qmake.conf
new file mode 100644 (file)
index 0000000..e89aff3
--- /dev/null
@@ -0,0 +1,111 @@
+#
+# qmake configuration for solaris-g++64
+#
+# The X11 header files used to be broken on Solaris until patches were
+# released in early 2001 for Solaris 2.6, 7, and 8. On Solaris 2.5.1
+# or non-patched systems -fpermissive works around the incompatibility
+# between GCC 2.95 or better and Solaris - but we still get warnings
+# because we don't use -isystem.
+#
+# From the standards(5) manual page:
+#      The XNS4 specification is safe for use only in ILP32 (32-bit)
+#      environments and should not be used for LP64 (64-bit)
+#      application environments. Use XNS5, which has LP64-clean
+#      interfaces that are portable across ILP32 and LP64 environments.
+#      [...]
+#      For platforms supporting the LP64 (64-bit) programming environment
+#      where the SC5.0 Compilers have been installed, SUSv2-conforming LP64
+#      applications using XNS5 library calls should be built with command
+#      lines of the form:
+#              c89 $(getconf XBS5_LP64_OFF64_CFLAGS) -D_XOPEN_SOURCE=500 \
+#                  $(getconf XBS5_LP64_OFF64_LDFLAGS) foo.c -o foo \
+#                  $(getconf XBS5_LP64_OFF64_LIBS) -lxnet
+# So it appears that _XOPEN_SOURCE=500 should be defined when building
+# 64-bit applications (on Solaris 7 and better). But then __EXTENSIONS__
+# should be defined as well to recover all the default system interface.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -m64 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           = /usr/sfw/include
+QMAKE_LIBDIR           = /usr/sfw/lib/64
+QMAKE_INCDIR_X11       = /usr/openwin/include
+QMAKE_LIBDIR_X11       = /usr/openwin/lib/64
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/openwin/include
+QMAKE_LIBDIR_OPENGL    = /usr/openwin/lib/64
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           = -m64
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -h$$LITERAL_WHITESPACE
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -z defs
+QMAKE_RPATH            = -Wl,-R,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lresolv -lsocket -lnsl
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         =
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread -lrt
+QMAKE_LIBS_NETWORK      = -lresolv -lsocket -lxnet -lnsl
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-g++-64/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/solaris-g++-64/qplatformdefs.h
new file mode 100644 (file)
index 0000000..d7aebaf
--- /dev/null
@@ -0,0 +1,172 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+#ifndef _POSIX_PTHREAD_SEMANTICS
+#define _POSIX_PTHREAD_SEMANTICS
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+// On 64-bit platforms sockets use socklen_t
+#define QT_SOCKLEN_T           socklen_t
+
+// Only Solaris 7 and better support 64-bit
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+// Solaris redefines connect -> __xnet_connect with _XOPEN_SOURCE_EXTENDED
+static inline int qt_socket_connect(int s, struct sockaddr *addr, QT_SOCKLEN_T addrlen)
+{ return ::connect(s, addr, addrlen); }
+#if defined (connect)
+# undef connect
+#endif
+
+// Solaris redefines bind -> __xnet_bind with _XOPEN_SOURCE_EXTENDED
+static inline int qt_socket_bind(int s, struct sockaddr *addr, QT_SOCKLEN_T addrlen)
+{ return ::bind(s, addr, addrlen); }
+#if defined(bind)
+# undef bind
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      qt_socket_connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/solaris-g++/qmake.conf
new file mode 100644 (file)
index 0000000..bce0889
--- /dev/null
@@ -0,0 +1,94 @@
+#
+# qmake configuration for solaris-g++
+#
+# The X11 header files used to be broken on Solaris until patches were
+# released in early 2001 for Solaris 2.6, 7, and 8. On Solaris 2.5.1
+# or non-patched systems -fpermissive works around the incompatibility
+# between GCC 2.95 or better and Solaris - but we still get warnings
+# because we don't use -isystem.
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           = /usr/sfw/include
+QMAKE_LIBDIR           = /usr/sfw/lib
+QMAKE_INCDIR_X11       = /usr/openwin/include
+QMAKE_LIBDIR_X11       = /usr/openwin/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /usr/openwin/include
+QMAKE_LIBDIR_OPENGL    = /usr/openwin/lib
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     = -g
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -h$$LITERAL_WHITESPACE
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_NOUNDEF   = -z defs
+QMAKE_RPATH            = -Wl,-R,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lresolv -lsocket -lnsl
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_NIS         =
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread -lrt
+QMAKE_LIBS_NETWORK      = -lresolv -lsocket -lxnet -lnsl
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/solaris-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/solaris-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..9984a38
--- /dev/null
@@ -0,0 +1,194 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+#ifndef _POSIX_PTHREAD_SEMANTICS
+#define _POSIX_PTHREAD_SEMANTICS
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) && (_XOPEN_VERSION-0 >= 500)
+// Solaris 7 and better with specific feature test macros
+#define QT_SOCKLEN_T            socklen_t
+#elif defined(_XOPEN_SOURCE_EXTENDED) && defined(_XOPEN_UNIX)
+// Solaris 2.6 and better with specific feature test macros
+#define QT_SOCKLEN_T            size_t
+#else
+// always this case in practice
+#define QT_SOCKLEN_T            int
+#endif
+
+// Solaris redefines connect -> __xnet_connect with _XOPEN_SOURCE_EXTENDED
+static inline int qt_socket_connect(int s, struct sockaddr *addr, QT_SOCKLEN_T addrlen)
+{ return  ::connect(s, addr, addrlen); }
+#if defined (connect)
+# undef connect
+#endif
+
+// Solaris redefines bind -> __xnet_bind with _XOPEN_SOURCE_EXTENDED
+static inline int qt_socket_bind(int s, struct sockaddr *addr, QT_SOCKLEN_T addrlen)
+{ return ::bind(s, addr, addrlen); }
+#if defined(bind)
+# undef bind
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      qt_socket_connect
+#define QT_SOCKET_BIND         qt_socket_bind
+#define QT_FILENO              fileno
+#define QT_CLOSE                ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if !defined(_XOPEN_UNIX)
+// Solaris 2.5.1
+// Function usleep() is defined in C library but not declared in header files
+// on Solaris 2.5.1. Not really a surprise, usleep() is specified by XPG4v2
+// and XPG4v2 is only supported by Solaris 2.6 and better.
+// Function gethostname() is also defined in C library but not declared in
+// header files on Solaris 2.5.1.
+typedef unsigned int useconds_t;
+extern "C" int usleep(useconds_t);
+extern "C" int gethostname(char *, int);
+#endif
+
+#if defined(_XOPEN_UNIX)
+// Solaris 2.6 and better
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/symbian-abld/qmake.conf b/zouba/qt4-maemo5/mkspecs/symbian-abld/qmake.conf
new file mode 100644 (file)
index 0000000..499bf63
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# qmake configuration for symbian-abld
+#
+# Written for SYMBIAN_ABLD
+#
+
+MAKEFILE_GENERATOR     = SYMBIAN_ABLD
+
+include(../common/symbian/symbian.conf)
diff --git a/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_emulator_deployment.flm b/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_emulator_deployment.flm
new file mode 100644 (file)
index 0000000..3defe30
--- /dev/null
@@ -0,0 +1,39 @@
+# /****************************************************************************
+# **
+# ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+# ** Contact: Nokia Corporation (qt-info@nokia.com)
+# **
+# ** This file is part of symbian-sbsv2 mkspec.
+# **
+# ****************************************************************************/
+
+include $(FLMHOME)/metaflm.mk
+
+SINGLETON:=$(call sanitise,TARGET_$(DEPLOY_TARGET))
+CLEAN_TARGET:=
+
+define qmake_emulator_deployment
+$(ALLTARGET):: $(1)
+FINAL::$(1)
+
+# Prevent duplicate targets from being created
+$(SINGLETON):=1
+
+CLEAN_TARGET:=$(1)
+
+$(1): $(2)
+       $(call startrule,qmake_emulator_deployment) \
+       $(GNUCP) --no-preserve=mode $(2) "$$@" && \
+       $(GNUCHMOD) a+rw "$$@" \
+       $(call endrule,qmake_emulator_deployment)       
+endef
+
+ifeq ($($(SINGLETON)),)
+$(eval $(call qmake_emulator_deployment, $(subst $(CHAR_SPACE),\$(CHAR_SPACE),$(DEPLOY_TARGET)), $(subst $(CHAR_SPACE),\$(CHAR_SPACE),$(DEPLOY_SOURCE))))
+$(call makepath,$(dir $(DEPLOY_TARGET)))
+$(eval $(call GenerateStandardCleanTarget,$(CLEAN_TARGET),''))
+endif  
+
+
+
+
diff --git a/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_extra_pre_targetdep.flm b/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_extra_pre_targetdep.flm
new file mode 100644 (file)
index 0000000..79ab8cb
--- /dev/null
@@ -0,0 +1,35 @@
+# /****************************************************************************
+# **
+# ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+# ** Contact: Nokia Corporation (qt-info@nokia.com)
+# **
+# ** This file is part of symbian-sbsv2 mkspec.
+# **
+# ****************************************************************************/
+
+include $(FLMHOME)/metaflm.mk
+
+SINGLETON:=$(call sanitise,TARGET_$(PREDEP_TARGET))
+
+define qmake_extra_pre_targetdep
+$(ALLTARGET):: $(PREDEP_TARGET)
+EXPORT:: $(PREDEP_TARGET)
+LIBRARY:: $(PREDEP_TARGET)
+TARGET:: $(PREDEP_TARGET)
+
+# Prevent duplicate targets from being created
+$(SINGLETON):=1
+
+$(PREDEP_TARGET): $(DEPS) 
+       $(call startrule,qmake_extra_pre_targetdep) \
+       $(COMMAND) \
+       $(call endrule,qmake_extra_pre_targetdep)
+endef
+
+ifeq ($($(SINGLETON)),)
+$(eval $(qmake_extra_pre_targetdep))
+$(eval $(call GenerateStandardCleanTarget,$(PREDEP_TARGET),''))
+endif  
+
+
+
diff --git a/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_post_link.flm b/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_post_link.flm
new file mode 100644 (file)
index 0000000..8ad89e7
--- /dev/null
@@ -0,0 +1,34 @@
+# /****************************************************************************
+# **
+# ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+# ** Contact: Nokia Corporation (qt-info@nokia.com)
+# **
+# ** This file is part of symbian-sbsv2 mkspec.
+# **
+# ****************************************************************************/
+
+include $(FLMHOME)/metaflm.mk
+
+POST_LINK_TARGET:=POST_LINK_$(PLATFORM_PATH)_$(CFG_PATH)_$(call sanitise,$(LINK_TARGET))
+POST_LINK_DEP:=$(EPOCROOT)/epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/$(LINK_TARGET)
+
+# Passing $(PLATFORM_PATH) etc. variables in FLM options makes sbsv2 toolchain to double the dollar signs, 
+# requiring evaluating them twice in order to get desired values, 
+# so do an extra evaluation before using the command.
+define command_fixer
+       THE_COMMAND:=$(POST_LINK_CMD)
+endef
+
+define qmake_post_link
+$(ALLTARGET):: $(POST_LINK_TARGET)
+FINAL:: $(POST_LINK_TARGET)
+
+$(POST_LINK_TARGET): $(POST_LINK_DEP)
+       $(call startrule,qmake_post_link) \
+       $(THE_COMMAND) \
+       $(call endrule,qmake_post_link)
+endef
+
+$(eval $(command_fixer))
+$(eval $(qmake_post_link))
+
diff --git a/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm b/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm
new file mode 100644 (file)
index 0000000..d952f8f
--- /dev/null
@@ -0,0 +1,49 @@
+# /****************************************************************************
+# **
+# ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+# ** Contact: Nokia Corporation (qt-info@nokia.com)
+# **
+# ** This file is part of symbian-sbsv2 mkspec.
+# **
+# ****************************************************************************/
+
+include $(FLMHOME)/metaflm.mk
+
+SINGLETON:=$(call sanitise,TSTORE_SINGLETON_$(EXTENSION_ROOT))
+
+ifeq ($($(SINGLETON)),)
+# Prevent duplicate targets from being created, as that can lead to build breaks
+# in multiprocessor systems if two or more targets try to write to .make.cache at
+# the same time.
+$(SINGLETON):=1
+
+STORE_BUILD_TARGET:=$(call sanitise,TSTORE_BUILD_$(PLATFORM_PATH)_$(CFG_PATH)_$(EXTENSION_ROOT))
+CACHE_FILENAME:=$(EXTENSION_ROOT)/.make.cache
+
+ifeq "$(CFG_PATH)" "udeb"
+VISUAL_CFG:=DEBUG
+else
+VISUAL_CFG:=RELEASE
+endif
+
+define qmake_store_build
+FINAL:: $(STORE_BUILD_TARGET)
+
+$(STORE_BUILD_TARGET):
+       $(call startrule,qmake_store_build) \
+       echo "# ==============================================================================" > $(CACHE_FILENAME) && \
+       echo "# This file is generated by make and should not be modified by the user" >> $(CACHE_FILENAME) && \
+       echo "#  Name        : .make.cache" >> $(CACHE_FILENAME) && \
+       echo "#  Part of     : " >> $(CACHE_FILENAME) && \
+       echo "#  Description : This file is used to cache last build target for" >> $(CACHE_FILENAME) && \
+       echo "#                make sis target." >> $(CACHE_FILENAME) && \
+       echo "#  Version     : " >> $(CACHE_FILENAME) && \
+       echo "# ==============================================================================" >> $(CACHE_FILENAME) && \
+       echo QT_SIS_TARGET ?= $(VISUAL_CFG)-$(PLATFORM_PATH) >> $(CACHE_FILENAME) \
+       $(call endrule,qmake_store_build)
+endef
+
+$(eval $(qmake_store_build))
+$(eval $(call GenerateStandardCleanTarget,$(CACHE_FILENAME),''))
+endif
+
diff --git a/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qt.xml b/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/flm/qt/qt.xml
new file mode 100644 (file)
index 0000000..904f113
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+# /****************************************************************************
+# **
+# ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+# ** Contact: Nokia Corporation (qt-info@nokia.com)
+# **
+# ** This file is part of symbian-sbsv2 mkspec.
+# **
+# ****************************************************************************/
+-->
+
+<build xmlns="http://symbian.com/xml/build"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://symbian.com/xml/build http://symbian.com/xml/build/2_0.xsd">
+
+       <!-- Extension interfaces : replacements for Template Extension Makefiles -->
+    
+    <interface name="qt.qmake_extra_pre_targetdep" extends="Symbian.UserFLM"
+                flm="qmake_extra_pre_targetdep.flm">
+        <param name='PREDEP_TARGET' />
+        <param name='DEPS' default = '' />
+        <param name='COMMAND' default = '' />
+       </interface>
+    
+    <interface name="qt.qmake_emulator_deployment" extends="Symbian.UserFLM"
+                flm="qmake_emulator_deployment.flm">
+        <param name='DEPLOY_SOURCE' />
+        <param name='DEPLOY_TARGET' />
+    </interface>
+
+    <interface name="qt.qmake_post_link" extends="Symbian.UserFLM"
+                flm="qmake_post_link.flm">
+        <param name='POST_LINK_CMD' />
+        <param name='LINK_TARGET' />
+    </interface>
+
+    <interface name="qt.qmake_store_build" extends="Symbian.UserFLM"
+                flm="qmake_store_build.flm">
+    </interface>    
+</build>
diff --git a/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/qmake.conf b/zouba/qt4-maemo5/mkspecs/symbian-sbsv2/qmake.conf
new file mode 100644 (file)
index 0000000..0a5e878
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# qmake configuration for symbian-sbsv2
+#
+# Written for SYMBIAN_SBSV2
+#
+
+MAKEFILE_GENERATOR  = SYMBIAN_SBSV2
+
+include(../common/symbian/symbian.conf)
diff --git a/zouba/qt4-maemo5/mkspecs/tru64-cxx/qmake.conf b/zouba/qt4-maemo5/mkspecs/tru64-cxx/qmake.conf
new file mode 100644 (file)
index 0000000..8cef84d
--- /dev/null
@@ -0,0 +1,83 @@
+#
+# qmake configuration for tru64-cxx
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl plugin_no_soname
+QT                     += core gui
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  =
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     =
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Olimit 1000
+QMAKE_CFLAGS_THREAD    = -pthread
+
+QMAKE_CXX              = cxx
+QMAKE_CXXFLAGS         = -x cxx -model ansi $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = cxx
+QMAKE_LINK_SHLIB       = cxx
+QMAKE_LFLAGS           = -model ansi
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_THREAD    = -pthread
+QMAKE_LFLAGS_SONAME    = -soname$$LITERAL_WHITESPACE
+QMAKE_RPATH             = -rpath$$LITERAL_WHITESPACE
+
+QMAKE_LIBS             = -lm
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lrt
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/tru64-cxx/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/tru64-cxx/qplatformdefs.h
new file mode 100644 (file)
index 0000000..54fb139
--- /dev/null
@@ -0,0 +1,147 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#ifndef QT_NO_THREAD
+#include <pthread.h>
+#endif
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/select.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
+// Not available in the <unistd.h> header file of Tru64 4.0F.
+// Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
+extern "C" int usleep(useconds_t);
+#endif
+
+#if defined(_POSIX_PII_SOCKET)
+#define QT_SOCKLEN_T           socklen_t
+#elif defined(_XOPEN_SOURCE_EXTENDED)
+#define QT_SOCKLEN_T           size_t
+#else
+#define QT_SOCKLEN_T           int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 400)
+// Tru64 5.0 and better
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/tru64-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/tru64-g++/qmake.conf
new file mode 100644 (file)
index 0000000..7749013
--- /dev/null
@@ -0,0 +1,85 @@
+#
+# qmake configuration for tru64-g++
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl plugin_no_soname
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_THREAD    =
+QMAKE_LFLAGS_SONAME    = -Wl,-soname,
+QMAKE_RPATH             = -Wl,-rpath,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lpthread -lexc -lrt
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/tru64-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/tru64-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..44c23f1
--- /dev/null
@@ -0,0 +1,147 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#ifndef QT_NO_THREAD
+#include <pthread.h>
+#endif
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/select.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
+// Not available in the <unistd.h> header file of Tru64 4.0F.
+// Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
+extern "C" int usleep(useconds_t);
+#endif
+
+#if defined(_POSIX_PII_SOCKET)
+#  define QT_SOCKLEN_T         socklen_t
+#elif defined(_XOPEN_SOURCE_EXTENDED)
+#  define QT_SOCKLEN_T         size_t
+#else
+#  define QT_SOCKLEN_T         int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 400)
+// Tru64 5.0 and better
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+#endif
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/unixware-cc/qmake.conf b/zouba/qt4-maemo5/mkspecs/unixware-cc/qmake.conf
new file mode 100644 (file)
index 0000000..978aaa1
--- /dev/null
@@ -0,0 +1,88 @@
+#
+# qmake configuration for unixware-cc
+#
+# Written for UnixWare 7 with UDK or OUDK
+#
+# -Wf,--diag_suppress,838
+#      turns off warning about missing return types in X headers
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = cc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_WARN_ON   =
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -KPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wf,--diag_suppress,111 -Wf,--diag_suppress,177
+QMAKE_CFLAGS_THREAD    = -Kthread
+
+QMAKE_CXX              = CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE -Tused
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       = /usr/X/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = CC
+QMAKE_LINK_SHLIB       = CC
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -G
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    = -h$$LITERAL_WHITESPACE
+QMAKE_LFLAGS_THREAD    = -Kthread
+QMAKE_RPATH            = -R
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lresolv -lsocket -lnsl -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lXt
+QMAKE_LIBS_OPENGL_QT   = -lGL
+
+QMAKE_LIBS_THREAD      =
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unixware-cc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unixware-cc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..e314713
--- /dev/null
@@ -0,0 +1,130 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           size_t
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/unixware-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unixware-g++/qmake.conf
new file mode 100644 (file)
index 0000000..ce1a0f1
--- /dev/null
@@ -0,0 +1,87 @@
+#
+# qmake configuration for unixware-g++
+#
+# Written for UnixWare 7 with OSTK
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = yacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall -W
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_SHLIB     = -fPIC
+QMAKE_CFLAGS_STATIC_LIB        = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_THREAD    =
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   = $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       =
+QMAKE_LIBDIR_X11       = /usr/X/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    =
+QMAKE_LIBDIR_OPENGL    =
+
+QMAKE_LINK             = g++
+QMAKE_LINK_SHLIB       = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LINK_C_SHLIB     = gcc
+QMAKE_LFLAGS           =
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_SHLIB     = -shared
+QMAKE_LFLAGS_PLUGIN    = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    =
+QMAKE_LFLAGS_THREAD    =
+QMAKE_RPATH            = -Wl,-R,
+
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     = -ldl
+QMAKE_LIBS_X11         = -lXext -lX11 -lresolv -lsocket -lnsl -lm
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL -lXt
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      = -lthread
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cq
+QMAKE_OBJCOPY           = objcopy
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+include(../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unixware-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unixware-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..e314713
--- /dev/null
@@ -0,0 +1,130 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+#include <dlfcn.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           size_t
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/linux-host-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/linux-host-g++/qmake.conf
new file mode 100644 (file)
index 0000000..8a480c4
--- /dev/null
@@ -0,0 +1,138 @@
+#
+# QMake configuration for Scratchbox's host-gcc compiler.
+#
+# This mkspec can be used as the platform mkspec when building
+# Qt in scratchbox. If used as such, qmake and similar host
+# tools will be compiled for the host architecture (E.g. x86)
+# and thus not run in the emulator. This results in a 
+# significant improvement in build times.
+# 
+# Note: The mkspec copied & pasted parts from common/gcc.conf
+#       and common/linux.conf as setBootstrapVariable in
+#       configure has a bug which stops re-assignments working
+#       for QMake variables (I.e. "QMAKE_foo = bar" is broken).
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+#
+# qmake configuration for common gcc
+#
+
+QMAKE_CC                = host-gcc
+QMAKE_CFLAGS            += -pipe
+QMAKE_CFLAGS_DEPS       += -M
+QMAKE_CFLAGS_WARN_ON    += -Wall -W
+QMAKE_CFLAGS_WARN_OFF   += -w
+QMAKE_CFLAGS_RELEASE    += -O2
+QMAKE_CFLAGS_DEBUG      += -g
+QMAKE_CFLAGS_SHLIB      += -fPIC
+QMAKE_CFLAGS_STATIC_LIB += -fPIC
+QMAKE_CFLAGS_YACC       += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+
+QMAKE_CXX               = host-g++
+QMAKE_CXXFLAGS          += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS     += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON  += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE  += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG    += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB    += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC     += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK              = host-g++
+QMAKE_LINK_SHLIB        = host-g++
+QMAKE_LINK_C            = host-gcc
+QMAKE_LINK_C_SHLIB      = host-gcc
+QMAKE_LFLAGS            +=
+QMAKE_LFLAGS_RELEASE    += -Wl,-O1
+QMAKE_LFLAGS_DEBUG      +=
+QMAKE_LFLAGS_APP        +=
+QMAKE_LFLAGS_SHLIB      += -shared
+QMAKE_LFLAGS_PLUGIN     += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME     += -Wl,-soname,
+QMAKE_LFLAGS_THREAD     +=
+QMAKE_LFLAGS_NOUNDEF    += -Wl,--no-undefined
+QMAKE_RPATH             = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
+
+#
+# qmake configuration for common linux
+#
+
+QMAKE_CFLAGS_THREAD    += -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR          =
+QMAKE_LIBDIR          =
+QMAKE_INCDIR_X11      = /usr/X11R6/include
+QMAKE_LIBDIR_X11      = /usr/X11R6/lib
+QMAKE_INCDIR_QT       = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT       = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL   = /usr/X11R6/include
+QMAKE_LIBDIR_OPENGL   = /usr/X11R6/lib
+QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_OPENGL_ES1CL = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES1CL = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL
+QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL
+QMAKE_INCDIR_EGL      = 
+QMAKE_LIBDIR_EGL      =
+QMAKE_INCDIR_OPENVG   = 
+QMAKE_LIBDIR_OPENVG   =
+
+QMAKE_LIBS            =
+QMAKE_LIBS_DYNLOAD    = -ldl
+QMAKE_LIBS_X11        = -lXext -lX11 -lm
+QMAKE_LIBS_X11SM      = -lSM -lICE
+QMAKE_LIBS_NIS        = -lnsl
+QMAKE_LIBS_EGL        = -lEGL
+QMAKE_LIBS_OPENGL     = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT  = -lGL
+QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM
+QMAKE_LIBS_OPENGL_ES1CL = -lGLES_CL
+QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
+QMAKE_LIBS_OPENVG     = -lOpenVG
+QMAKE_LIBS_THREAD     = -lpthread
+
+QMAKE_MOC             = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC             = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR              = host-ar cqs
+QMAKE_OBJCOPY         = host-objcopy
+QMAKE_RANLIB          =
+
+QMAKE_TAR             = tar -cf
+QMAKE_GZIP            = gzip -9f
+
+QMAKE_COPY            = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE            = mv -f
+QMAKE_DEL_FILE        = rm -f
+QMAKE_DEL_DIR         = rmdir
+QMAKE_STRIP           = host-strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+QMAKE_INSTALL_FILE    = install -m 644 -p
+QMAKE_INSTALL_PROGRAM = install -m 755 -p
+
+include(../../common/unix.conf)
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/linux-host-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/linux-host-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf
new file mode 100644 (file)
index 0000000..1ade6b9
--- /dev/null
@@ -0,0 +1,34 @@
+#
+# qmake configuration derived from linux-g++
+#
+# This mkspec is intended for use with scratchbox 2 (sb2) and assumes the
+# default sb2 target is set appropriately, or you will have to append the
+# appropriate -t $target argument to sb2
+
+# If you want to use pkg-config you have to explicitly force it by passing
+# -force-pkg-config to configure. You will probably want to export your
+# PKG_CONFIG_PATH shell variable in order for the host pkg-config to
+# correctly query and utilize your targets .pc files (normally stored in
+# $staging/usr/lib/pkgconfig)
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental link_prl
+QT                     += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+
+# modifications to g++.conf
+QMAKE_CC                = sb2 gcc
+QMAKE_CXX               = sb2 g++
+QMAKE_LINK              = sb2 g++
+QMAKE_LINK_SHLIB        = sb2 g++
+
+# modifications to linux.conf
+QMAKE_AR                = sb2 ar cqs
+QMAKE_OBJCOPY           = sb2 objcopy
+QMAKE_STRIP             = sb2 strip
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/linux-scratchbox2-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/linux-scratchbox2-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b0551e5
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qnx-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/qnx-g++/qmake.conf
new file mode 100644 (file)
index 0000000..2e568dc
--- /dev/null
@@ -0,0 +1,59 @@
+#
+# qmake configuration for qnx-g++
+#
+# Written for QNX RTOS v6 with X11
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+include(../common/g++.conf)
+include(../common/unix.conf)
+
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CLFAGS_THREAD
+QMAKE_COMPILER_DEFINES  += __QNXNTO__
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_X11       = /opt/X11R6/include
+QMAKE_LIBDIR_X11       = /opt/X11R6/lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL    = /opt/X11R6/include
+QMAKE_LIBDIR_OPENGL    = /opt/X11R6/lib
+
+#QMAKE_LIBS            = -lunix
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_X11         = -lXext -lX11 -lm -lsocket
+QMAKE_LIBS_X11SM       = -lSM -lICE
+QMAKE_LIBS_OPENGL      = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT   = -lGL
+QMAKE_LIBS_THREAD      =
+QMAKE_LIBS_NETWORK      = -lsocket
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+QMAKE_STRIP           = strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qnx-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/qnx-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..9fe67dd
--- /dev/null
@@ -0,0 +1,174 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+// QNX doesn't have the System V <sys/shm.h> header. This is not a standard
+// POSIX header, it's only documented in the Single UNIX Specification.
+// The preferred POSIX compliant way to share memory is to use the functions
+// in <sys/mman.h> that comply with the POSIX Real Time Interface (1003.1b).
+#include <sys/mman.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+// for htonl
+#include <arpa/inet.h>
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseeko
+#define QT_FTELL                ::ftello
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                off_t
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::lstat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF             struct stat
+#define QT_STATBUF4TSTAT       struct stat
+#define QT_STAT                        ::stat
+#define QT_FSTAT               ::fstat
+#define QT_LSTAT               ::lstat
+#define QT_OPEN                        ::open
+#define QT_TRUNCATE            ::truncate
+#define QT_FTRUNCATE           ::ftruncate
+#define QT_LSEEK               ::lseek
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+#define QT_STAT_LNK            S_IFLNK
+#define QT_SOCKET_CONNECT      ::connect
+#define QT_SOCKET_BIND         ::bind
+#define QT_FILENO              fileno
+#define QT_CLOSE               ::close
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+#define QT_GETCWD              ::getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#define QT_SIGNAL_RETTYPE      void
+#define QT_SIGNAL_ARGS         int
+#define QT_SIGNAL_IGNORE       SIG_IGN
+
+#define QT_SOCKLEN_T           socklen_t
+
+#define QT_SNPRINTF            ::snprintf
+#define QT_VSNPRINTF           ::vsnprintf
+
+// QNX6 doesn't have getpagesize()
+inline int getpagesize()
+{
+    return ::sysconf(_SC_PAGESIZE);
+}
+
+#include <stdlib.h>
+
+// QNX6 doesn't have strtof - use strtod instead
+inline float strtof(const char *b, char **e)
+{
+    return float(strtod(b, e));
+}
+
+#define QT_QWS_TEMP_DIR QString::fromLatin1(qgetenv("TMP"))
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-generic-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-generic-g++/qmake.conf
new file mode 100644 (file)
index 0000000..51fe697
--- /dev/null
@@ -0,0 +1,102 @@
+#
+# qmake configuration for qnx-g++
+#
+# Written for QNX RTOS v6
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+#
+# qmake configuration for common gcc
+#
+
+QMAKE_CC               = ntox86-gcc-3.3.5
+QMAKE_CFLAGS           += -pipe
+QMAKE_CFLAGS_DEPS      += -M
+QMAKE_CFLAGS_WARN_ON   += -Wall -W
+QMAKE_CFLAGS_WARN_OFF  += -w
+QMAKE_CFLAGS_RELEASE   += -O2
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     += -fPIC
+QMAKE_CFLAGS_STATIC_LIB        += -fPIC
+QMAKE_CFLAGS_YACC      += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+QMAKE_COMPILER_DEFINES  += __QNXNTO__
+
+QMAKE_CXX              = ntox86-g++-3.3.5
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK             = ntox86-gcc-3.3.5
+QMAKE_LINK_SHLIB       = ntox86-gcc-3.3.5
+QMAKE_LFLAGS           += -Wl,--no-undefined
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       +=
+QMAKE_LFLAGS_SHLIB     += -shared
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    += -Wl,-soname,
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
+
+#include(../../common/g++.conf)
+include(../../common/unix.conf)
+
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CLFAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+#QMAKE_LIBS            = -lunix
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_THREAD      =
+QMAKE_LIBS_NETWORK      += -lsocket
+QMAKE_LIBS_GUI          += -lsocket
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+QMAKE_STRIP           = strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-generic-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-generic-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..5912a51
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../qnx-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-i386-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-i386-g++/qmake.conf
new file mode 100644 (file)
index 0000000..fffb80f
--- /dev/null
@@ -0,0 +1,97 @@
+#
+# qmake configuration for qnx-g++
+#
+# Written for QNX RTOS v6
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = ntox86-gcc-4.2.4
+QMAKE_CFLAGS           += -pipe
+QMAKE_CFLAGS_DEPS      += -M
+QMAKE_CFLAGS_WARN_ON   += -Wall -W
+QMAKE_CFLAGS_WARN_OFF  += -w
+QMAKE_CFLAGS_RELEASE   += -O2
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     += -fPIC
+QMAKE_CFLAGS_STATIC_LIB        += -fPIC
+QMAKE_CFLAGS_YACC      += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+QMAKE_COMPILER_DEFINES  += __QNXNTO__
+
+QMAKE_CXX              = ntox86-g++-4.2.4
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK             = ntox86-g++-4.2.4
+QMAKE_LINK_SHLIB       = ntox86-g++-4.2.4
+QMAKE_LFLAGS           += -Wl,--no-undefined
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       +=
+QMAKE_LFLAGS_SHLIB     += -shared
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    += -Wl,-soname,
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
+
+include(../../../common/unix.conf)
+
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+#QMAKE_LIBS            = -lunix
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_THREAD      =
+QMAKE_LIBS_NETWORK      += -lsocket
+QMAKE_LIBS_GUI          += -lsocket
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+QMAKE_STRIP           = strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-i386-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-i386-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..5912a51
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../qnx-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-ppc-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-ppc-g++/qmake.conf
new file mode 100644 (file)
index 0000000..56a9c66
--- /dev/null
@@ -0,0 +1,97 @@
+#
+# qmake configuration for qnx-g++
+#
+# Written for QNX RTOS v6
+#
+
+MAKEFILE_GENERATOR     = UNIX
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl
+QT                     += core gui
+
+QMAKE_CC               = ntoppc-gcc-4.3.3
+QMAKE_CFLAGS           += -pipe
+QMAKE_CFLAGS_DEPS      += -M
+QMAKE_CFLAGS_WARN_ON   += -Wall -W
+QMAKE_CFLAGS_WARN_OFF  += -w
+QMAKE_CFLAGS_RELEASE   += -O2
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     += -fPIC
+QMAKE_CFLAGS_STATIC_LIB        += -fPIC
+QMAKE_CFLAGS_YACC      += -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
+QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
+QMAKE_COMPILER_DEFINES  += __QNXNTO__
+
+QMAKE_CXX              = ntoppc-g++-4.3.3
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK             = ntoppc-g++-4.3.3
+QMAKE_LINK_SHLIB       = ntoppc-g++-4.3.3
+QMAKE_LFLAGS           += -Wl,--no-undefined
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       +=
+QMAKE_LFLAGS_SHLIB     += -shared
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    += -Wl,-soname,
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_RPATH            = -Wl,-rpath,
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
+QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
+
+include(../../common/unix.conf)
+
+QMAKE_CFLAGS_THREAD    = -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CLFAGS_THREAD
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+#QMAKE_LIBS            = -lunix
+QMAKE_LIBS             =
+QMAKE_LIBS_DYNLOAD     =
+QMAKE_LIBS_THREAD      =
+QMAKE_LIBS_NETWORK      += -lsocket
+QMAKE_LIBS_GUI          += -lsocket
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC              = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR               = ar cqs
+QMAKE_RANLIB           =
+
+QMAKE_TAR              = tar -cf
+QMAKE_GZIP             = gzip -9f
+
+QMAKE_COPY             = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE             = mv -f
+QMAKE_DEL_FILE         = rm -f
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = test -d
+QMAKE_MKDIR            = mkdir -p
+QMAKE_STRIP           = strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-ppc-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/qws/qnx-ppc-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..5912a51
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../qnx-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-dcc/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-dcc/qmake.conf
new file mode 100644 (file)
index 0000000..a8f7e49
--- /dev/null
@@ -0,0 +1,111 @@
+#
+# qmake configuration for vxworks-ppc-dcc
+#
+
+MAKEFILE_GENERATOR  = UNIX
+TEMPLATE            = app
+CONFIG             += qt warn_on release incremental link_prl vxworks
+QT                 += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+
+VXWORKS_ARCH        = ppc
+VXWORKS_CPU         = PPC32
+VXWORKS_DIAB_SPEC   = -tPPC7400FV:vxworks66
+VXWORKS_ARCH_MUNCH  = ppc
+
+QMAKE_CC               = dcc
+QMAKE_CFLAGS           += $$VXWORKS_DIAB_SPEC -Xkeywords=0x0 -Xcode-absolute-far -Xansi -Xforce-declarations -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip -DCPU=$$upper($$VXWORKS_ARCH) -DVX_CPU_FAMILY=$$VXWORKS_ARCH -DTOOL_FAMILY=diab -DTOOL=diab -D_WRS_KERNEL -DVXWORKS -D_VSB_CONFIG_FILE=\'<../lib/h/config/vsbConfig.h>\'
+QMAKE_CFLAGS_DEPS      +=
+QMAKE_CFLAGS_WARN_ON   +=
+QMAKE_CFLAGS_WARN_OFF  += -Xsuppress-warnings
+QMAKE_CFLAGS_RELEASE   +=
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     +=
+QMAKE_CFLAGS_STATIC_LIB        +=
+QMAKE_CFLAGS_YACC      +=
+QMAKE_CFLAGS_HIDESYMS   +=
+QMAKE_CFLAGS_PRECOMPILE +=
+QMAKE_CFLAGS_USE_PRECOMPILE +=
+
+QMAKE_CXX              = dcc
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS
+QMAKE_CXXFLAGS_PRECOMPILE +=
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK             = dld
+QMAKE_LINK_SHLIB       = dld
+QMAKE_LFLAGS           += $$VXWORKS_DIAB_SPEC
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       += -r5
+QMAKE_LFLAGS_SHLIB     +=
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    +=
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_LFLAGS_NOUNDEF   +=
+QMAKE_RPATH            =
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC =
+QMAKE_LFLAGS_DYNAMIC_LIST =
+
+QMAKE_CFLAGS_THREAD    += -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR          =
+QMAKE_LIBDIR          =
+QMAKE_INCDIR_X11      = $(WIND_HOME)/GSS/include
+QMAKE_LIBDIR_X11      = $(WIND_HOME)/GSS/lib
+QMAKE_INCDIR_QT       = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT       = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL   = $$QMAKE_INCDIR_X11
+QMAKE_LIBDIR_OPENGL   = $$QMAKE_LIBDIR_X11
+
+QMAKE_LIBS            =
+QMAKE_LIBS_DYNLOAD    =
+QMAKE_LIBS_X11        = -lXext -lX11
+QMAKE_LIBS_X11SM      = -lSM -lICE
+QMAKE_LIBS_NIS        = -lnsl
+QMAKE_LIBS_OPENGL     = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT  = -lGL
+QMAKE_LIBS_THREAD     =
+QMAKE_LIBS_NETWORK    = # -lnetwrap # only needed if kernel is missing gethostbyname and friends
+
+
+QMAKE_MOC             = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC             = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR              = ar cqs
+QMAKE_OBJCOPY         = objcopy
+QMAKE_RANLIB          =
+
+QMAKE_TAR             = tar -cf
+QMAKE_GZIP            = gzip -9f
+
+QMAKE_COPY            = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE            = mv -f
+QMAKE_DEL_FILE        = rm -f
+QMAKE_DEL_DIR         = rmdir
+QMAKE_STRIP           = strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+QMAKE_INSTALL_FILE    = install -m 644 -p
+QMAKE_INSTALL_PROGRAM = install -m 755 -p
+
+include(../../common/unix.conf)
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-dcc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-dcc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..0cdba67
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../vxworks-simpentium-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-g++/qmake.conf
new file mode 100644 (file)
index 0000000..be8c13d
--- /dev/null
@@ -0,0 +1,37 @@
+#
+# qmake configuration for vxworks-simpentium-g++
+#
+
+MAKEFILE_GENERATOR  = UNIX
+TEMPLATE            = app
+CONFIG             += qt warn_on release incremental link_prl vxworks
+QT                 += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+DEFINES            += VXWORKS
+
+VXWORKS_ARCH        = ppc
+VXWORKS_CPU         = PPC32
+VXWORKS_ARCH_MUNCH  = ppc
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+
+QMAKE_CC            = cc$$VXWORKS_ARCH_MUNCH
+QMAKE_CFLAGS        = -fno-builtin -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip -DCPU=$$upper($$VXWORKS_ARCH) -DVX_CPU_FAMILY=$$VXWORKS_ARCH -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D_VSB_CONFIG_FILE=\'<../lib/h/config/vsbConfig.h>\'
+QMAKE_CFLAGS_SHLIB  =  # remove -fPIC
+QMAKE_CFLAGS_STATIC_LIB  =  # remove -fPIC
+QMAKE_CXX           = c++$$VXWORKS_ARCH_MUNCH
+QMAKE_CXXFLAGS      = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_SHLIB=  # remove -fPIC
+QMAKE_CXXFLAGS_STATIC_LIB=  # remove -fPIC
+QMAKE_LINK          = $$QMAKE_CXX
+QMAKE_LINK_SHLIB    = $$QMAKE_CXX
+QMAKE_LFLAGS_SHLIB  = -Wl,-Ur -L $(WIND_BASE)/target/lib/$$VXWORKS_ARCH/$$VXWORKS_CPU/common # remove -shared
+QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_APP   += -Wl,-Ur -L $(WIND_BASE)/target/lib/$$VXWORKS_ARCH/$$VXWORKS_CPU/common
+# QMAKE_LIBS_NETWORK  = # -lnetwrap # only needed if kernel is missing gethostbyname() and friends
+QMAKE_LIBS_DYNLOAD  =
+QMAKE_LIBS_THREAD   =
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-ppc-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..0cdba67
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../vxworks-simpentium-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-dcc/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-dcc/qmake.conf
new file mode 100644 (file)
index 0000000..6228a6b
--- /dev/null
@@ -0,0 +1,110 @@
+#
+# qmake configuration for vxworks-simpentium-dcc
+#
+
+MAKEFILE_GENERATOR  = UNIX
+TEMPLATE            = app
+CONFIG             += qt warn_on release incremental link_prl vxworks
+QT                 += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+
+VXWORKS_ARCH        = simlinux
+VXWORKS_CPU         = SIMLINUX
+VXWORKS_DIAB_SPEC   = -tX86LH:vxworks66
+VXWORKS_ARCH_MUNCH  = pentium
+
+QMAKE_CC               = dcc
+QMAKE_CFLAGS           += $$VXWORKS_DIAB_SPEC -Xkeywords=0x0 -Xcode-absolute-far -Xansi -Xforce-declarations -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip -DCPU=$$upper($$VXWORKS_ARCH) -DVX_CPU_FAMILY=$$VXWORKS_ARCH -DTOOL_FAMILY=diab -DTOOL=diab -D_WRS_KERNEL -DVXWORKS -D_VSB_CONFIG_FILE=\'<../lib/h/config/vsbConfig.h>\'
+QMAKE_CFLAGS_DEPS      +=
+QMAKE_CFLAGS_WARN_ON   +=
+QMAKE_CFLAGS_WARN_OFF  += -Xsuppress-warnings
+QMAKE_CFLAGS_RELEASE   +=
+QMAKE_CFLAGS_DEBUG     += -g
+QMAKE_CFLAGS_SHLIB     +=
+QMAKE_CFLAGS_STATIC_LIB        +=
+QMAKE_CFLAGS_YACC      +=
+QMAKE_CFLAGS_HIDESYMS   +=
+QMAKE_CFLAGS_PRECOMPILE +=
+QMAKE_CFLAGS_USE_PRECOMPILE +=
+
+QMAKE_CXX              = dcc
+QMAKE_CXXFLAGS         += $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    += $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        += $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   += $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_SHLIB   += $$QMAKE_CFLAGS_SHLIB
+QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
+QMAKE_CXXFLAGS_YACC    += $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS
+QMAKE_CXXFLAGS_PRECOMPILE +=
+QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
+QMAKE_LINK             = dld
+QMAKE_LINK_SHLIB       = dld
+QMAKE_LFLAGS           += $$VXWORKS_DIAB_SPEC -L $(WIND_BASE)/target/lib/$$VXWORKS_ARCH/$$VXWORKS_CPU/common
+QMAKE_LFLAGS_RELEASE   +=
+QMAKE_LFLAGS_DEBUG     +=
+QMAKE_LFLAGS_APP       += -r5
+QMAKE_LFLAGS_SHLIB     +=
+QMAKE_LFLAGS_PLUGIN    += $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_SONAME    +=
+QMAKE_LFLAGS_THREAD    +=
+QMAKE_LFLAGS_NOUNDEF   +=
+QMAKE_RPATH            =
+
+QMAKE_PCH_OUTPUT_EXT    = .gch
+
+# -Bsymbolic-functions (ld) support
+QMAKE_LFLAGS_BSYMBOLIC_FUNC =
+QMAKE_LFLAGS_DYNAMIC_LIST =
+
+QMAKE_CFLAGS_THREAD    += -D_REENTRANT
+QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
+
+QMAKE_INCDIR          =
+QMAKE_LIBDIR          =
+QMAKE_INCDIR_X11      = $(WIND_HOME)/GSS/include
+QMAKE_LIBDIR_X11      = $(WIND_HOME)/GSS/lib
+QMAKE_INCDIR_QT       = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT       = $$[QT_INSTALL_LIBS]
+QMAKE_INCDIR_OPENGL   = $$QMAKE_INCDIR_X11
+QMAKE_LIBDIR_OPENGL   = $$QMAKE_LIBDIR_X11
+
+QMAKE_LIBS            =
+QMAKE_LIBS_DYNLOAD    =
+QMAKE_LIBS_X11        = -lXext -lX11
+QMAKE_LIBS_X11SM      = -lSM -lICE
+QMAKE_LIBS_NIS        = -lnsl
+QMAKE_LIBS_OPENGL     = -lGLU -lGL
+QMAKE_LIBS_OPENGL_QT  = -lGL
+QMAKE_LIBS_THREAD     =
+QMAKE_LIBS_NETWORK    = # -lnet # only needed if kernel is missing gethostbyname and friends
+
+QMAKE_MOC             = $$[QT_INSTALL_BINS]/moc
+QMAKE_UIC             = $$[QT_INSTALL_BINS]/uic
+
+QMAKE_AR              = ar cqs
+QMAKE_OBJCOPY         = objcopy
+QMAKE_RANLIB          =
+
+QMAKE_TAR             = tar -cf
+QMAKE_GZIP            = gzip -9f
+
+QMAKE_COPY            = cp -f
+QMAKE_COPY_FILE       = $(COPY)
+QMAKE_COPY_DIR        = $(COPY) -r
+QMAKE_MOVE            = mv -f
+QMAKE_DEL_FILE        = rm -f
+QMAKE_DEL_DIR         = rmdir
+QMAKE_STRIP           = strip
+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
+QMAKE_CHK_DIR_EXISTS  = test -d
+QMAKE_MKDIR           = mkdir -p
+QMAKE_INSTALL_FILE    = install -m 644 -p
+QMAKE_INSTALL_PROGRAM = install -m 755 -p
+
+include(../../common/unix.conf)
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-dcc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-dcc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..0cdba67
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../vxworks-simpentium-g++/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-g++/qmake.conf
new file mode 100644 (file)
index 0000000..29e9c70
--- /dev/null
@@ -0,0 +1,37 @@
+#
+# qmake configuration for vxworks-simpentium-g++
+#
+
+MAKEFILE_GENERATOR  = UNIX
+TEMPLATE            = app
+CONFIG             += qt warn_on release incremental link_prl vxworks
+QT                 += core gui network
+QMAKE_INCREMENTAL_STYLE = sublib
+DEFINES            += VXWORKS
+
+VXWORKS_ARCH        = simlinux
+VXWORKS_CPU         = SIMLINUX
+VXWORKS_ARCH_MUNCH  = pentium
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+
+QMAKE_CC            = cc$$VXWORKS_ARCH_MUNCH
+QMAKE_CFLAGS        = -fno-builtin -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip -DCPU=$$upper($$VXWORKS_ARCH) -DVX_CPU_FAMILY=$$VXWORKS_ARCH -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D_VSB_CONFIG_FILE=\'<../lib/h/config/vsbConfig.h>\'
+QMAKE_CFLAGS_SHLIB  =  # remove -fPIC
+QMAKE_CFLAGS_STATIC_LIB  =  # remove -fPIC
+QMAKE_CXX           = c++$$VXWORKS_ARCH_MUNCH
+QMAKE_CXXFLAGS      = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_SHLIB=  # remove -fPIC
+QMAKE_CXXFLAGS_STATIC_LIB=  # remove -fPIC
+QMAKE_LINK          = $$QMAKE_CXX
+QMAKE_LINK_SHLIB    = $$QMAKE_CXX
+QMAKE_LFLAGS_SHLIB  = -Wl,-Ur -L $(WIND_BASE)/target/lib/$$VXWORKS_ARCH/$$VXWORKS_CPU/common # remove -shared
+QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
+QMAKE_LFLAGS_APP   += -Wl,-Ur -L $(WIND_BASE)/target/lib/$$VXWORKS_ARCH/$$VXWORKS_CPU/common
+QMAKE_LIBS_NETWORK  = # -lnetwrap # only needed if kernel is missing gethostbyname() and friends
+QMAKE_LIBS_DYNLOAD  =
+QMAKE_LIBS_THREAD   =
+
+load(qt_config)
+
diff --git a/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/unsupported/vxworks-simpentium-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..33ffd96
--- /dev/null
@@ -0,0 +1,130 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+#include "qfunctions_vxworks.h"
+
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF              struct stat64
+#define QT_STATBUF4TSTAT        struct stat64
+#define QT_STAT                 ::stat64
+#define QT_FSTAT                ::fstat64
+#define QT_LSTAT                ::stat64
+#define QT_OPEN                 ::open64
+#define QT_TRUNCATE             ::truncate64
+#define QT_FTRUNCATE            ::ftruncate64
+#define QT_LSEEK                ::lseek64
+#else
+#define QT_STATBUF              struct stat
+#define QT_STATBUF4TSTAT        struct stat
+#define QT_STAT                 ::stat
+#define QT_FSTAT                ::fstat
+#define QT_LSTAT                ::stat
+#define QT_OPEN                 ::open
+#define QT_TRUNCATE             ::truncate
+#define QT_FTRUNCATE            ::ftruncate
+#define QT_LSEEK                ::lseek
+#endif
+
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FOPEN                ::fopen64
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#define QT_FGETPOS              ::fgetpos64
+#define QT_FSETPOS              ::fsetpos64
+#define QT_MMAP                 ::mmap64
+#define QT_FPOS_T               fpos64_t
+#define QT_OFF_T                off64_t
+#else
+#define QT_FOPEN                ::fopen
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_MMAP                 ::mmap
+#define QT_FPOS_T               fpos_t
+#define QT_OFF_T                long
+#endif
+
+#define QT_STAT_REG             S_IFREG
+#define QT_STAT_DIR             S_IFDIR
+#define QT_STAT_MASK            S_IFMT
+#define QT_STAT_LNK             S_IFLNK
+#define QT_SOCKET_CONNECT(sd, to, tolen) \
+                                ::connect(sd, (struct sockaddr *) to, tolen)
+#define QT_SOCKET_BIND          ::bind
+#define QT_FILENO               fileno
+#define QT_CLOSE                ::close
+#define QT_READ(fd, buf, len)   ::read(fd, (char*) buf, len)
+#define QT_WRITE(fd, buf, len)  ::write(fd, (char*) buf, len)
+#define QT_ACCESS               ::access
+#define QT_GETCWD               ::getcwd
+#define QT_CHDIR                ::chdir
+#define QT_MKDIR(dir, perm)     ::mkdir(dir)
+#define QT_RMDIR                ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY          O_RDONLY
+#define QT_OPEN_WRONLY          O_WRONLY
+#define QT_OPEN_RDWR            O_RDWR
+#define QT_OPEN_CREAT           O_CREAT
+#define QT_OPEN_TRUNC           O_TRUNC
+#define QT_OPEN_APPEND          O_APPEND
+
+#define QT_SIGNAL_RETTYPE       void
+#define QT_SIGNAL_ARGS          int
+#define QT_SIGNAL_IGNORE        SIG_IGN
+
+// there IS a socklen_t in sys/socket.h (unsigned int),
+// but sockLib.h uses int in all function declaration...
+//#define QT_SOCKLEN_T            socklen_t
+#define QT_SOCKLEN_T            int
+
+#define QT_SNPRINTF             ::snprintf
+#define QT_VSNPRINTF            ::vsnprintf
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/win32-borland/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-borland/qmake.conf
new file mode 100644 (file)
index 0000000..63bf07a
--- /dev/null
@@ -0,0 +1,90 @@
+#
+# qmake configuration for win32-borland
+#
+# Written for Borland C++
+#
+
+MAKEFILE_GENERATOR     = BMAKE
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl copy_dir_files no_empty_targets cd_change_global debug_and_release debug_and_release_target
+QT                     += core gui
+DEFINES                        += UNICODE
+QMAKE_NOFORCE          = 1
+QMAKE_COMPILER_DEFINES  += __BORLANDC__ WIN32
+
+QMAKE_CC               = bcc32
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -tWR -tWM
+QMAKE_CFLAGS_WARN_ON   = -w -w-hid
+QMAKE_CFLAGS_WARN_OFF  = -w-
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -v
+QMAKE_CFLAGS_YACC      =
+QMAKE_CFLAGS_CONSOLE   = -tWC
+
+QMAKE_CXX              = $$QMAKE_CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_CONSOLE = $$QMAKE_CFLAGS_CONSOLE
+QMAKE_CXXFLAGS_STL_ON  =
+QMAKE_CXXFLAGS_STL_OFF =
+QMAKE_CXXFLAGS_RTTI_ON =
+QMAKE_CXXFLAGS_RTTI_OFF        = -RT-
+QMAKE_CXXFLAGS_EXCEPTIONS_ON =
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -x-
+
+QMAKE_INCDIR           =
+QMAKE_LIBDIR           = $(BCB)\lib
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -o$obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -o$@ $<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o$obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o$@ $<
+
+QMAKE_LINK             = ilink32
+QMAKE_LFLAGS           = -c -x -Gn
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     = -v
+QMAKE_LFLAGS_CONSOLE   = -ap -Tpe c0x32.obj
+QMAKE_LFLAGS_WINDOWS   = -aa -Tpe c0w32.obj
+QMAKE_LFLAGS_DLL= -Gi -aa -Tpd c0d32.obj
+
+QMAKE_LIBS             = import32.lib cw32mti.lib
+QMAKE_LIBS_CORE         =
+QMAKE_LIBS_GUI          =
+QMAKE_LIBS_NETWORK      = ws2_32.lib 
+QMAKE_LIBS_OPENGL       =
+QMAKE_LIBS_COMPAT       =
+QMAKE_LIBS_QT_ENTRY    = -lqtmain
+
+#QMAKE_LIBS_OPENGL     =
+#QMAKE_LFLAGS_OPENGL   = /dopengl32.dll
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = tlib /C /P256
+QMAKE_RC               = brcc32 -dQ_CC_BOR
+
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_COPY             = copy /y
+QMAKE_COPY_DIR         = xcopy /s /q /y /i
+QMAKE_MOVE             = move
+QMAKE_DEL_FILE         = del
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = if not exist
+QMAKE_MKDIR            = mkdir
+
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-borland/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-borland/qplatformdefs.h
new file mode 100644 (file)
index 0000000..4efae9a
--- /dev/null
@@ -0,0 +1,215 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+#ifdef UNICODE
+#ifndef _UNICODE
+#define _UNICODE
+#endif
+#endif
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+#define Q_FS_FAT
+
+#define _POSIX_
+#include <limits.h>
+#undef _POSIX_
+
+#include <tchar.h>
+#include <io.h>
+#include <direct.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <dos.h>
+#include <stdlib.h>
+#include <search.h>
+#include <windows.h>
+
+#if __BORLANDC__ >= 0x550
+// Borland Builder 6
+
+#ifdef QT_LARGEFILE_SUPPORT
+#  define QT_STATBUF           struct stati64          // non-ANSI defs
+#  define QT_STATBUF4TSTAT     struct stati64          // non-ANSI defs
+#  define QT_STAT              ::_stati64
+#  define QT_FSTAT             ::fstati64
+#  define QT_LSEEK             ::_lseeki64
+#  define QT_TSTAT             ::_tstati64
+#else
+#  define QT_STATBUF           struct stat             // non-ANSI defs
+#  define QT_STATBUF4TSTAT     struct _stat            // non-ANSI defs
+#  define QT_STAT              ::stat
+#  define QT_FSTAT             ::fstat
+#  define QT_LSEEK             ::_lseek
+#  define QT_TSTAT             ::_tstat
+#endif
+
+#define QT_STAT_REG            _S_IFREG
+#define QT_STAT_DIR            _S_IFDIR
+#define QT_STAT_MASK           _S_IFMT
+
+#if defined(_S_IFLNK)
+#  define QT_STAT_LNK          _S_IFLNK
+#endif
+
+#define QT_FOPEN                ::fopen
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FSEEK                ::_fseeki64
+#define QT_FTELL                ::_ftelli64
+#else
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#endif
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_FPOS_T               fpos_t
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_OFF_T                __int64
+#else
+#define QT_OFF_T                long
+#endif
+
+#define QT_FILENO              _fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::_close
+
+#define QT_READ                        ::_read
+#define QT_WRITE               ::_write
+#define QT_ACCESS              ::_access
+#define QT_GETCWD              ::_getcwd
+#define QT_CHDIR               ::chdir
+#define QT_MKDIR               ::_mkdir
+#define QT_RMDIR               ::_rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         _O_RDONLY
+#define QT_OPEN_WRONLY         _O_WRONLY
+#define QT_OPEN_RDWR           _O_RDWR
+#define QT_OPEN_CREAT          _O_CREAT
+#define QT_OPEN_TRUNC          _O_TRUNC
+#define QT_OPEN_APPEND         _O_APPEND
+
+#if defined(O_TEXT)
+#  define QT_OPEN_TEXT         _O_TEXT
+#  define QT_OPEN_BINARY       _O_BINARY
+#endif
+
+#else
+// Borland Builder 5
+
+#ifdef QT_LARGEFILE_SUPPORT
+#  define QT_STATBUF           struct stati64          // non-ANSI defs
+#  define QT_STATBUF4TSTAT     struct stati64          // non-ANSI defs
+#  define QT_STAT              ::stati64
+#  define QT_FSTAT             ::fstati64
+#  define QT_LSEEK             ::lseeki64
+#  define QT_TSTAT             ::tstati64
+#else
+#  define QT_STATBUF           struct stat             // non-ANSI defs
+#  define QT_STATBUF4TSTAT     struct stat             // non-ANSI defs
+#  define QT_STAT              ::stat
+#  define QT_FSTAT             ::fstat
+#  define QT_LSEEK             ::lseek
+#  define QT_TSTAT             ::tstat
+#endif
+
+#define QT_STAT_REG            S_IFREG
+#define QT_STAT_DIR            S_IFDIR
+#define QT_STAT_MASK           S_IFMT
+
+#if defined(S_IFLNK)
+#  define QT_STAT_LNK          S_IFLNK
+#endif
+
+#define QT_FILENO              fileno
+#define QT_OPEN                        ::open
+#define QT_CLOSE               ::close
+
+#define QT_READ                        ::read
+#define QT_WRITE               ::write
+#define QT_ACCESS              ::access
+
+#if defined(Q_OS_OS2EMX)
+    // This is documented in the un*x to OS/2-EMX Porting FAQ:
+    // http://homepages.tu-darmstadt.de/~st002279/os2/porting.html
+#  define QT_GETCWD            ::_getcwd2
+#  define QT_CHDIR             ::_chdir2
+#else
+#  define QT_GETCWD            ::getcwd
+#  define QT_CHDIR             ::chdir
+#endif
+
+#define QT_MKDIR               ::mkdir
+#define QT_RMDIR               ::rmdir
+#define QT_OPEN_LARGEFILE       O_LARGEFILE
+#define QT_OPEN_RDONLY         O_RDONLY
+#define QT_OPEN_WRONLY         O_WRONLY
+#define QT_OPEN_RDWR           O_RDWR
+#define QT_OPEN_CREAT          O_CREAT
+#define QT_OPEN_TRUNC          O_TRUNC
+#define QT_OPEN_APPEND         O_APPEND
+
+#if defined(O_TEXT)
+#  define QT_OPEN_TEXT         O_TEXT
+#  define QT_OPEN_BINARY       O_BINARY
+#endif
+
+#endif // __BORLANDC__ >= 0x550
+
+// Borland Builder 5 and 6
+
+#define QT_SIGNAL_ARGS         int
+
+#define QT_VSNPRINTF           ::_vsnprintf
+#define QT_SNPRINTF            ::_snprintf
+
+# define F_OK  0
+# define X_OK  1
+# define W_OK  2
+# define R_OK  4
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/win32-g++/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-g++/qmake.conf
new file mode 100644 (file)
index 0000000..b282f69
--- /dev/null
@@ -0,0 +1,106 @@
+#
+# qmake configuration for win32-g++
+#
+# Written for MinGW
+#
+
+MAKEFILE_GENERATOR     = MINGW
+TEMPLATE               = app
+CONFIG                 += qt warn_on release link_prl copy_dir_files debug_and_release debug_and_release_target precompile_header
+QT                     += core gui
+DEFINES                        += UNICODE QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += __GNUC__ WIN32
+
+QMAKE_EXT_OBJ           = .o
+QMAKE_EXT_RES           = _res.o
+
+QMAKE_CC               = gcc
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           =
+QMAKE_CFLAGS_DEPS      = -M
+QMAKE_CFLAGS_WARN_ON   = -Wall
+QMAKE_CFLAGS_WARN_OFF  = -w
+QMAKE_CFLAGS_RELEASE   = -O2
+QMAKE_CFLAGS_DEBUG     = -g
+QMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+
+QMAKE_CXX              = g++
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_DEPS    = $$QMAKE_CFLAGS_DEPS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_THREAD  = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_RTTI_ON = -frtti
+QMAKE_CXXFLAGS_RTTI_OFF        = -fno-rtti
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -fexceptions -mthreads
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -fno-exceptions
+
+QMAKE_INCDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
+
+QMAKE_LINK             = g++
+QMAKE_LINK_C           = gcc
+QMAKE_LFLAGS           = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
+QMAKE_LFLAGS_EXCEPTIONS_ON = -mthreads -Wl
+QMAKE_LFLAGS_EXCEPTIONS_OFF =
+QMAKE_LFLAGS_RELEASE   = -Wl,-s
+QMAKE_LFLAGS_DEBUG     =
+QMAKE_LFLAGS_CONSOLE   = -Wl,-subsystem,console
+QMAKE_LFLAGS_WINDOWS   = -Wl,-subsystem,windows
+QMAKE_LFLAGS_DLL        = -shared
+QMAKE_LINK_OBJECT_MAX  = 10
+QMAKE_LINK_OBJECT_SCRIPT= object_script
+
+
+QMAKE_LIBS             =
+QMAKE_LIBS_CORE         = -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
+QMAKE_LIBS_GUI          = -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32
+QMAKE_LIBS_NETWORK      = -lws2_32
+QMAKE_LIBS_OPENGL       = -lopengl32 -lglu32 -lgdi32 -luser32
+QMAKE_LIBS_COMPAT       = -ladvapi32 -lshell32 -lcomdlg32 -luser32 -lgdi32 -lws2_32
+QMAKE_LIBS_QT_ENTRY     = -lmingw32 -lqtmain
+
+!isEmpty(QMAKE_SH) {
+    MINGW_IN_SHELL      = 1
+       QMAKE_DIR_SEP           = /
+       QMAKE_COPY              = cp
+       QMAKE_COPY_DIR          = xcopy /s /q /y /i
+       QMAKE_MOVE              = mv
+       QMAKE_DEL_FILE          = rm
+       QMAKE_MKDIR             = mkdir
+       QMAKE_DEL_DIR           = rmdir
+    QMAKE_CHK_DIR_EXISTS = test -d
+} else {
+       QMAKE_COPY              = copy /y
+       QMAKE_COPY_DIR          = xcopy /s /q /y /i
+       QMAKE_MOVE              = move
+       QMAKE_DEL_FILE          = del
+       QMAKE_MKDIR             = mkdir
+       QMAKE_DEL_DIR           = rmdir
+    QMAKE_CHK_DIR_EXISTS       = if not exist
+}
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = ar -ru
+QMAKE_RC               = windres
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_STRIP            = strip
+QMAKE_STRIPFLAGS_LIB   += --strip-unneeded
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-g++/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-g++/qplatformdefs.h
new file mode 100644 (file)
index 0000000..12828d1
--- /dev/null
@@ -0,0 +1,164 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+#ifdef UNICODE
+#ifndef _UNICODE
+#define _UNICODE
+#endif
+#endif
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+#include <tchar.h>
+#include <io.h>
+#include <direct.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <stdlib.h>
+#include <qt_windows.h>
+#include <limits.h>
+
+#if !defined(_WIN32_WINNT) || (_WIN32_WINNT-0 < 0x0500)
+typedef enum {
+    NameUnknown                  = 0, 
+    NameFullyQualifiedDN  = 1, 
+    NameSamCompatible    = 2, 
+    NameDisplay                  = 3, 
+    NameUniqueId         = 6, 
+    NameCanonical        = 7, 
+    NameUserPrincipal    = 8, 
+    NameCanonicalEx      = 9, 
+    NameServicePrincipal  = 10, 
+    NameDnsDomain        = 12
+} EXTENDED_NAME_FORMAT, *PEXTENDED_NAME_FORMAT;
+#endif
+
+#define Q_FS_FAT
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF             struct _stati64         // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stati64         // non-ANSI defs
+#define QT_STAT                        ::_stati64
+#define QT_FSTAT               ::_fstati64
+#else
+#define QT_STATBUF             struct _stat            // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stat            // non-ANSI defs
+#define QT_STAT                        ::_stat
+#define QT_FSTAT               ::_fstat
+#endif
+#define QT_STAT_REG            _S_IFREG
+#define QT_STAT_DIR            _S_IFDIR
+#define QT_STAT_MASK           _S_IFMT
+#if defined(_S_IFLNK)
+#  define QT_STAT_LNK          _S_IFLNK
+#endif
+#define QT_FILENO              _fileno
+#define QT_OPEN                        ::_open
+#define QT_CLOSE               ::_close
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_LSEEK               ::_lseeki64
+#ifndef UNICODE
+#define QT_TSTAT               ::_stati64
+#else
+#define QT_TSTAT               ::_wstati64
+#endif
+#else
+#define QT_LSEEK               ::_lseek
+#ifndef UNICODE
+#define QT_TSTAT               ::_stat
+#else
+#define QT_TSTAT               ::_wstat
+#endif
+#endif
+#define QT_READ                        ::_read
+#define QT_WRITE               ::_write
+#define QT_ACCESS              ::_access
+#define QT_GETCWD              ::_getcwd
+#define QT_CHDIR               ::_chdir
+#define QT_MKDIR               ::_mkdir
+#define QT_RMDIR               ::_rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         _O_RDONLY
+#define QT_OPEN_WRONLY         _O_WRONLY
+#define QT_OPEN_RDWR           _O_RDWR
+#define QT_OPEN_CREAT          _O_CREAT
+#define QT_OPEN_TRUNC          _O_TRUNC
+#define QT_OPEN_APPEND         _O_APPEND
+#if defined(O_TEXT)
+# define QT_OPEN_TEXT          _O_TEXT
+# define QT_OPEN_BINARY                _O_BINARY
+#endif
+
+#define QT_FOPEN                ::fopen
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FSEEK                ::fseeko64
+#define QT_FTELL                ::ftello64
+#else
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#endif
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_FPOS_T               fpos_t
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_OFF_T                off64_t
+#else
+#define QT_OFF_T                long
+#endif
+
+#define QT_SIGNAL_ARGS         int
+
+#define QT_VSNPRINTF           ::_vsnprintf
+#define QT_SNPRINTF            ::_snprintf
+
+# define F_OK  0
+# define X_OK  1
+# define W_OK  2
+# define R_OK  4
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/win32-icc/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-icc/qmake.conf
new file mode 100644 (file)
index 0000000..78c947d
--- /dev/null
@@ -0,0 +1,89 @@
+#
+# qmake configuration for win32-icc
+#
+# Written for Intel C++
+#
+
+MAKEFILE_GENERATOR     = MSVC
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental flat link_prl copy_dir_files debug_and_release debug_and_release_target
+QT                     += core gui
+DEFINES                        += UNICODE QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += __INTEL_COMPILER WIN32
+
+QMAKE_CC               = icl
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -nologo -Zm200 /Qprec /Qwd1744,1738
+QMAKE_CFLAGS_WARN_ON   = -W3 /Qwd673
+QMAKE_CFLAGS_WARN_OFF  = -W0 /Qwd673
+QMAKE_CFLAGS_RELEASE   = -O2 -MD 
+# Giving -O2 to debug builds should make icc 9.1 happy, but it might make debugging harder, so it might be reverted.
+# This is actually a workaround for a bug in icc 9.1.
+QMAKE_CFLAGS_DEBUG     = -Zi -MDd -O2
+QMAKE_CFLAGS_YACC      =
+
+QMAKE_CXX              = $$QMAKE_CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS /Zc:forScope
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_STL_ON  = -GX
+QMAKE_CXXFLAGS_STL_OFF =
+QMAKE_CXXFLAGS_RTTI_ON = -GR
+QMAKE_CXXFLAGS_RTTI_OFF        =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -GX
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH        = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK             = link
+QMAKE_LFLAGS           = /NOLOGO
+QMAKE_LFLAGS_RELEASE   =
+QMAKE_LFLAGS_DEBUG     = /DEBUG
+QMAKE_LFLAGS_CONSOLE   = /SUBSYSTEM:console
+QMAKE_LFLAGS_WINDOWS   = /SUBSYSTEM:windows
+QMAKE_LFLAGS_DLL        = /DLL
+QMAKE_LFLAGS_QT_DLL    = /BASE:0x39D00000
+
+QMAKE_LIBS             =
+QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
+QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
+QMAKE_LIBS_NETWORK      = ws2_32.lib
+QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib delayimp.lib
+QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
+QMAKE_LIBS_QT_ENTRY    = -lqtmain
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = lib /NOLOGO
+QMAKE_RC               = rc
+
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_COPY             = copy /y
+QMAKE_COPY_DIR         = xcopy /s /q /y /i
+QMAKE_MOVE             = move
+QMAKE_DEL_FILE         = del
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = if not exist
+QMAKE_MKDIR            = mkdir
+
+DSP_EXTENSION          = .dsp
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-icc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-icc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..6abfef2
--- /dev/null
@@ -0,0 +1,151 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+#ifdef UNICODE
+#ifndef _UNICODE
+#define _UNICODE
+#endif
+#endif
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+#define _POSIX_
+#include <limits.h>
+#undef _POSIX_
+
+#include <tchar.h>
+#include <io.h>
+#include <direct.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <stdlib.h>
+#include <windows.h>
+
+#define Q_FS_FAT
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF             struct _stati64         // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stati64         // non-ANSI defs
+#define QT_STAT                        ::_stati64
+#define QT_FSTAT               ::_fstati64
+#else
+#define QT_STATBUF             struct _stat            // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stat            // non-ANSI defs
+#define QT_STAT                        ::_stat
+#define QT_FSTAT               ::_fstat
+#endif
+#define QT_STAT_REG            _S_IFREG
+#define QT_STAT_DIR            _S_IFDIR
+#define QT_STAT_MASK           _S_IFMT
+#if defined(_S_IFLNK)
+#  define QT_STAT_LNK          _S_IFLNK
+#endif
+#define QT_FILENO              _fileno
+#define QT_OPEN                        ::_open
+#define QT_CLOSE               ::_close
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_LSEEK               ::_lseeki64
+#define QT_TSTAT               ::_tstati64
+#else
+#define QT_LSEEK               ::_lseek
+#define QT_TSTAT               ::_tstat
+#endif
+#define QT_READ                        ::_read
+#define QT_WRITE               ::_write
+#define QT_ACCESS              ::_access
+#define QT_GETCWD              ::_getcwd
+#define QT_CHDIR               ::_chdir
+#define QT_MKDIR               ::_mkdir
+#define QT_RMDIR               ::_rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         _O_RDONLY
+#define QT_OPEN_WRONLY         _O_WRONLY
+#define QT_OPEN_RDWR           _O_RDWR
+#define QT_OPEN_CREAT          _O_CREAT
+#define QT_OPEN_TRUNC          _O_TRUNC
+#define QT_OPEN_APPEND         _O_APPEND
+#if defined(O_TEXT)
+# define QT_OPEN_TEXT          _O_TEXT
+# define QT_OPEN_BINARY                _O_BINARY
+#endif
+
+#define QT_FOPEN                ::fopen
+#if defined(QT_LARGEFILE_SUPPORT) && _MSC_VER > 1310
+#define QT_FSEEK                ::_fseeki64
+#define QT_FTELL                ::_ftelli64
+#else
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#endif
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_FPOS_T               fpos_t
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_OFF_T                __int64
+#else
+#define QT_OFF_T                long
+#endif
+
+#define QT_SIGNAL_ARGS         int
+
+#if _MSC_VER>=1400
+# define QT_VSNPRINTF(buffer, count, format, arg) \
+    ::vsnprintf_s(buffer, count, count-1, format, arg)
+#else
+# define QT_VSNPRINTF          ::_vsnprintf
+#endif
+#define QT_SNPRINTF            ::_snprintf
+
+# define F_OK  0
+# define X_OK  1
+# define W_OK  2
+# define R_OK  4
+
+typedef int mode_t;
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc.net/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-msvc.net/qmake.conf
new file mode 100644 (file)
index 0000000..89fa00d
--- /dev/null
@@ -0,0 +1,89 @@
+#
+# qmake configuration for win32-msvc.net (used by 2002 & 2003 before, but now deprecated. Use win32-msvc2002 or win32-msvc2003 instead)
+#
+# Written for Microsoft C++.NET
+#
+!build_pass:message("The mkspec/win32-msvc.net is now deprecated, use win32-msvc2002 or win32-msvc2003")
+
+MAKEFILE_GENERATOR     = MSVC.NET
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target
+QT                     += core gui
+DEFINES                        += UNICODE WIN32 QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += _MSC_VER=1300 WIN32
+
+QMAKE_CC               = cl
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -nologo -Zm300
+QMAKE_CFLAGS_WARN_ON   = -W3
+QMAKE_CFLAGS_WARN_OFF  = -W0 
+QMAKE_CFLAGS_RELEASE   = -O2 -MD
+QMAKE_CFLAGS_DEBUG     = -Zi -MDd
+QMAKE_CFLAGS_YACC      =
+
+QMAKE_CXX              = $$QMAKE_CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_STL_ON  = -EHsc
+QMAKE_CXXFLAGS_STL_OFF =
+QMAKE_CXXFLAGS_RTTI_ON = -GR
+QMAKE_CXXFLAGS_RTTI_OFF        =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH        = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK             = link
+QMAKE_LFLAGS           = /NOLOGO
+QMAKE_LFLAGS_RELEASE   = /INCREMENTAL:NO
+QMAKE_LFLAGS_DEBUG     = /DEBUG
+QMAKE_LFLAGS_CONSOLE   = /SUBSYSTEM:CONSOLE
+QMAKE_LFLAGS_WINDOWS   = /SUBSYSTEM:WINDOWS
+QMAKE_LFLAGS_DLL        = /DLL
+
+QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
+QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
+QMAKE_LIBS_NETWORK      = ws2_32.lib
+QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib
+QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
+
+QMAKE_LIBS_QT_ENTRY    = -lqtmain
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = lib /NOLOGO
+QMAKE_RC               = rc
+
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_COPY             = copy /y
+QMAKE_COPY_DIR         = xcopy /s /q /y /i
+QMAKE_MOVE             = move
+QMAKE_DEL_FILE         = del
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = if not exist
+QMAKE_MKDIR            = mkdir
+
+VCPROJ_EXTENSION       = .vcproj
+VCSOLUTION_EXTENSION   = .sln
+VCPROJ_KEYWORD = Qt4VSv1.0
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc.net/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-msvc.net/qplatformdefs.h
new file mode 100644 (file)
index 0000000..dcfaec5
--- /dev/null
@@ -0,0 +1,147 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+#ifdef UNICODE
+#ifndef _UNICODE
+#define _UNICODE
+#endif
+#endif
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+#define _POSIX_
+#include <limits.h>
+#undef _POSIX_
+
+#include <tchar.h>
+#include <io.h>
+#include <direct.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <stdlib.h>
+#include <windows.h>
+
+#define Q_FS_FAT
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF             struct _stati64         // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stati64         // non-ANSI defs
+#define QT_STAT                        ::_stati64
+#define QT_FSTAT               ::_fstati64
+#else
+#define QT_STATBUF             struct _stat            // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stat            // non-ANSI defs
+#define QT_STAT                        ::_stat
+#define QT_FSTAT               ::_fstat
+#endif
+#define QT_STAT_REG            _S_IFREG
+#define QT_STAT_DIR            _S_IFDIR
+#define QT_STAT_MASK           _S_IFMT
+#if defined(_S_IFLNK)
+#  define QT_STAT_LNK          _S_IFLNK
+#endif
+#define QT_FILENO              _fileno
+#define QT_OPEN                        ::_open
+#define QT_CLOSE               ::_close
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_LSEEK               ::_lseeki64
+#define QT_TSTAT               ::_tstati64
+#else
+#define QT_LSEEK               ::_lseek
+#define QT_TSTAT               ::_tstat
+#endif
+#define QT_READ                        ::_read
+#define QT_WRITE               ::_write
+#define QT_ACCESS              ::_access
+#define QT_GETCWD              ::_getcwd
+#define QT_CHDIR               ::_chdir
+#define QT_MKDIR               ::_mkdir
+#define QT_RMDIR               ::_rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         _O_RDONLY
+#define QT_OPEN_WRONLY         _O_WRONLY
+#define QT_OPEN_RDWR           _O_RDWR
+#define QT_OPEN_CREAT          _O_CREAT
+#define QT_OPEN_TRUNC          _O_TRUNC
+#define QT_OPEN_APPEND         _O_APPEND
+#if defined(O_TEXT)
+# define QT_OPEN_TEXT          _O_TEXT
+# define QT_OPEN_BINARY                _O_BINARY
+#endif
+
+#define QT_FOPEN                ::fopen
+#ifdef QT_LARGEFILE_SUPPORT
+// 64-bit versions of fseek/ftell not always available. E.g., when linking
+// dynamically to CRT (/MT)
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                (QT_OFF_T)::ftell
+#else
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#endif
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_FPOS_T               fpos_t
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_OFF_T                __int64
+#else
+#define QT_OFF_T                long
+#endif
+
+#define QT_SIGNAL_ARGS         int
+
+#define QT_VSNPRINTF ::_vsnprintf
+#define QT_SNPRINTF            ::_snprintf
+
+# define F_OK  0
+# define X_OK  1
+# define W_OK  2
+# define R_OK  4
+
+typedef int mode_t;
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc/features/incremental.prf b/zouba/qt4-maemo5/mkspecs/win32-msvc/features/incremental.prf
new file mode 100644 (file)
index 0000000..67596ca
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG -= incremental_off
+QMAKE_LFLAGS_DEBUG += /incremental:yes
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc/features/incremental_off.prf b/zouba/qt4-maemo5/mkspecs/win32-msvc/features/incremental_off.prf
new file mode 100644 (file)
index 0000000..9b6d19e
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG -= incremental
+QMAKE_LFLAGS += /incremental:no
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-msvc/qmake.conf
new file mode 100644 (file)
index 0000000..64ab84a
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# qmake configuration for win32-msvc
+#
+# Written for Microsoft C++
+#
+
+MAKEFILE_GENERATOR     = MSVC
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental flat link_prl precompile_header copy_dir_files no_delete_multiple_files debug_and_release debug_and_release_target
+QT                     += core gui
+DEFINES                        += UNICODE QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += _MSC_VER=1200 WIN32
+
+QMAKE_CC               = cl
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -nologo -Zm200
+QMAKE_CFLAGS_WARN_ON   = -W3
+QMAKE_CFLAGS_WARN_OFF  = -W0
+QMAKE_CFLAGS_RELEASE   = -O1 -MD
+QMAKE_CFLAGS_DEBUG     = -Zi -MDd
+QMAKE_CFLAGS_YACC      =
+
+QMAKE_CXX              = $$QMAKE_CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_STL_ON  = -GX
+QMAKE_CXXFLAGS_STL_OFF =
+QMAKE_CXXFLAGS_RTTI_ON = -GR
+QMAKE_CXXFLAGS_RTTI_OFF        =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -GX
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH        = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK             = link
+QMAKE_LFLAGS           = /NOLOGO
+QMAKE_LFLAGS_RELEASE   = /INCREMENTAL:NO
+QMAKE_LFLAGS_DEBUG     = /DEBUG
+QMAKE_LFLAGS_CONSOLE   = /SUBSYSTEM:console
+QMAKE_LFLAGS_WINDOWS   = /SUBSYSTEM:windows
+QMAKE_LFLAGS_DLL        = /DLL
+
+QMAKE_LIBS             =
+QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
+QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
+QMAKE_LIBS_NETWORK      = ws2_32.lib
+QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib delayimp.lib
+QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
+QMAKE_LIBS_QT_ENTRY    = -lqtmain
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = lib /NOLOGO
+QMAKE_RC               = rc
+
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_COPY             = copy /y
+QMAKE_COPY_DIR         = xcopy /s /q /y /i
+QMAKE_MOVE             = move
+QMAKE_DEL_FILE         = del
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = if not exist
+QMAKE_MKDIR            = mkdir
+
+DSP_EXTENSION          = .dsp
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-msvc/qplatformdefs.h
new file mode 100644 (file)
index 0000000..5dee28c
--- /dev/null
@@ -0,0 +1,148 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+#ifdef UNICODE
+#ifndef _UNICODE
+#define _UNICODE
+#endif
+#endif
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+#define _POSIX_
+#include <limits.h>
+#undef _POSIX_
+
+#include <tchar.h>
+#include <io.h>
+#include <direct.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <stdlib.h>
+#include <windows.h>
+
+#define Q_FS_FAT
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF             struct _stati64         // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stati64         // non-ANSI defs
+#define QT_STAT                        ::_stati64
+#define QT_FSTAT               ::_fstati64
+#else
+#define QT_STATBUF             struct _stat            // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stat            // non-ANSI defs
+#define QT_STAT                        ::_stat
+#define QT_FSTAT               ::_fstat
+#endif
+#define QT_STAT_REG            _S_IFREG
+#define QT_STAT_DIR            _S_IFDIR
+#define QT_STAT_MASK           _S_IFMT
+#if defined(_S_IFLNK)
+#  define QT_STAT_LNK          _S_IFLNK
+#endif
+#define QT_FILENO              _fileno
+#define QT_OPEN                        ::_open
+#define QT_CLOSE               ::_close
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_LSEEK               ::_lseeki64
+#define QT_TSTAT               ::_tstati64
+#else
+#define QT_LSEEK               ::_lseek
+#define QT_TSTAT               ::_tstat
+#endif
+#define QT_READ                        ::_read
+#define QT_WRITE               ::_write
+#define QT_ACCESS              ::_access
+#define QT_GETCWD              ::_getcwd
+#define QT_CHDIR               ::_chdir
+#define QT_MKDIR               ::_mkdir
+#define QT_RMDIR               ::_rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         _O_RDONLY
+#define QT_OPEN_WRONLY         _O_WRONLY
+#define QT_OPEN_RDWR           _O_RDWR
+#define QT_OPEN_CREAT          _O_CREAT
+#define QT_OPEN_TRUNC          _O_TRUNC
+#define QT_OPEN_APPEND         _O_APPEND
+#if defined(O_TEXT)
+# define QT_OPEN_TEXT          _O_TEXT
+# define QT_OPEN_BINARY                _O_BINARY
+#endif
+
+#define QT_FOPEN                ::fopen
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#else
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#endif
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_FPOS_T               fpos_t
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_OFF_T                __int64
+#else
+#define QT_OFF_T                long
+#endif
+
+#define QT_SIGNAL_ARGS         int
+
+#if defined(_MSC_VER) && _MSC_VER < 1400
+# define QT_VSNPRINTF          ::_vsnprintf
+#endif
+#define QT_SNPRINTF            ::_snprintf
+
+# define F_OK  0
+# define X_OK  1
+# define W_OK  2
+# define R_OK  4
+
+typedef int mode_t;
+
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2002/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-msvc2002/qmake.conf
new file mode 100644 (file)
index 0000000..13fbfb0
--- /dev/null
@@ -0,0 +1,88 @@
+#
+# qmake configuration for win32-msvc2002
+#
+# Written for Microsoft C++.NET
+#
+
+MAKEFILE_GENERATOR     = MSVC.NET
+TEMPLATE               = app
+CONFIG                 += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target
+QT                     += core gui
+DEFINES                        += UNICODE WIN32 QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += _MSC_VER=1300 WIN32
+
+QMAKE_CC               = cl
+QMAKE_LEX              = flex
+QMAKE_LEXFLAGS         =
+QMAKE_YACC             = byacc
+QMAKE_YACCFLAGS                = -d
+QMAKE_CFLAGS           = -nologo -Zm300
+QMAKE_CFLAGS_WARN_ON   = -W3
+QMAKE_CFLAGS_WARN_OFF  = -W0 
+QMAKE_CFLAGS_RELEASE   = -O2 -MD
+QMAKE_CFLAGS_DEBUG     = -Zi -MDd
+QMAKE_CFLAGS_YACC      =
+
+QMAKE_CXX              = $$QMAKE_CC
+QMAKE_CXXFLAGS         = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189
+QMAKE_CXXFLAGS_WARN_OFF        = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG   = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC    = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_STL_ON  = -EHsc
+QMAKE_CXXFLAGS_STL_OFF =
+QMAKE_CXXFLAGS_RTTI_ON = -GR
+QMAKE_CXXFLAGS_RTTI_OFF        =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR           =
+QMAKE_INCDIR_QT                = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT                = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC           = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP       = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX          = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP      = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH        = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK             = link
+QMAKE_LFLAGS           = /NOLOGO
+QMAKE_LFLAGS_RELEASE   = /INCREMENTAL:NO
+QMAKE_LFLAGS_DEBUG     = /DEBUG
+QMAKE_LFLAGS_CONSOLE   = /SUBSYSTEM:CONSOLE
+QMAKE_LFLAGS_WINDOWS   = /SUBSYSTEM:WINDOWS
+QMAKE_LFLAGS_DLL        = /DLL
+
+QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
+QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
+QMAKE_LIBS_NETWORK      = ws2_32.lib
+QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib
+QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
+
+QMAKE_LIBS_QT_ENTRY    = -lqtmain
+
+QMAKE_MOC              = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC              = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC              = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL              = midl
+QMAKE_LIB              = lib /NOLOGO
+QMAKE_RC               = rc
+
+QMAKE_ZIP              = zip -r -9
+
+QMAKE_COPY             = copy /y
+QMAKE_COPY_DIR         = xcopy /s /q /y /i
+QMAKE_MOVE             = move
+QMAKE_DEL_FILE         = del
+QMAKE_DEL_DIR          = rmdir
+QMAKE_CHK_DIR_EXISTS   = if not exist
+QMAKE_MKDIR            = mkdir
+
+VCPROJ_EXTENSION       = .vcproj
+VCSOLUTION_EXTENSION   = .sln
+VCPROJ_KEYWORD = Qt4VSv1.0
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2002/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-msvc2002/qplatformdefs.h
new file mode 100644 (file)
index 0000000..6d71abf
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../win32-msvc.net/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2003/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-msvc2003/qmake.conf
new file mode 100644 (file)
index 0000000..e92df12
--- /dev/null
@@ -0,0 +1,88 @@
+#
+# qmake configuration for win32-msvc2003
+#
+# Written for Microsoft C++.NET
+#
+
+MAKEFILE_GENERATOR      = MSVC.NET
+TEMPLATE                = app
+CONFIG                  += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target
+QT                      += core gui
+DEFINES                 += UNICODE WIN32 QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += _MSC_VER=1310 WIN32
+
+QMAKE_CC                = cl
+QMAKE_LEX               = flex
+QMAKE_LEXFLAGS          =
+QMAKE_YACC              = byacc
+QMAKE_YACCFLAGS         = -d
+QMAKE_CFLAGS            = -nologo -Zm300
+QMAKE_CFLAGS_WARN_ON    = -W3
+QMAKE_CFLAGS_WARN_OFF   = -W0
+QMAKE_CFLAGS_RELEASE    = -O2 -MD
+QMAKE_CFLAGS_DEBUG      = -Zi -MDd
+QMAKE_CFLAGS_YACC       =
+
+QMAKE_CXX               = $$QMAKE_CC
+QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189
+QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_STL_ON   = -EHsc
+QMAKE_CXXFLAGS_STL_OFF  =
+QMAKE_CXXFLAGS_RTTI_ON  = -GR
+QMAKE_CXXFLAGS_RTTI_OFF =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR            =
+QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC            = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP        = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH  = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX           = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP       = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK              = link
+QMAKE_LFLAGS            = /NOLOGO
+QMAKE_LFLAGS_RELEASE    = /INCREMENTAL:NO
+QMAKE_LFLAGS_DEBUG      = /DEBUG
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:CONSOLE
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWS
+QMAKE_LFLAGS_DLL        = /DLL
+
+QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
+QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
+QMAKE_LIBS_NETWORK      = ws2_32.lib
+QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib
+QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
+
+QMAKE_LIBS_QT_ENTRY     = -lqtmain
+
+QMAKE_MOC               = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC               = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC               = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL               = midl
+QMAKE_LIB               = lib /NOLOGO
+QMAKE_RC                = rc
+
+QMAKE_ZIP               = zip -r -9
+
+QMAKE_COPY              = copy /y
+QMAKE_COPY_DIR          = xcopy /s /q /y /i
+QMAKE_MOVE              = move
+QMAKE_DEL_FILE          = del
+QMAKE_DEL_DIR           = rmdir
+QMAKE_CHK_DIR_EXISTS    = if not exist
+QMAKE_MKDIR             = mkdir
+
+VCPROJ_EXTENSION        = .vcproj
+VCSOLUTION_EXTENSION    = .sln
+VCPROJ_KEYWORD  = Qt4VSv1.0
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2003/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-msvc2003/qplatformdefs.h
new file mode 100644 (file)
index 0000000..6d71abf
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../win32-msvc.net/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..5ed8e01
--- /dev/null
@@ -0,0 +1,91 @@
+#
+# qmake configuration for win32-msvc2005
+#
+# Written for Microsoft VC2005.NET
+#
+
+MAKEFILE_GENERATOR      = MSVC.NET
+TEMPLATE                = app
+CONFIG                  += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target embed_manifest_dll embed_manifest_exe
+QT                      += core gui
+DEFINES                 += UNICODE WIN32 QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += _MSC_VER=1400 WIN32
+
+QMAKE_CC                = cl
+QMAKE_LEX               = flex
+QMAKE_LEXFLAGS          =
+QMAKE_YACC              = byacc
+QMAKE_YACCFLAGS         = -d
+QMAKE_CFLAGS            = -nologo -Zm200 -Zc:wchar_t-
+QMAKE_CFLAGS_WARN_ON    = -W3
+QMAKE_CFLAGS_WARN_OFF   = -W0
+QMAKE_CFLAGS_RELEASE    = -O2 -MD
+QMAKE_CFLAGS_DEBUG      = -Zi -MDd
+QMAKE_CFLAGS_YACC       =
+QMAKE_CFLAGS_LTCG       = -GL
+
+QMAKE_CXX               = $$QMAKE_CC
+QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189
+QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_LTCG     = $$QMAKE_CFLAGS_LTCG
+QMAKE_CXXFLAGS_STL_ON   = -EHsc
+QMAKE_CXXFLAGS_STL_OFF  =
+QMAKE_CXXFLAGS_RTTI_ON  = -GR
+QMAKE_CXXFLAGS_RTTI_OFF =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR            =
+QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC            = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP        = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH  = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX           = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP       = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK              = link
+QMAKE_LFLAGS            = /NOLOGO
+QMAKE_LFLAGS_RELEASE    = /INCREMENTAL:NO
+QMAKE_LFLAGS_DEBUG      = /DEBUG
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:CONSOLE
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWS \"/MANIFESTDEPENDENCY:type=\'win32\' name=\'Microsoft.Windows.Common-Controls\' version=\'6.0.0.0\' publicKeyToken=\'6595b64144ccf1df\' language=\'*\' processorArchitecture=\'*\'\"
+QMAKE_LFLAGS_DLL        = /DLL
+QMAKE_LFLAGS_LTCG       = /LTCG
+
+QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
+QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
+QMAKE_LIBS_NETWORK      = ws2_32.lib
+QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib
+QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
+
+QMAKE_LIBS_QT_ENTRY     = -lqtmain
+
+QMAKE_MOC               = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC               = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC               = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL               = midl
+QMAKE_LIB               = lib /NOLOGO
+QMAKE_RC                = rc
+
+QMAKE_ZIP               = zip -r -9
+
+QMAKE_COPY              = copy /y
+QMAKE_COPY_DIR          = xcopy /s /q /y /i
+QMAKE_MOVE              = move
+QMAKE_DEL_FILE          = del
+QMAKE_DEL_DIR           = rmdir
+QMAKE_CHK_DIR_EXISTS    = if not exist
+QMAKE_MKDIR             = mkdir
+
+VCPROJ_EXTENSION        = .vcproj
+VCSOLUTION_EXTENSION    = .sln
+VCPROJ_KEYWORD  = Qt4VSv1.0
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..b87ea48
--- /dev/null
@@ -0,0 +1,147 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+#ifdef UNICODE
+#ifndef _UNICODE
+#define _UNICODE
+#endif
+#endif
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+#define _POSIX_
+#include <limits.h>
+#undef _POSIX_
+
+#include <tchar.h>
+#include <io.h>
+#include <direct.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <stdlib.h>
+#include <windows.h>
+
+#define Q_FS_FAT
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_STATBUF             struct _stati64         // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stati64         // non-ANSI defs
+#define QT_STAT                        ::_stati64
+#define QT_FSTAT               ::_fstati64
+#else
+#define QT_STATBUF             struct _stat            // non-ANSI defs
+#define QT_STATBUF4TSTAT       struct _stat            // non-ANSI defs
+#define QT_STAT                        ::_stat
+#define QT_FSTAT               ::_fstat
+#endif
+#define QT_STAT_REG            _S_IFREG
+#define QT_STAT_DIR            _S_IFDIR
+#define QT_STAT_MASK           _S_IFMT
+#if defined(_S_IFLNK)
+#  define QT_STAT_LNK          _S_IFLNK
+#endif
+#define QT_FILENO              _fileno
+#define QT_OPEN                        ::_open
+#define QT_CLOSE               ::_close
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_LSEEK               ::_lseeki64
+#define QT_TSTAT               ::_tstati64
+#else
+#define QT_LSEEK               ::_lseek
+#define QT_TSTAT               ::_tstat
+#endif
+#define QT_READ                        ::_read
+#define QT_WRITE               ::_write
+#define QT_ACCESS              ::_access
+#define QT_GETCWD              ::_getcwd
+#define QT_CHDIR               ::_chdir
+#define QT_MKDIR               ::_mkdir
+#define QT_RMDIR               ::_rmdir
+#define QT_OPEN_LARGEFILE       0
+#define QT_OPEN_RDONLY         _O_RDONLY
+#define QT_OPEN_WRONLY         _O_WRONLY
+#define QT_OPEN_RDWR           _O_RDWR
+#define QT_OPEN_CREAT          _O_CREAT
+#define QT_OPEN_TRUNC          _O_TRUNC
+#define QT_OPEN_APPEND         _O_APPEND
+#if defined(O_TEXT)
+# define QT_OPEN_TEXT          _O_TEXT
+# define QT_OPEN_BINARY                _O_BINARY
+#endif
+
+#define QT_FOPEN                ::fopen
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_FSEEK                ::_fseeki64
+#define QT_FTELL                ::_ftelli64
+#else
+#define QT_FSEEK                ::fseek
+#define QT_FTELL                ::ftell
+#endif
+#define QT_FGETPOS              ::fgetpos
+#define QT_FSETPOS              ::fsetpos
+#define QT_FPOS_T               fpos_t
+#ifdef QT_LARGEFILE_SUPPORT
+#define QT_OFF_T                __int64
+#else
+#define QT_OFF_T                long
+#endif
+
+#define QT_SIGNAL_ARGS         int
+
+#define QT_VSNPRINTF(buffer, count, format, arg) \
+    vsnprintf_s(buffer, count, count-1, format, arg)
+
+#define QT_SNPRINTF            ::_snprintf
+
+# define F_OK  0
+# define X_OK  1
+# define W_OK  2
+# define R_OK  4
+
+typedef int mode_t;
+
+#endif // QPLATFORMDEFS_H
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/win32-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..373a36d
--- /dev/null
@@ -0,0 +1,91 @@
+#
+# qmake configuration for win32-msvc2008
+#
+# Written for Microsoft VC2005.NET
+#
+
+MAKEFILE_GENERATOR      = MSVC.NET
+TEMPLATE                = app
+CONFIG                  += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target embed_manifest_dll embed_manifest_exe
+QT                      += core gui
+DEFINES                 += UNICODE WIN32 QT_LARGEFILE_SUPPORT
+QMAKE_COMPILER_DEFINES  += _MSC_VER=1500 WIN32
+
+QMAKE_CC                = cl
+QMAKE_LEX               = flex
+QMAKE_LEXFLAGS          =
+QMAKE_YACC              = byacc
+QMAKE_YACCFLAGS         = -d
+QMAKE_CFLAGS            = -nologo -Zm200 -Zc:wchar_t-
+QMAKE_CFLAGS_WARN_ON    = -W3
+QMAKE_CFLAGS_WARN_OFF   = -W0
+QMAKE_CFLAGS_RELEASE    = -O2 -MD
+QMAKE_CFLAGS_DEBUG      = -Zi -MDd
+QMAKE_CFLAGS_YACC       =
+QMAKE_CFLAGS_LTCG       = -GL
+
+QMAKE_CXX               = $$QMAKE_CC
+QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189
+QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
+QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
+QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
+QMAKE_CXXFLAGS_LTCG     = $$QMAKE_CFLAGS_LTCG
+QMAKE_CXXFLAGS_STL_ON   = -EHsc
+QMAKE_CXXFLAGS_STL_OFF  =
+QMAKE_CXXFLAGS_RTTI_ON  = -GR
+QMAKE_CXXFLAGS_RTTI_OFF =
+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc
+QMAKE_CXXFLAGS_EXCEPTIONS_OFF =
+
+QMAKE_INCDIR            =
+QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
+QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
+
+QMAKE_RUN_CC            = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CC_IMP        = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CC_IMP_BATCH  = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<<
+QMAKE_RUN_CXX           = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
+QMAKE_RUN_CXX_IMP       = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
+QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
+
+QMAKE_LINK              = link
+QMAKE_LFLAGS            = /NOLOGO
+QMAKE_LFLAGS_RELEASE    = /INCREMENTAL:NO
+QMAKE_LFLAGS_DEBUG      = /DEBUG
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:CONSOLE
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWS \"/MANIFESTDEPENDENCY:type=\'win32\' name=\'Microsoft.Windows.Common-Controls\' version=\'6.0.0.0\' publicKeyToken=\'6595b64144ccf1df\' language=\'*\' processorArchitecture=\'*\'\"
+QMAKE_LFLAGS_DLL        = /DLL
+QMAKE_LFLAGS_LTCG       = /LTCG
+
+QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib
+QMAKE_LIBS_GUI          = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib advapi32.lib
+QMAKE_LIBS_NETWORK      = ws2_32.lib
+QMAKE_LIBS_OPENGL       = opengl32.lib glu32.lib gdi32.lib user32.lib
+QMAKE_LIBS_COMPAT       = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib
+
+QMAKE_LIBS_QT_ENTRY     = -lqtmain
+
+QMAKE_MOC               = $$[QT_INSTALL_BINS]\moc.exe
+QMAKE_UIC               = $$[QT_INSTALL_BINS]\uic.exe
+QMAKE_IDC               = $$[QT_INSTALL_BINS]\idc.exe
+
+QMAKE_IDL               = midl
+QMAKE_LIB               = lib /NOLOGO
+QMAKE_RC                = rc
+
+QMAKE_ZIP               = zip -r -9
+
+QMAKE_COPY              = copy /y
+QMAKE_COPY_DIR          = xcopy /s /q /y /i
+QMAKE_MOVE              = move
+QMAKE_DEL_FILE          = del
+QMAKE_DEL_DIR           = rmdir
+QMAKE_CHK_DIR_EXISTS    = if not exist
+QMAKE_MKDIR             = mkdir
+
+VCPROJ_EXTENSION        = .vcproj
+VCSOLUTION_EXTENSION    = .sln
+VCPROJ_KEYWORD  = Qt4VSv1.0
+load(qt_config)
diff --git a/zouba/qt4-maemo5/mkspecs/win32-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/win32-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..68f9ee0
--- /dev/null
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../win32-msvc2005/qplatformdefs.h"
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..3dab72a
--- /dev/null
@@ -0,0 +1,7 @@
+# Visual Studio has some definitions set internally.
+# Thus we do not need to redefine these.
+if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
+    DEFINES -= _M_ARM
+    QMAKE_CXXFLAGS += -fp:precise
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..28ca6a6
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# qmake configuration for wince50standard-armv4i-msvc2005
+#
+# Written for Microsoft VC2005.NET with Standard SDK for WindowsCE 5.0 (ARMV4I)
+#
+include(../common/wince/qmake.conf)
+
+CE_SDK      = STANDARDSDK_500
+CE_ARCH     = ARMV4I
+
+DEFINES    += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x500 $$CE_ARCH _ARMV4I_ armv4i _ARM_ ARM _M_ARM ARM __arm__ Q_OS_WINCE_STD QT_NO_PRINTER QT_NO_PRINTDIALOG
+
+QMAKE_CFLAGS           += -QRarch4T -QRinterwork-return
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:THUMB /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:THUMB
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:THUMB /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
+QMAKE_LIBS_NETWORK      = ws2.lib
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..778a274
--- /dev/null
@@ -0,0 +1 @@
+include(../wince50standard-armv4i-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..16046a3
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wince50standard-armv4i-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-armv4i-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..d3e49ab
--- /dev/null
@@ -0,0 +1,7 @@
+# Visual Studio has some definitions set internally.
+# Thus we do not need to redefine these.
+if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
+    DEFINES -= _M_MRX000=3000
+    QMAKE_CXXFLAGS += -fp:precise
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..0cc1ab0
--- /dev/null
@@ -0,0 +1,24 @@
+#
+# qmake configuration for wince50standard-mipsii-msvc2005
+#
+# Written for Microsoft VC2005.NET with Standard SDK for WindowsCE 5.0 (MIPSII)
+#
+include(../common/wince/qmake.conf)
+
+CE_SDK      = STANDARDSDK_500
+CE_ARCH     = MIPSII
+
+DEFINES    += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x500 _M_MRX000=3000 MIPS _MIPS_ Q_OS_WINCE_STD QT_NO_PRINTER QT_NO_PRINTDIALOG
+
+QMAKE_CFLAGS           +=  -QMmips2
+QMAKE_CXXFLAGS         +=  -QMmips2
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:MIPS /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:MIPS
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:MIPS /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
+QMAKE_LIBS_NETWORK      = ws2.lib
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..d423784
--- /dev/null
@@ -0,0 +1 @@
+include(../wince50standard-mipsii-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..457fdde
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wince50standard-mipsii-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsii-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..a22505c
--- /dev/null
@@ -0,0 +1,24 @@
+#
+# qmake configuration for wince50standard-mipsiv-msvc2005
+#
+# Written for Microsoft VC2005.NET with Standard SDK for WindowsCE 5.0 (MIPSIV)
+#
+include(../common/wince/qmake.conf)
+
+CE_SDK      = STANDARDSDK_500
+CE_ARCH     = MIPSIV
+
+DEFINES    += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x500 _M_MRX000=4000 MIPS _MIPS_ Q_OS_WINCE_STD QT_NO_PRINTER QT_NO_PRINTDIALOG MIPS_HAS_FPU
+
+QMAKE_CFLAGS           += -QMmips4
+QMAKE_CXXFLAGS         += -QMmips4
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:MIPSFPU /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:MIPSFPU
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:MIPSFPU /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
+QMAKE_LIBS_NETWORK      = ws2.lib
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..77e773b
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wince50standard-mipsiv-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-mipsiv-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..1ee8950
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# qmake configuration for wincestandard50-sh4-msvc2005
+#
+# Written for Microsoft VC2005.NET with Standard SDK for WindowsCE 5.0 (SH4)
+#
+include(../common/wince/qmake.conf)
+
+CE_SDK      = STANDARDSDK_500
+CE_ARCH     = SH4
+
+DEFINES    += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x500 _M_SH SHx _SHX_ Q_OS_WINCE_STD QT_NO_PRINTER QT_NO_PRINTDIALOG
+
+QMAKE_CFLAGS            = -nologo -Zm200 -Zc:wchar_t- -QSsh4
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,5.00 /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,5.00
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.00 /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
+QMAKE_LIBS_NETWORK      = ws2.lib
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..5deb046
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wince50standard-sh4-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-sh4-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..6790c60
--- /dev/null
@@ -0,0 +1,6 @@
+# Visual Studio has some definitions set internally.
+# Thus we do not need to redefine these.
+if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
+    QMAKE_CXXFLAGS += -fp:precise
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..2fa7556
--- /dev/null
@@ -0,0 +1,21 @@
+#
+# qmake configuration for wince50standard-x86-msvc2005
+#
+# Written for Microsoft VC2005.NET with Standard SDK for WindowsCE 5.0 (x86)
+#
+include(../common/wince/qmake.conf)
+
+CE_SDK      = STANDARDSDK_500
+CE_ARCH     = x86
+
+DEFINES    += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x500 $$CE_ARCH _X86_ _M_IX86 Q_OS_WINCE_STD QT_NO_PRINTER QT_NO_PRINTDIALOG
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:X86 /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:X86 
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:X86 /DLL /SAFESEH:NO
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib coredll.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
+QMAKE_LIBS_NETWORK      = ws2.lib $$QMAKE_LIBS_GUI
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..f2d9c33
--- /dev/null
@@ -0,0 +1 @@
+include(../wince50standard-x86-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..9611471
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wince50standard-x86-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince50standard-x86-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince60standard-armv4i-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince60standard-armv4i-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..3bb18af
--- /dev/null
@@ -0,0 +1,27 @@
+#
+# qmake configuration for wince-msvc2005
+#
+# Written for Microsoft VS 2005 for WindowsCE 6.0 (ARMV4I)
+# This is just a template for creating Windows CE 6 mkspecs.
+#
+
+include(../common/wince/qmake.conf)
+
+CE_SDK         = STANDARDSDK_600   # replace with actual SDK name
+CE_ARCH                = ARMV4I
+
+DEFINES    += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x600 $$CE_ARCH _ARMV4I_ armv4i _ARM_ ARM _M_ARM ARM _WIN32 __arm__
+
+QMAKE_LFLAGS_CONSOLE   = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS   = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB /DLL /SAFESEH:NO
+QMAKE_LIBFLAGS_RELEASE = /LTCG
+QMAKE_LIBS              = corelibc.lib coredll.lib
+QMAKE_LIBS_CORE         = libcmt.lib corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
+QMAKE_LIBS_NETWORK      = ws2.lib $$QMAKE_LIBS_GUI
+QMAKE_LIBS_OPENGL       = 
+QMAKE_LIBS_COMPAT       = 
+
+QMAKE_RC               = rc /DUNDER_CE=600 /D_WIN32_WCE=0x600
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince60standard-armv4i-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince60standard-armv4i-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince60standard-x86-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wince60standard-x86-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..2896c69
--- /dev/null
@@ -0,0 +1,27 @@
+#
+# qmake configuration for wince-msvc2005
+#
+# Written for Microsoft VS 2005 for WindowsCE 6.0 (x86)
+# This is just a template for creating Windows CE 6 mkspecs.
+#
+
+include(../common/wince/qmake.conf)
+
+CE_SDK         = STANDARDSDK_600   # replace with actual SDK name
+CE_ARCH                = x86
+
+DEFINES    += STANDARDSHELL_UI_MODEL _WIN32_WCE=0x600 $$CE_ARCH _X86_ _M_IX86
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:X86 /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:X86
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:X86 /DLL /SAFESEH:NO
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib coredll.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
+QMAKE_LIBS_NETWORK      = ws2.lib $$QMAKE_LIBS_GUI
+QMAKE_LIBS_OPENGL       =
+QMAKE_LIBS_COMPAT       =
+
+QMAKE_RC               = rc /DUNDER_CE=600 /D_WIN32_WCE=0x600
+
diff --git a/zouba/qt4-maemo5/mkspecs/wince60standard-x86-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wince60standard-x86-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..3dab72a
--- /dev/null
@@ -0,0 +1,7 @@
+# Visual Studio has some definitions set internally.
+# Thus we do not need to redefine these.
+if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
+    DEFINES -= _M_ARM
+    QMAKE_CXXFLAGS += -fp:precise
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..676be5a
--- /dev/null
@@ -0,0 +1,21 @@
+#
+# qmake configuration for wincepocket50-msvc2005
+#
+# Written for Microsoft VC2005.NET with Windows Mobile 5.0 SDK for Pocket PC (ARMV4I)
+#
+include(../common/wince/qmake.conf)
+
+CE_SDK      = Windows Mobile 5.0 Pocket PC SDK 
+CE_ARCH     = ARMV4I
+
+DEFINES += _WIN32_WCE=0x501 $$CE_ARCH _ARMV4I_ armv4i _ARM_ ARM _M_ARM ARM __arm__ Q_OS_WINCE_WM QT_NO_PRINTER QT_NO_PRINTDIALOG
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib uuid.lib
+QMAKE_LIBS_NETWORK      = ws2.lib
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..c4f6ea9
--- /dev/null
@@ -0,0 +1 @@
+include(../wincewm50pocket-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..a22eef0
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wincewm50pocket-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm50pocket-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..3dab72a
--- /dev/null
@@ -0,0 +1,7 @@
+# Visual Studio has some definitions set internally.
+# Thus we do not need to redefine these.
+if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
+    DEFINES -= _M_ARM
+    QMAKE_CXXFLAGS += -fp:precise
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..c0f09cc
--- /dev/null
@@ -0,0 +1,21 @@
+#
+# qmake configuration for wincesmart50-msvc2005
+#
+# Written for Microsoft VC2005.NET with Windows Mobile 5.0 SDK for Smartphone (ARMV4I)
+#
+include(../common/wince/qmake.conf)
+
+CE_SDK      = Windows Mobile 5.0 Smartphone SDK 
+CE_ARCH     = ARMV4I
+
+DEFINES    += SMARTPHONE2003_UI_MODEL _WIN32_WCE=0x501 $$CE_ARCH _ARMV4I_ armv4i _ARM_ ARM _M_ARM ARM __arm__ Q_OS_WINCE_WM QT_NO_PRINTER QT_NO_PRINTDIALOG QT_KEYPAD_NAVIGATION
+
+QMAKE_LFLAGS_CONSOLE    = /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS    = /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB 
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+QMAKE_LIBFLAGS_RELEASE  = /LTCG
+QMAKE_LIBS              = corelibc.lib
+QMAKE_LIBS_CORE         = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
+QMAKE_LIBS_GUI          = ceshell.lib ole32.lib uuid.lib
+QMAKE_LIBS_NETWORK      = ws2.lib
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..912944d
--- /dev/null
@@ -0,0 +1 @@
+include(../wincewm50smart-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..847b2f3
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wincewm50smart-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm50smart-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..3dab72a
--- /dev/null
@@ -0,0 +1,7 @@
+# Visual Studio has some definitions set internally.
+# Thus we do not need to redefine these.
+if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
+    DEFINES -= _M_ARM
+    QMAKE_CXXFLAGS += -fp:precise
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..78c5f01
--- /dev/null
@@ -0,0 +1,13 @@
+include(../wincewm50pocket-msvc2005/qmake.conf)
+
+CE_SDK         = Windows Mobile 6 Professional SDK 
+CE_ARCH                = ARMV4I
+
+DEFINES -= _WIN32_WCE=0x501
+DEFINES += _WIN32_WCE=0x502
+
+QMAKE_LFLAGS_CONSOLE   = /SUBSYSTEM:WINDOWSCE,5.02 /MACHINE:THUMB /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS   = /SUBSYSTEM:WINDOWSCE,5.02 /MACHINE:THUMB
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.02 /MACHINE:THUMB /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..86bc964
--- /dev/null
@@ -0,0 +1 @@
+include(../wincewm60professional-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..67e7410
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wincewm60professional-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm60professional-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..3dab72a
--- /dev/null
@@ -0,0 +1,7 @@
+# Visual Studio has some definitions set internally.
+# Thus we do not need to redefine these.
+if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
+    DEFINES -= _M_ARM
+    QMAKE_CXXFLAGS += -fp:precise
+}
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..15cac42
--- /dev/null
@@ -0,0 +1,18 @@
+include(../wincewm50smart-msvc2005/qmake.conf)
+
+CE_SDK   = Windows Mobile 6 Standard SDK 
+CE_ARCH  = ARMV4I
+
+DEFINES -= _WIN32_WCE=0x501
+DEFINES += _WIN32_WCE=0x502
+
+# Windows Mobile 6 Standard edition defines
+# GWES_ICONCURS=1 although there is no cursor support
+  
+DEFINES += QT_NO_CURSOR
+
+QMAKE_LFLAGS_CONSOLE   = /SUBSYSTEM:WINDOWSCE,5.02 /MACHINE:THUMB /ENTRY:mainACRTStartup
+QMAKE_LFLAGS_WINDOWS   = /SUBSYSTEM:WINDOWSCE,5.02 /MACHINE:THUMB
+QMAKE_LFLAGS_DLL        = /SUBSYSTEM:WINDOWSCE,5.02 /MACHINE:THUMB /DLL
+QMAKE_LIBFLAGS          = $$QMAKE_LFLAGS_WINDOWS
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..5e3af26
--- /dev/null
@@ -0,0 +1 @@
+include(../wincewm60standard-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..ff18437
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wincewm60standard-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm60standard-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/default_post.prf
new file mode 100644 (file)
index 0000000..86bc964
--- /dev/null
@@ -0,0 +1 @@
+include(../wincewm60professional-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/qmake.conf
new file mode 100644 (file)
index 0000000..b4ae096
--- /dev/null
@@ -0,0 +1,5 @@
+include(../wincewm60professional-msvc2005/qmake.conf)
+
+DEFINES        += QT_WINCE_GESTURES
+QMAKE_LIBS_GUI += TouchGestureCore.lib
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2005/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/default_post.prf b/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/default_post.prf
new file mode 100644 (file)
index 0000000..c854561
--- /dev/null
@@ -0,0 +1 @@
+include(../wincewm65professional-msvc2005/default_post.prf)
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/qmake.conf b/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/qmake.conf
new file mode 100644 (file)
index 0000000..552c7c8
--- /dev/null
@@ -0,0 +1,3 @@
+include(../wincewm65professional-msvc2005/qmake.conf)
+QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
+QMAKE_COMPILER_DEFINES += _MSC_VER=1500
diff --git a/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/qplatformdefs.h b/zouba/qt4-maemo5/mkspecs/wincewm65professional-msvc2008/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ef9f2cb
--- /dev/null
@@ -0,0 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../common/wince/qplatformdefs.h"
+