Files
BionxControl/BionxControl.pro

94 lines
2.3 KiB
Prolog
Raw Normal View History

2026-01-05 23:39:45 +01:00
QT += core gui svg
2025-12-15 20:57:09 +01:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
2025-12-31 16:30:03 +01:00
CONFIG += c++23
2025-12-15 20:57:09 +01:00
2026-01-01 00:40:27 +01:00
QMAKE_CXXFLAGS += -std=c++23
2025-12-15 20:57:09 +01:00
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
2026-01-04 11:10:43 +01:00
INCLUDEPATH += . libwin
2025-12-15 20:57:09 +01:00
2026-01-05 23:39:45 +01:00
linux:contains(QT_ARCH, arm.*)
{
2026-01-04 14:42:17 +01:00
message("Konfiguration für Raspberry Pi (ARM) erkannt.")
# 1. Header-Dateien (z.B. für bcm2835.h oder eigene Treiber)
#INCLUDEPATH += /usr/local/include \
# /home/pi/my_custom_drivers/include
2026-01-04 15:14:22 +01:00
# not used at the moment
2026-01-04 14:42:17 +01:00
# 2. Bibliotheken linken
# -L sagt dem Linker WO er suchen soll
# -l sagt dem Linker WAS er nehmen soll (z.B. libwiringPi.so -> -lwiringPi)
2026-01-04 15:14:22 +01:00
#LIBS += -L/usr/lib \
# -lmhstcan
2026-01-04 14:42:17 +01:00
# Optional: Spezielle Compiler-Flags für den Pi (Optimierung)
#QMAKE_CXXFLAGS += -O3
2025-12-15 20:57:09 +01:00
}
2026-01-04 14:42:17 +01:00
li
2025-12-15 20:57:09 +01:00
windows
{
#LIBS += -L$$PWD/can_api -lmhstcan -lAdvapi32
2026-01-07 17:13:35 +01:00
message("Konfiguration für Windows.")
2025-12-15 20:57:09 +01:00
}
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
bc.cpp \
2025-12-29 23:29:56 +01:00
bcanimateddelegate.cpp \
2026-01-10 16:38:52 +01:00
bcdelightpmwidget.cpp \
2025-12-29 23:29:56 +01:00
bcdeviceview.cpp \
2025-12-30 10:12:01 +01:00
bcdriver.cpp \
bcdriverstatewidget.cpp \
2025-12-30 10:12:01 +01:00
bcdrivertinycan.cpp \
2026-01-06 15:59:57 +01:00
bcsliderstyle.cpp \
bcthemeswitchbutton.cpp \
2026-01-10 16:37:59 +01:00
bctoggleswitch.cpp \
2025-12-18 20:34:38 +01:00
bctransmitter.cpp \
2025-12-28 22:48:18 +01:00
bcvalue.cpp \
2025-12-26 15:19:33 +01:00
bcvaluemodel.cpp \
2025-12-31 16:30:03 +01:00
bcxmlloader.cpp \
2026-01-04 11:10:43 +01:00
libwin/can_drv_win.c \
libwin/mhs_can_drv.c \
2025-12-15 20:57:09 +01:00
main.cpp \
bcmainwindow.cpp
HEADERS += \
bc.h \
2025-12-29 23:29:56 +01:00
bcanimateddelegate.h \
2026-01-10 16:38:52 +01:00
bcdelightpmwidget.h \
2025-12-29 23:29:56 +01:00
bcdeviceview.h \
2025-12-30 10:12:01 +01:00
bcdriver.h \
bcdriverstatewidget.h \
2025-12-30 10:12:01 +01:00
bcdrivertinycan.h \
2025-12-15 20:57:09 +01:00
bcmainwindow.h \
2026-01-06 15:59:57 +01:00
bcsliderstyle.h \
bcthemeswitchbutton.h \
2026-01-10 16:37:59 +01:00
bctoggleswitch.h \
2025-12-24 12:11:59 +01:00
bctransmitter.h \
2025-12-28 22:48:18 +01:00
bcvalue.h \
2025-12-26 15:19:33 +01:00
bcvaluemodel.h \
2025-12-31 16:30:03 +01:00
bcxmlloader.h
2025-12-15 20:57:09 +01:00
FORMS += \
bcmainwindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
2025-12-19 13:24:18 +01:00
bionxcontrol.qrc