summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/oapplicationfactory.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libopie2/opiecore/oapplicationfactory.h b/libopie2/opiecore/oapplicationfactory.h
index 8516565..8cb0ddd 100644
--- a/libopie2/opiecore/oapplicationfactory.h
+++ b/libopie2/opiecore/oapplicationfactory.h
@@ -55,4 +55,6 @@
#include <qtopia/applicationinterface.h>
+#include <opie2/odebug.h>
+
namespace Opie {
namespace Core {
@@ -129,7 +131,12 @@ struct OApplicationFactory : public ApplicationInterface {
if (appName == Product::appName() )
return new Product(parent, name, f );
- else
+ else{
+ odebug << "Application Name = " << appName.latin1() << oendl;
+ odebug << "ProductName = " << Product::appName().latin1() << oendl;
+ odebug << "The application name is not equal to the product name!" << oendl;
+ odebug << "Please compare TARGET entry in the project file (*.pro) and the call of the OApplicationFactory< productName >" << oendl;
return 0l;
}
+ }
virtual QStringList applications()const {