mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 08:55:05 -04:00
- Support FilesystemHierarchyStandard on Linux/Unix using preprocessor macros in .pro files.
- Add support for "make install" and "qmake PREFIX=" to improve YACReader packageability. - Add .desktop files for YACReader and YACReaderLibrary X11 desktop integration. - Add central YACReader.pro file as alternative to compileX11.sh - Add p7zip patch support and sourcecode check to .pro files
This commit is contained in:
@ -282,7 +282,11 @@ void ServerConfigDialog::generateQR(const QString & serverAddress)
|
||||
attributes << "-o" << "-" /*QCoreApplication::applicationDirPath()+"/utils/tmp.png"*/ << "-s" << "8" << "-l" << "H" << "-m" << "0" << serverAddress;
|
||||
connect(qrGenerator,SIGNAL(finished(int,QProcess::ExitStatus)),this,SLOT(updateImage(void)));
|
||||
connect(qrGenerator,SIGNAL(error(QProcess::ProcessError)),this,SLOT(openingError(QProcess::ProcessError))); //TODO: implement openingError
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||
qrGenerator->start(QString("qrencode"),attributes);
|
||||
#else
|
||||
qrGenerator->start(QCoreApplication::applicationDirPath()+"/utils/qrencode",attributes);
|
||||
#endif
|
||||
}
|
||||
|
||||
void ServerConfigDialog::updateImage()
|
||||
|
Reference in New Issue
Block a user