mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-23 08:29:07 +03:00
Build has been fixed
This commit is contained in:
@@ -37,7 +37,12 @@
|
||||
#include <QFileInfo>
|
||||
#include <stdexcept>
|
||||
|
||||
#ifndef HAVE_QT4
|
||||
#include "easy/profiler.h"
|
||||
#else
|
||||
# define EASY_BLOCK(...)
|
||||
# define EASY_END_BLOCK
|
||||
#endif
|
||||
|
||||
namespace LimeReport{
|
||||
|
||||
|
@@ -56,7 +56,12 @@
|
||||
#include "lrpreviewreportwidget.h"
|
||||
#include "lrpreviewreportwidget_p.h"
|
||||
|
||||
#ifndef HAVE_QT4
|
||||
#include "easy/profiler.h"
|
||||
#else
|
||||
# define EASY_BLOCK(...)
|
||||
# define EASY_END_BLOCK
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_STATIC_BUILD
|
||||
|
@@ -312,7 +312,11 @@ QStringList ReportStructureCompleater::extractSlotNames(BaseDesignIntf *item)
|
||||
for(int i = mo->methodOffset(); i < mo->methodCount(); ++i)
|
||||
{
|
||||
if (mo->method(i).methodType() == QMetaMethod::Signal) {
|
||||
#ifndef HAVE_QT4
|
||||
result.append(QString::fromLatin1(mo->method(i).name()));
|
||||
#else
|
||||
result.append(QString::fromLatin1(mo->method(i).signature()));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
mo = mo->superClass();
|
||||
|
@@ -36,7 +36,12 @@
|
||||
#include "lrreporttranslation.h"
|
||||
|
||||
#include <QDebug>
|
||||
#ifndef HAVE_QT4
|
||||
#include "easy/profiler.h"
|
||||
#else
|
||||
# define EASY_BLOCK(...)
|
||||
# define EASY_END_BLOCK
|
||||
#endif
|
||||
|
||||
namespace LimeReport{
|
||||
|
||||
|
Reference in New Issue
Block a user