Laut dem howto von trolltech muß man zunächst
Code: Alles auswählen
lupdate app.pro
allerdings wird bei mir keine .ts Datei erzeugt.
hier die .pro-Datei
Code: Alles auswählen
######################################################################
# Automatically generated by qmake (2.01a) Mi Mai 21 02:28:39 2008
######################################################################
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += context.h gpgwin.h keylist.h
SOURCES += context.cpp gpgwin.cpp main.cpp keylist.cpp
RC_FILE = gpg4usblib.rc
# For Static build on Linux: uncomment line below
#LIBS += lib/libgpgme.a -static-libgcc -Llib
#LIBS += lib/libgpgme.a
LIBS += -lgpgme -lgpg-error
#LIBS += lib/libgpgme.a -Llib
DEFINES += _FILE_OFFSET_BITS=64
Code: Alles auswählen
encryptAct = new QAction(tr("&Encrypt"), this);