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:
Bill Somerville 2014-09-25 19:17:19 +00:00
parent 70b3e5e5c8
commit cb93d8f3d1
6 changed files with 14 additions and 4 deletions

View File

@ -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 :(

View File

@ -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)

View File

@ -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};

View File

@ -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

View File

@ -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";
}

View File

@ -10,7 +10,7 @@ CONFIG += thread
#CONFIG += console
TARGET = wsjtx
VERSION = 1.4
VERSION = "Not for Release"
TEMPLATE = app
DEFINES = QT5
QMAKE_CXXFLAGS += -std=c++11