Commit Graph

8 Commits

Author SHA1 Message Date
Martchus 3ffe62b289 Show relevant ignore pattern for items in file browser 2024-05-25 04:47:53 +02:00
Martchus fc47cea9e5 Avoid building systemd integration by default when compiling for Android
The Qt D-Bus module is not available on Android builds so this would lead
to an configuration error.
2024-05-23 00:53:18 +02:00
Martchus ecece11df3 Introduce basic test setup for models
This test setup utilizes the "mocked" configuration so far only used for
manual testing. This allows adding unit tests for models without having to
run Syncthing itself. The test is pretty basic itself at this point.
2024-04-26 23:04:47 +02:00
Martchus 0f1bcae534 Fix build with c++utilities change to add header for compile definitions
* Add include directory for testhelper library manually as using the
  imported target was not possibly
* Fix visibility when using libsyncthing in syncthingwidgets
* Update changed global headers along the way
2024-01-30 22:35:47 +01:00
Martchus e4bbe852bd Avoid CMake deprecation warning by bumping version 2023-07-23 21:05:22 +02:00
Martchus dd936b4a81 Workaround lupdate not understanding "enum class" in some cases
Apparently this is still problematic leading to errors like
`Qualifying with unknown namespace/class`. It seems that moving the enum to
a different header file works. The trick to use a macro to define
`enum class` ceased to work on the other hand.

Specifying a function with the namespace like
`void QtGui::FinalWizardPage::showResults()` leads to the same problem and
also needs to be avoided.
2023-06-07 23:14:48 +02:00
Martchus 208391acf7 Ensure `_WIN32_WINNT` is set for Boost.Process
Apparently is is not always set when using MSVC (not sure in which cases it
is missing).
2023-05-01 20:58:40 +02:00
Martchus 96e92f13a3 Avoid relying on symlink for include directories
Symlinks aren't working very well with Git under Windows so better avoid
them.
2023-02-27 18:27:33 +01:00