fix compile on Mac (unix keyword in project file includes macx)
git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@85 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
parent
3011e86b37
commit
fe3ae4244d
|
@ -1156,7 +1156,8 @@ return 0;
|
||||||
#endif // X11
|
#endif // X11
|
||||||
|
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
|
#include <QMessageBox>
|
||||||
void AutoType::perform(CEntry* entry, QString& err){
|
void AutoType::perform(CEntry* entry, QString& err){
|
||||||
QMessageBox::warnig(NULL,"AutoType","Sorry, but Auto-Type does not work under Mac OS X yet.","OK");
|
QMessageBox::warning(NULL,"AutoType","Sorry, but Auto-Type does not work under Mac OS X yet.","OK");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -8,7 +8,7 @@ INSTALLS += target data
|
||||||
data.files += ../share/keepass/*
|
data.files += ../share/keepass/*
|
||||||
TARGET = ../bin/keepass
|
TARGET = ../bin/keepass
|
||||||
|
|
||||||
unix{
|
unix:!macx{
|
||||||
isEmpty(PREFIX){
|
isEmpty(PREFIX){
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
}
|
}
|
||||||
|
@ -125,4 +125,4 @@ qt \
|
||||||
thread \
|
thread \
|
||||||
exceptions \
|
exceptions \
|
||||||
stl
|
stl
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
Loading…
Reference in New Issue