Skip to content

Commit

Permalink
windows: add Qt serial port to deploy and recognize DMXKing MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Jun 21, 2023
1 parent dc1dbb7 commit 804974d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion platforms/windows/windows.pro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ qtlibs.files = $$QT_LIBS_PATH/$${QT_V}Core$${QT_D}.dll \
$$QT_LIBS_PATH/$${QT_V}Widgets$${QT_D}.dll \
$$QT_LIBS_PATH/$${QT_V}OpenGL$${QT_D}.dll \
$$QT_LIBS_PATH/$${QT_V}Multimedia$${QT_D}.dll \
$$QT_LIBS_PATH/$${QT_V}MultimediaWidgets$${QT_D}.dll
$$QT_LIBS_PATH/$${QT_V}MultimediaWidgets$${QT_D}.dll \
$$QT_LIBS_PATH/$${QT_V}SerialPort$${QT_D}.dll
greaterThan(QT_MAJOR_VERSION, 5) {
qtlibs.files += $$QT_LIBS_PATH/$${QT_V}Qml$${QT_D}.dll
}
Expand Down
3 changes: 2 additions & 1 deletion plugins/dmxusb/src/dmxusbwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ QList<DMXUSBWidget *> DMXUSBWidget::widgets()
input_id += 2;
widgetList << promkii;
}
else if (productName.contains("DMX USB PRO") || productName.contains("ULTRADMX"))
else if (productName.contains("DMX USB PRO") || productName.contains("ULTRADMX") ||
(iface->vendorID() == DMXInterface::NXPVID && iface->productID() == DMXInterface::DMXKINGMAXPID))
{
/** Check if the device responds to label 77 and 78, so it might be a DMXking adapter */
int ESTAID = 0;
Expand Down

0 comments on commit 804974d

Please sign in to comment.