tweaks to compile on windows

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@87 b624d157-de02-0410-bad0-e51aec6abb33
master
matthiasmiller 19 years ago
parent 7d7c8abd1d
commit 141487e27d
  1. 4
      src/lib/AutoType_Win.cpp
  2. 5
      src/src.pro

@ -21,9 +21,11 @@
#include <QMessageBox> #include <QMessageBox>
#include "AutoType.h" #include "AutoType.h"
QWidget* AutoType::MainWin=NULL;
void AutoType::perform(CEntry* entry, QString& err){ void AutoType::perform(CEntry* entry, QString& err){
QString str; QString str;
QMessageBox(NULL,tr("Error"),"This feature is not available under Windows"); QMessageBox::warning(NULL,tr("Error"),"This feature is not available under Windows");
} }

@ -24,9 +24,10 @@ macx{
SOURCES+=lib/AutoType_X11.cpp SOURCES+=lib/AutoType_X11.cpp
} }
win{ win32{
SOURCES+=lib/AutoType_Win.cpp SOURCES+=lib/AutoType_Win.cpp
TARGET=../$$TARGET
QMAKE_LINK_OBJECT_SCRIPT=../build/$$QMAKE_LINK_OBJECT_SCRIPT
} }