diff --git a/limereport.pro b/limereport.pro index 53d9b87..3ede347 100644 --- a/limereport.pro +++ b/limereport.pro @@ -11,9 +11,10 @@ contains(CONFIG, zint){ export($$CONFIG) + SUBDIRS += limereport -CONFIG += ordered +CONFIG += ordered SUBDIRS += demo_r1 demo_r2 designer diff --git a/limereport/lrreportengine.cpp b/limereport/lrreportengine.cpp index f5acdfb..59f5de2 100644 --- a/limereport/lrreportengine.cpp +++ b/limereport/lrreportengine.cpp @@ -92,6 +92,7 @@ ReportEnginePrivate::ReportEnginePrivate(QObject *parent) : connect(m_datasources,SIGNAL(loadCollectionFinished(QString)),this,SLOT(slotDataSourceCollectionLoaded(QString))); connect(m_fileWatcher,SIGNAL(fileChanged(const QString &)),this,SLOT(slotLoadFromFile(const QString &))); +#ifndef HAVE_REPORT_DESIGNER QDir pluginsDir = QCoreApplication::applicationDirPath(); pluginsDir.cd("../lib" ); if (!pluginsDir.exists()){ @@ -99,8 +100,6 @@ ReportEnginePrivate::ReportEnginePrivate(QObject *parent) : if (!pluginsDir.exists()) pluginsDir.setPath(QCoreApplication::applicationDirPath()); } - qDebug()<