mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05: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
119eb1b1bd
commit
38b0d0083a
@ -597,6 +597,12 @@ Configuration::impl::impl (Configuration * self, QString const& instance_key, QS
|
||||
|
||||
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
|
||||
// QCoreApplication::applicationDirPath() which is used internally
|
||||
// by QStandardPaths :(
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Version number components
|
||||
set (WSJTX_VERSION_MAJOR 1)
|
||||
set (WSJTX_VERSION_MINOR 4)
|
||||
set (WSJTX_VERSION_MINOR 5)
|
||||
set (WSJTX_VERSION_PATCH 0)
|
||||
set (WSJTX_RC 1)
|
||||
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_PATCH) " " + revision ());
|
||||
#else
|
||||
a.setApplicationVersion ("1.4.0");
|
||||
a.setApplicationVersion ("Not for Release");
|
||||
#endif
|
||||
|
||||
bool multiple {false};
|
||||
|
@ -1016,14 +1016,18 @@ void MainWindow::msgBox(QString t) //msgBox
|
||||
|
||||
void MainWindow::on_actionOnline_User_Guide_triggered() //Display manual
|
||||
{
|
||||
#if defined (CMAKE_BUILD)
|
||||
QDesktopServices::openUrl (QUrl (PROJECT_MANUAL_DIRECTORY_URL "/" PROJECT_MANUAL));
|
||||
#endif
|
||||
}
|
||||
|
||||
//Display local copy of manual
|
||||
void MainWindow::on_actionLocal_User_Guide_triggered()
|
||||
{
|
||||
#if defined (CMAKE_BUILD)
|
||||
auto file = m_config.doc_path ().absoluteFilePath (PROJECT_MANUAL);
|
||||
QDesktopServices::openUrl (QUrl {"file:///" + file});
|
||||
#endif
|
||||
}
|
||||
|
||||
void MainWindow::on_actionWide_Waterfall_triggered() //Display Waterfalls
|
||||
|
@ -82,7 +82,7 @@ QString program_title (QString const& revision)
|
||||
# endif
|
||||
|
||||
#else
|
||||
QString id {"WSJT-X v1.4";
|
||||
QString id {"WSJT-X Not for Release"};
|
||||
#endif
|
||||
return id + " " + revision + " by K1JT";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user