WarmUpTill / SceneSwitcher

An automation tool for OBS Studio
https://obsproject.com/forum/resources/automatic-scene-switching.395/
GNU General Public License v2.0
984 stars 78 forks source link

Build fails with Qt 6.8 #1240

Open alyssais opened 1 month ago

alyssais commented 1 month ago

Operating System Info

Other

Other OS

NixOS

OBS Studio Version

30.2.3

Advanced Scene Switcher Version

1.27.2

Plugin settings

No response

OBS Studio Log URL

No response

OBS Studio Crash Log URL

No response

Expected Behavior

CMake runs successfully, like with Qt 6.7.

Current Behavior

CMake Error at cmake/common/helpers_common.cmake:94 (set_property):
  set_property can not be used on an ALIAS target.
Call Stack (most recent call first):
  cmake/common/advss_helpers.cmake:286 (find_qt)
  plugins/midi/CMakeLists.txt:62 (setup_advss_plugin)

Steps to Reproduce

Try configuring SceneSwitcher with Qt 6.8.

Anything else we should know?

No response

WarmUpTill commented 1 month ago

Does it compile for you if you are building the qt-cmake branch?

alyssais commented 1 month ago

I had to build with -Wno-error=deprecated-declarations to get past QCheckBox::stateChanged(int) being deprecated now, but with that as well, it worked with that branch. Thanks!