Commit Graph

18 Commits

Author SHA1 Message Date
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
Klaus Basan
e49f9c2b38 Fixed output of PQ null values 2017-02-24 00:19:02 +00: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
Klaus Basan
7a38afe8c3 refs #485, adjusted samples 2016-03-18 01:08:07 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00: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
Klaus Basan
5d82ed4233 refs #552, samples to check accuracy of coordinates 2015-12-13 16:38:04 +00:00
Klaus Basan
dc918dfaba Moved some samples into unit tests 2015-05-30 18:18:47 +02:00
Klaus Basan
4bd9f987ce Adjusted samples
* using QTextStream
* some new samples
2015-01-24 01:17:02 +01:00
Klaus Basan
dbc3339599 Fixes in samples
* removed qSleep / dependency of Qt test libs
* QCoreApplication not required
2014-06-23 01:19:14 +02:00
Klaus Basan
7f68191e0f Fixed resource loading in Unit test and improved check in sample GUI's main 2014-02-26 14:34:17 +01:00
Klaus Basan
40a97c3d82 Added I18N for PQs, initial version. Hence resource file and language files. Changed samplesphysicalquantities to check some I18N topics. 2013-07-27 20:23:23 +02:00
Klaus Basan
5bf308c54b Initial refactoring of vector and matrix classes 2013-04-18 01:04:21 +02:00
Klaus Basan
e196a5585f Added legal header, changed include guards to contain namespace prefix e.g BLACKMISC_XYZ_H 2013-04-10 00:50:25 +02:00
Klaus Basan
943872ff67 Changed order of samples directory, started with aviation classes. 2013-04-01 21:53:35 +02:00