Fixed Windows build.
--HG-- branch : develop
This commit is contained in:
parent
5e8ebd532b
commit
00e38fc119
|
@ -53,7 +53,7 @@ QString AbstractTest::ValentinaPath() const
|
||||||
{
|
{
|
||||||
const QString path = QStringLiteral("/../../../app/valentina/bin/valentina");
|
const QString path = QStringLiteral("/../../../app/valentina/bin/valentina");
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
return QApplication::applicationDirPath() + path + QStringList(".exe");
|
return QApplication::applicationDirPath() + path + QStringLiteral(".exe");
|
||||||
#else
|
#else
|
||||||
return QApplication::applicationDirPath() + path;
|
return QApplication::applicationDirPath() + path;
|
||||||
#endif
|
#endif
|
||||||
|
@ -64,7 +64,7 @@ QString AbstractTest::TapePath() const
|
||||||
{
|
{
|
||||||
const QString path = QStringLiteral("/../../../app/tape/bin/tape");
|
const QString path = QStringLiteral("/../../../app/tape/bin/tape");
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
return QApplication::applicationDirPath() + path + QStringList(".exe");
|
return QApplication::applicationDirPath() + path + QStringLiteral(".exe");
|
||||||
#else
|
#else
|
||||||
return QApplication::applicationDirPath() + path;
|
return QApplication::applicationDirPath() + path;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user