mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Add support for building with mingw-w64 GCC. Fix warnings
This commit is contained in:
committed by
Jakub Melka
parent
2c5aca7ea6
commit
d4ee4b890b
@@ -20,18 +20,20 @@ DEFINES += AUDIOBOOKPLUGIN_LIBRARY
|
||||
|
||||
QT += gui widgets
|
||||
|
||||
include(../../Pdf4Qt.pri)
|
||||
|
||||
LIBS += -L$$OUT_PWD/../..
|
||||
|
||||
LIBS += -lPdf4QtLib
|
||||
|
||||
QMAKE_CXXFLAGS += /std:c++latest /utf-8
|
||||
win32-*g++: {
|
||||
LIBS += -lole32 -lsapi
|
||||
}
|
||||
|
||||
INCLUDEPATH += $$PWD/../../Pdf4QtLib/Sources
|
||||
|
||||
DESTDIR = $$OUT_PWD/../../pdfplugins
|
||||
|
||||
CONFIG += c++11
|
||||
|
||||
SOURCES += \
|
||||
audiobookcreator.cpp \
|
||||
audiobookplugin.cpp \
|
||||
|
@@ -18,6 +18,7 @@
|
||||
#include "audiobookcreator.h"
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <windows.h>
|
||||
#include <sapi.h>
|
||||
#if defined(PDF4QT_USE_PRAGMA_LIB)
|
||||
#pragma comment(lib, "ole32")
|
||||
|
Reference in New Issue
Block a user