Commit Graph

33 Commits

Author SHA1 Message Date
Lars Toenning
97eed9562a refactor: clang-format 2024-11-16 21:40:55 +01:00
Lars Toenning
cc1e41fc59 refactor: Rename remaining "black" identifiers 2024-11-11 15:11:40 +01:00
Lars Toenning
6d1812b164 refactor: Rename blackgui to swift::gui 2024-11-11 15:11:40 +01:00
Lars Toenning
9142a3649b refactor: Rename blackmisc to swift::misc 2024-11-11 15:11:39 +01:00
Lars Toenning
1deaeba584 Add CMake support 2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b Remove qmake files 2023-11-01 22:23:15 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00: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
Roland Winklmeier
97b21b6dac Add application role 'Sample'
Sample hotkey which requires access to CGuiApplication, did not yet
set a application role. Since there was no corresponding role for
samples, I added one and set it in sample hotkey.
2017-02-24 00:09:14 +00: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
Klaus Basan
d60214bd3c Fixed sample hot keys as discussed on slack 2016-03-30 13:42:01 +02: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
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Mathew Sutcliffe
abea471b5a Fixed samples project names in QtCreator. 2015-12-12 04:47:34 +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
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
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
Roland Winklmeier
9b6126c5db refs #454 Adapt sample_hotkeys to new hotkey settings component 2015-11-19 20:58:03 +00:00
Roland Winklmeier
793fcbfd15 refs #403 refactor project files
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02:00
Klaus Basan
dffb2e3581 Some build adjustements:
* Warning flags for elevated warnings as discussed: no /W3, explicit /wd
* fixed include in hotkey samples
* removed outdated QMAKE_CXXFLAGS += -std=c++0x
2015-04-19 03:04:33 +02:00
Roland Winklmeier
b794a10b8e Fix incorrect header include 2015-04-16 08:06:08 +02:00
Roy Mennicke
c94e5c0fbd refs #379 fixes the LED of sample_hotkey 2015-04-16 00:10:17 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +02:00
Roland Winklmeier
88e7a38796 refs #313 Change hotkey sample to new API 2014-08-19 14:42:25 +02:00
Roland Winklmeier
a131e8c91c Move IKeyboard and subclasses to new library BlackInput
refs #256
2014-06-15 19:22:59 +02:00
Roland Winklmeier
e978b6dee1 Central build configuration
* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration

refs #145
2014-03-11 22:01:31 +01:00
Roland Winklmeier
f09c77ebd0 Sample Hotkey
Demonstrates the usage of IKeyboard

refs #83
2014-03-11 21:51:41 +01:00