Skip to content

Commit bd4e3bd

Browse files
authored
Merge branch 'mcallegari:master' into master
2 parents 57601bc + 9a0deb5 commit bd4e3bd

274 files changed

Lines changed: 9442 additions & 1619 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.obs/workflows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ workflow:
22
steps:
33
- trigger_services:
44
project: home:mcallegari79
5-
package: qlcplus-qt5-git
6-
package: qlcplus-qt6-git
5+
package: qlcplus-git
6+
package: qlcplus5-git
77
filters:
88
event: push

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ include(GNUInstallDirs)
4343
find_package(QT NAMES Qt5 Qt6 REQUIRED COMPONENTS Core)
4444
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Gui Multimedia MultimediaWidgets Network PrintSupport Qml Quick Svg Test Widgets LinguistTools)
4545
if(qmlui)
46-
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS 3DCore 3DInput 3DQuick 3DQuickExtras 3DRender)
46+
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS 3DCore 3DInput 3DLogic 3DQuick 3DQuickExtras 3DRender WebSockets)
4747
if(ANDROID)
4848
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Concurrent OpenGL)
4949
endif()
50+
5051
endif()
5152

5253
message("Found Qt version ${QT_VERSION_MAJOR}: ${QT_DIR}")
@@ -73,13 +74,13 @@ add_subdirectory(hotplugmonitor)
7374
add_subdirectory(engine)
7475
add_subdirectory(resources)
7576
add_subdirectory(plugins)
77+
add_subdirectory(webaccess)
7678
if(qmlui)
7779
message("Building QLC+ 5 QML UI")
7880
add_subdirectory(qmlui)
7981
else()
8082
message("Building QLC+ 4 QtWidget UI")
8183
add_subdirectory(ui)
82-
add_subdirectory(webaccess)
8384
add_subdirectory(main)
8485
add_subdirectory(fixtureeditor)
8586
endif()

create-exe.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
2-
#VERSION=$(head -1 debian/changelog | sed 's/.*(\(.*\)).*/\1/')
3-
VERSION=$(grep -m 1 APPVERSION variables.pri | cut -d '=' -f 2 | sed -e 's/^[[:space:]]*//' | tr ' ' _ | tr -d '\r\n')
2+
43
APP_DIR=/c/qlcplus
54
ROOT_DIR=$PWD
65

debian/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ qlcplus (4.14.4) stable; urgency=low
88
* Virtual Console/Clock: countdown mode can now run a list of Functions
99
* Virtual Console/Solo Frame: add an option to exclude functions monitored by buttons to be stopped
1010
* Virtual Console/Slider: fix level tab channel list sorting (thanks to jpue)
11+
* Plugins/DMX USB: add support for FTDI FT4232H (thanks to Thomas Pfeiffer)
1112
* webaccess: improve CSS consistency across browsers (thanks to jpue)
1213
* webaccess: fix synchronization of animation widget RGB colors (thanks to jpue)
1314
* webaccess: add getWidgetFunction API (thanks to mccartyp)

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ override_dh_auto_configure:
1111
./translate.sh
1212
dh_auto_configure --
1313
# Use this to build QLC+ v5 with the QML UI:
14-
#dh_auto_configure -- CONFIG+=qmlui
14+
#dh_auto_configure -- -Dqmlui=on
1515

1616
override_dh_shlibdeps:
1717
dh_shlibdeps -Xlibsndfileplugin.so -Xlibolaio.so

engine/audio/src/audio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ void Audio::slotFunctionRemoved(quint32 fid)
246246
* Save & Load
247247
*********************************************************************/
248248

249-
bool Audio::saveXML(QXmlStreamWriter *doc)
249+
bool Audio::saveXML(QXmlStreamWriter *doc) const
250250
{
251251
Q_ASSERT(doc != NULL);
252252

engine/audio/src/audio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ protected slots:
145145
*********************************************************************/
146146
public:
147147
/** Save function's contents to an XML document */
148-
bool saveXML(QXmlStreamWriter *doc) override;
148+
bool saveXML(QXmlStreamWriter *doc) const override;
149149

150150
/** Load function's contents from an XML document */
151151
bool loadXML(QXmlStreamReader &root) override;

engine/audio/src/audiocapture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ AudioCapture::~AudioCapture()
9494
#endif
9595
}
9696

97-
int AudioCapture::defaultBarsNumber()
97+
int AudioCapture::defaultBarsNumber() const
9898
{
9999
return FREQ_SUBBANDS_DEFAULT_NUMBER;
100100
}

engine/audio/src/audiocapture.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ class AudioCapture : public QThread
6060
Q_OBJECT
6161
public:
6262
/*!
63-
* Object contsructor.
63+
* Object constructor.
6464
* @param parent Parent object.
6565
*/
6666
AudioCapture(QObject* parent = 0);
6767

6868
~AudioCapture();
6969

70-
int defaultBarsNumber();
70+
int defaultBarsNumber() const;
7171

7272
/**
7373
* Request the given number of frequency bands to the
@@ -79,7 +79,6 @@ class AudioCapture : public QThread
7979
* Cancel a previous request of bars
8080
*/
8181
void unregisterBandsNumber(int number);
82-
//int bandsNumber();
8382

8483
static int maxFrequency() { return SPECTRUM_MAX_FREQUENCY; }
8584

@@ -114,7 +113,7 @@ class AudioCapture : public QThread
114113
/*!
115114
* Returns input interface latency in milliseconds.
116115
*/
117-
virtual qint64 latency() = 0;
116+
virtual qint64 latency() const = 0;
118117

119118
/*********************************************************************
120119
* Thread functions

engine/audio/src/audiocapture_alsa.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void AudioCaptureAlsa::uninitialize()
9393
m_captureHandle = NULL;
9494
}
9595

96-
qint64 AudioCaptureAlsa::latency()
96+
qint64 AudioCaptureAlsa::latency() const
9797
{
9898
return 0; // TODO
9999
}

0 commit comments

Comments
 (0)