From f43df635ef3efbb9ac242024c95c5949fb21a919 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Wed, 30 Mar 2011 15:54:26 +0200 Subject: Add code for Qt profile dist build --- odb/qt/dummy.cxx | 14 ++++++++++---- odb/qt/dummy.hxx | 12 ++++++++++++ odb/qt/libodb-qt-vc10.vcxproj | 8 ++++---- odb/qt/libodb-qt-vc9.vcproj | 8 ++++---- 4 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 odb/qt/dummy.hxx (limited to 'odb/qt') diff --git a/odb/qt/dummy.cxx b/odb/qt/dummy.cxx index fa60d2a..81468bc 100644 --- a/odb/qt/dummy.cxx +++ b/odb/qt/dummy.cxx @@ -1,8 +1,14 @@ -#include +#include #include -QString dummy () +namespace odb { - QString s ("Hello, Qt!"); - return s; + namespace qt + { + QString dummy () + { + QString s ("Hello, Qt!"); + return s; + } + } } diff --git a/odb/qt/dummy.hxx b/odb/qt/dummy.hxx new file mode 100644 index 0000000..e35625a --- /dev/null +++ b/odb/qt/dummy.hxx @@ -0,0 +1,12 @@ +// Force compilation and creation of libodb-qt library for now. +// +#include +#include + +namespace odb +{ + namespace qt + { + LIBODB_QT_EXPORT QString dummy (); + } +} diff --git a/odb/qt/libodb-qt-vc10.vcxproj b/odb/qt/libodb-qt-vc10.vcxproj index d01556f..fb50334 100644 --- a/odb/qt/libodb-qt-vc10.vcxproj +++ b/odb/qt/libodb-qt-vc10.vcxproj @@ -93,7 +93,7 @@ 4355;4800;4290;4251;%(DisableSpecificWarnings) - odb-d.lib;qt-core-d.lib;%(AdditionalDependencies) + odb-d.lib;QtCored4.lib;%(AdditionalDependencies) Windows true $(TargetPath) @@ -111,7 +111,7 @@ 4355;4800;4290;4251;%(DisableSpecificWarnings) - odb-d.lib;qt-core-d.lib;%(AdditionalDependencies) + odb-d.lib;QtCored4.lib;%(AdditionalDependencies) Windows true $(TargetPath) @@ -131,7 +131,7 @@ 4355;4800;4290;4251;%(DisableSpecificWarnings) - odb.lib;qt-core.lib;%(AdditionalDependencies) + odb.lib;QtCore4.lib;%(AdditionalDependencies) Windows true true @@ -153,7 +153,7 @@ 4355;4800;4290;4251;%(DisableSpecificWarnings) - odb.lib;qt-core.lib;%(AdditionalDependencies) + odb.lib;QtCore4.lib;%(AdditionalDependencies) Windows true true diff --git a/odb/qt/libodb-qt-vc9.vcproj b/odb/qt/libodb-qt-vc9.vcproj index fb67497..471538a 100644 --- a/odb/qt/libodb-qt-vc9.vcproj +++ b/odb/qt/libodb-qt-vc9.vcproj @@ -66,7 +66,7 @@ />