Commit Graph

77 Commits

Author SHA1 Message Date
Klaus Basan
004173b052 Style 2020-06-12 18:42:44 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Klaus Basan
fe99eb0fed Style and some view columns/UI renamings 2018-08-01 03:06:26 +02:00
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
63fbeecc00 Ref T192, formatting and minor tweaks 2017-12-21 19:46:33 +01:00
Klaus Basan
a993ccd1c1 Fix CApplication::processEventsFor so it can be used in samples/unit tests 2017-09-24 19:53:07 +01:00
Roland Winklmeier
cf2c0d0f35 Use qt.conf to override plugin path on Mac OS
Summary:
QCoreApplication::addLibraryPath is called before QCoreApplication
was constructed and this caused the returned string to be different
depending from which working directory it was called and not always
the intended binary path.
Using qt.conf has a fixed prefix relative to the binary path
inside the application bundle and therefore is easier to be used
with a relative path.

Reviewers: kbasan, msutcliffe

Reviewed By: msutcliffe

Differential Revision: https://dev.swift-project.org/D18
2017-05-05 23:08:40 +01:00
Roland Winklmeier
a3bc5c2936 Add <swiftInstall>/bin to library lookup paths
Summary:
This change adds <swiftInstall>/bin to the library lookup paths.
Without, QFactoryLoader is not able to find the Qt plugins
on Mac OS since on this platform the hard coded path defaults to
'foo.app/Contents/MacOS' for app bundles.
This change also adds the installation of QtPrintSupport framework which
is a dependency from cocoa platform plugin.

ref T48

Reviewers: kbasan, msutcliffe

Reviewed By: kbasan

Subscribers: jenkins

Maniphest Tasks: T48

Differential Revision: https://dev.swift-project.org/D15
2017-05-05 22:40:43 +01:00
Mathew Sutcliffe
a8302b310e refs #937 Resolved clazy warnings: QString::arg. 2017-04-19 19:31:45 +01:00
Mathew Sutcliffe
b7f69c6887 refs #937 Resolved clazy warnings: unnecessary memory allocation. 2017-04-19 19:31:39 +01:00
Roland Winklmeier
5c37ccdbeb Use CProcessCtrl::startDetached in dbus server and sample
refs #866
2017-04-18 00:07:41 +01:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
7bc53ada3e refs #883, fixes and formatting
* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
2017-02-24 15:21:42 +00:00
Klaus Basan
e73c8c4f36 refs #879, use test data in samples/unit tests 2017-02-24 15:21:30 +00:00
Klaus Basan
dc1d5d8586 refs #875, refs #879, renamed CTestUtils to CDBusUtils
* class now only contains DBus related code
* other functions have been moved to CTesting
2017-02-24 15:21:20 +00:00
Klaus Basan
7917769802 refs #875, adjusted using classes to use new namespaces 2017-02-24 15:21:18 +00:00
Klaus Basan
f2e49987e0 refs #875, adjusted servicetool (DBus samples)
* use functions from blackcore/test
* show signatures
2017-02-24 15:21:05 +00:00
Klaus Basan
3c588e61fa refs #875, moved classes for DBus unit tests and samples to BlackCore::Test 2017-02-24 15:21:00 +00:00
Klaus Basan
94e5bbcc93 refs #875, more tests / pings 2017-02-24 15:20:57 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
b252673928 refs #837 Using new abbreviated syntax for null units. 2017-01-10 23:44:30 +00:00
Mathew Sutcliffe
5791de6860 refs #800 Fixed some implicit conversion warnings. 2016-12-13 19:00:26 +01:00
Klaus Basan
2dec348c8c Formatting from refs #678 2016-06-25 16:00:36 +02:00
Klaus Basan
3087a94ea8 refs #678 and slack discussion, renamed enum name
https://dev.vatsim-germany.org/issues/678#note-7
2016-06-25 16:00:33 +02:00
Roland Winklmeier
45b0503896 Include Mac OS X platform in installer project
refs #615
2016-05-20 01:40:04 +02:00
Roland Winklmeier
364b16346d Fix samples header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:32:14 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
1b587c2ee8 refs #485 removed some dependencies from CDBusServer 2016-03-18 01:08:16 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
17fc3c4ce8 Disable app_bundles on OS X 2016-02-22 01:00:15 +01:00
Roland Winklmeier
866c8d2db6 Add samples to doxygen group 'samples' and subgroups
refs #594
2016-02-16 20:01:42 +01:00
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd6f0d0f25 Use namespace BlackSample in samples
refs #594
2016-02-16 20:01:28 +01:00
Roland Winklmeier
bf787478ad Rename Testservice DBus variables 2016-02-16 20:01:26 +01:00
Mathew Sutcliffe
abea471b5a Fixed samples project names in QtCreator. 2015-12-12 04:47:34 +00:00
Mathew Sutcliffe
fbcc42424d refs #520 Moved CDBusServer from BlackCore to BlackMisc. 2015-11-28 02:25:56 +00:00
Roland Winklmeier
7ece093ee9 Refactor qmake SUBDIRS structure
The big swift.pro is refactored by the correct usage of SUBDIRS
template. The following additional changes are made:
- Removed '_' from all targets and folder names
- Aligned parent folder and target name

refs #461
2015-11-23 09:50:44 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Roland Winklmeier
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Roland Winklmeier
6474261c3c Remove unnecessary includes 2015-11-19 21:07:00 +00:00
Klaus Basan
a33558987c Added swift header / formatting / fixed mixing registerMetatype 2015-11-19 21:06:38 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Klaus Basan
3e1e1070c1 refs #452 updated tests/samples to reflect previous changes 2015-11-19 20:59:21 +00:00
Klaus Basan
3c9f95356e refs #445, samples for vPilot rules
* new samples for vPilot rules
* also adjusted other samples to latest changes (livery, new readers)
2015-11-19 20:57:23 +00:00
Mathew Sutcliffe
47cac09e81 refs #437 Removed toQVariant and convertFromQVariant. 2015-05-31 17:21:17 +01:00
Klaus Basan
d78f38b672 More tests for DBus (samples DBus) 2015-05-16 18:34:50 +02:00
Mathew Sutcliffe
c136724cd0 MS & KB workshop: removed CAvionicsBase. 2015-05-12 22:47:52 +01:00