i used this xml code to add the console app into my resource file
<file>Resources/upx.exe</file>
<file>Resources/upx.exe</file>
To copy to clipboard, switch view to plain text mode
and i used this code to access the program
UPX
->start
("./Resources/upx.exe",
QStringList(QDir::toNativeSeparators(lineEdit
->text
())));
UPX = new QProcess(this);
UPX->start("./Resources/upx.exe", QStringList(QDir::toNativeSeparators(lineEdit->text())));
To copy to clipboard, switch view to plain text mode
note that this code works fine when it is built shared.
it only does not work when it built static.
i mean by work that my program works but when i execute the last code it do nothing. it means the program doesn not see the console app.
i hope that is enough.
Bookmarks