mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-28 12:22:32 -04:00
Moving WSJT-X "trunk" on to v1.5.
If built with qmake the version string will now be "Not for Release" since some many features essential to making a complete package are currently only build when using CMake. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4372 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
70b3e5e5c8
commit
cb93d8f3d1
@ -597,6 +597,12 @@ Configuration::impl::impl (Configuration * self, QString const& instance_key, QS
|
|||||||
|
|
||||||
ui_->setupUi (this);
|
ui_->setupUi (this);
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined (CMAKE_BUILD)
|
||||||
|
#define WSJT_SHARE_DESTINATION "."
|
||||||
|
#define WSJT_DOC_DESTINATION "."
|
||||||
|
#endif
|
||||||
|
|
||||||
// we must find this before changing the CWD since that breaks
|
// we must find this before changing the CWD since that breaks
|
||||||
// QCoreApplication::applicationDirPath() which is used internally
|
// QCoreApplication::applicationDirPath() which is used internally
|
||||||
// by QStandardPaths :(
|
// by QStandardPaths :(
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Version number components
|
# Version number components
|
||||||
set (WSJTX_VERSION_MAJOR 1)
|
set (WSJTX_VERSION_MAJOR 1)
|
||||||
set (WSJTX_VERSION_MINOR 4)
|
set (WSJTX_VERSION_MINOR 5)
|
||||||
set (WSJTX_VERSION_PATCH 0)
|
set (WSJTX_VERSION_PATCH 0)
|
||||||
set (WSJTX_RC 1)
|
set (WSJTX_RC 1)
|
||||||
set (WSJTX_VERSION_IS_RELEASE 0)
|
set (WSJTX_VERSION_IS_RELEASE 0)
|
||||||
|
2
main.cpp
2
main.cpp
@ -52,7 +52,7 @@ int main(int argc, char *argv[])
|
|||||||
"." WSJTX_STRINGIZE (WSJTX_VERSION_MINOR)
|
"." WSJTX_STRINGIZE (WSJTX_VERSION_MINOR)
|
||||||
"." WSJTX_STRINGIZE (WSJTX_VERSION_PATCH) " " + revision ());
|
"." WSJTX_STRINGIZE (WSJTX_VERSION_PATCH) " " + revision ());
|
||||||
#else
|
#else
|
||||||
a.setApplicationVersion ("1.4.0");
|
a.setApplicationVersion ("Not for Release");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool multiple {false};
|
bool multiple {false};
|
||||||
|
@ -1016,14 +1016,18 @@ void MainWindow::msgBox(QString t) //msgBox
|
|||||||
|
|
||||||
void MainWindow::on_actionOnline_User_Guide_triggered() //Display manual
|
void MainWindow::on_actionOnline_User_Guide_triggered() //Display manual
|
||||||
{
|
{
|
||||||
|
#if defined (CMAKE_BUILD)
|
||||||
QDesktopServices::openUrl (QUrl (PROJECT_MANUAL_DIRECTORY_URL "/" PROJECT_MANUAL));
|
QDesktopServices::openUrl (QUrl (PROJECT_MANUAL_DIRECTORY_URL "/" PROJECT_MANUAL));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//Display local copy of manual
|
//Display local copy of manual
|
||||||
void MainWindow::on_actionLocal_User_Guide_triggered()
|
void MainWindow::on_actionLocal_User_Guide_triggered()
|
||||||
{
|
{
|
||||||
|
#if defined (CMAKE_BUILD)
|
||||||
auto file = m_config.doc_path ().absoluteFilePath (PROJECT_MANUAL);
|
auto file = m_config.doc_path ().absoluteFilePath (PROJECT_MANUAL);
|
||||||
QDesktopServices::openUrl (QUrl {"file:///" + file});
|
QDesktopServices::openUrl (QUrl {"file:///" + file});
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionWide_Waterfall_triggered() //Display Waterfalls
|
void MainWindow::on_actionWide_Waterfall_triggered() //Display Waterfalls
|
||||||
|
@ -82,7 +82,7 @@ QString program_title (QString const& revision)
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
QString id {"WSJT-X v1.4";
|
QString id {"WSJT-X Not for Release"};
|
||||||
#endif
|
#endif
|
||||||
return id + " " + revision + " by K1JT";
|
return id + " " + revision + " by K1JT";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user