This commit is contained in:
Luis Ángel San Martín 2013-12-16 00:00:40 +01:00
commit a27490ab83
3 changed files with 12 additions and 1 deletions

View File

@ -49,7 +49,7 @@ else {
INCLUDEPATH += /usr/local/include/poppler/qt4
LIBS += -L/usr/local/lib -lpoppler-qt4
}
QT += macextras
}
#CONFIG += release

View File

@ -62,6 +62,10 @@
#include "QsLog.h"
#ifdef Q_OS_MAC
//#include <QtMacExtras>
#endif
LibraryWindow::LibraryWindow()
:QMainWindow(),fullscreen(false),fetching(false),previousFilter("")
{

View File

@ -123,6 +123,13 @@ void logSystemAndConfig()
int main( int argc, char ** argv )
{
#ifdef Q_OS_MAC
#if QT_VERSION < 0x050000
if(QSysInfo::MacintoshVersion > QSysInfo::MV_10_8)
QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
#endif
#endif
QApplication app( argc, argv );
app.setApplicationName("YACReaderLibrary");