307 lines
8.2 KiB
Prolog
307 lines
8.2 KiB
Prolog
QT += core gui sql
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets network
|
|
|
|
CONFIG += c++11
|
|
|
|
CONFIG += rtti
|
|
CONFIG += exceptions
|
|
|
|
CONFIG += recheck
|
|
|
|
QMAKE_CXXFLAGS += -fPIC -fexceptions -frtti
|
|
|
|
#CONFIG -= app_bundle
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
# depend on your compiler). Please consult the documentation of the
|
|
# deprecated API in order to know how to port your code away from it.
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
|
SCallback.cpp \
|
|
SDCMImage.cpp \
|
|
SDCMSendImpl.cpp \
|
|
acquisition_info.cpp \
|
|
charconvert.cpp \
|
|
commondata.cpp \
|
|
cscallbacksendprogress.cpp \
|
|
csdcm.cpp \
|
|
dialogadvancedsetting.cpp \
|
|
dialogcalendar.cpp \
|
|
dialogprogress.cpp \
|
|
dialogsettingtable.cpp \
|
|
formcalendarview.cpp \
|
|
formcapture.cpp \
|
|
formcaptureimageselect.cpp \
|
|
formcheckcaptureselect.cpp \
|
|
formheadertype1.cpp \
|
|
formhistory.cpp \
|
|
formimageselect.cpp \
|
|
formitemselection.cpp \
|
|
formlistwidget.cpp \
|
|
formlistwidgethistory.cpp \
|
|
formlistwidgetworklist.cpp \
|
|
formmainmenu.cpp \
|
|
formsetting.cpp \
|
|
formviewer.cpp \
|
|
formworklist.cpp \
|
|
headertype1.cpp \
|
|
main.cpp \
|
|
mainwindow.cpp \
|
|
qglslshader.cpp \
|
|
qgstreamerplayer.cpp \
|
|
qgstreamerplayer2.cpp \
|
|
qopenglbufferbase.cpp \
|
|
qopenglbuffermenu.cpp \
|
|
qopenglbufferthumbnail.cpp \
|
|
qopengltexturebutton.cpp \
|
|
qrtspthread.cpp \
|
|
qsthread.cpp \
|
|
qvideoshader.cpp \
|
|
qvideowidget.cpp \
|
|
qvideowidget_720_yuy2.cpp \
|
|
qvideowidget_rgb.cpp \
|
|
qvideowidget_uyvy.cpp \
|
|
qvideowidget_yuy2.cpp \
|
|
scalendarmenuview.cpp \
|
|
sdatabase.cpp \
|
|
sdayview.cpp \
|
|
sdcmfindscu.cpp \
|
|
sdcmfindscudatacallback.cpp \
|
|
sdcmworklist.cpp \
|
|
slistwidget.cpp \
|
|
slistwidgetsetting.cpp \
|
|
sslidebar.cpp \
|
|
sslidebarhorizontal.cpp \
|
|
stableheader.cpp \
|
|
stextedit.cpp \
|
|
sthreadimagesave.cpp \
|
|
sthreadwatchvideolink.cpp \
|
|
sthreadworklistsearch.cpp \
|
|
sv4l2device.cpp \
|
|
dialogemergengy.cpp \
|
|
dialogexportusb.cpp \
|
|
dialogpowerbutton.cpp \
|
|
sthreadwatchport.cpp \
|
|
dialogmisscapture.cpp \
|
|
dialoglogin.cpp \
|
|
dialogchecksumerror.cpp \
|
|
dialogsettingnetworkshare.cpp \
|
|
dialogexportsamba.cpp \
|
|
singlebutton.cpp \
|
|
sambaclient.cpp \
|
|
dialogloginuseradd.cpp \
|
|
sthreadsenddicom.cpp \
|
|
formscreensaver.cpp \
|
|
seventfilter.cpp \
|
|
sexception.cpp \
|
|
sapplication.cpp \
|
|
scurl.cpp
|
|
|
|
HEADERS += \
|
|
SCallback.h \
|
|
SDCMCommonStructure.h \
|
|
SDCMImage.h \
|
|
SDCMSendImpl.h \
|
|
acquisition_info.h \
|
|
charconvert.h \
|
|
common.h \
|
|
common.hpp \
|
|
commondata.h \
|
|
cscallbacksendprogress.h \
|
|
csdcm.h \
|
|
cuda_utils.h \
|
|
dialogadvancedsetting.h \
|
|
dialogcalendar.h \
|
|
dialogprogress.h \
|
|
dialogsettingtable.h \
|
|
formcalendarview.h \
|
|
formcapture.h \
|
|
formcaptureimageselect.h \
|
|
formcheckcaptureselect.h \
|
|
formheadertype1.h \
|
|
formhistory.h \
|
|
formimageselect.h \
|
|
formitemselection.h \
|
|
formlistwidget.h \
|
|
formlistwidgethistory.h \
|
|
formlistwidgetworklist.h \
|
|
formmainmenu.h \
|
|
formsetting.h \
|
|
formviewer.h \
|
|
formworklist.h \
|
|
headertype1.h \
|
|
logging.h \
|
|
macros.h \
|
|
mainwindow.h \
|
|
preprocess.h \
|
|
qglslshader.h \
|
|
qgstreamerplayer.h \
|
|
qgstreamerplayer2.h \
|
|
qopenglbufferbase.h \
|
|
qopenglbuffermenu.h \
|
|
qopenglbufferthumbnail.h \
|
|
qopengltexturebutton.h \
|
|
qrtspthread.h \
|
|
qsthread.h \
|
|
qvideoshader.h \
|
|
qvideowidget.h \
|
|
qvideowidget_720_yuy2.h \
|
|
qvideowidget_rgb.h \
|
|
qvideowidget_uyvy.h \
|
|
qvideowidget_yuy2.h \
|
|
scalendarmenuview.h \
|
|
sdatabase.h \
|
|
sdayview.h \
|
|
sdcmfindscu.h \
|
|
sdcmfindscudatacallback.h \
|
|
sdcmworklist.h \
|
|
slistwidget.h \
|
|
slistwidgetsetting.h \
|
|
sslidebar.h \
|
|
sslidebarhorizontal.h \
|
|
stableheader.h \
|
|
stextedit.h \
|
|
sthreadimagesave.h \
|
|
sthreadwatchvideolink.h \
|
|
sthreadworklistsearch.h \
|
|
sv4l2device.h \
|
|
utils.h \
|
|
dialogemergengy.h \
|
|
dialogexportusb.h \
|
|
dialogpowerbutton.h \
|
|
sthreadwatchport.h \
|
|
dialogmisscapture.h \
|
|
dialoglogin.h \
|
|
dialogchecksumerror.h \
|
|
dialogexportsamba.h \
|
|
dialogsettingnetworkshare.h \
|
|
dialogexportsamba.h \
|
|
singlebutton.h \
|
|
sambaclient.h \
|
|
dialogloginuseradd.h \
|
|
sthreadsenddicom.h \
|
|
common.h \
|
|
formscreensaver.h \
|
|
seventfilter.h \
|
|
sexception.h \
|
|
sapplication.h \
|
|
scurl.h
|
|
|
|
|
|
FORMS += \
|
|
dialogadvancedsetting.ui \
|
|
dialogcalendar.ui \
|
|
dialogprogress.ui \
|
|
dialogsettingtable.ui \
|
|
formcalendarview.ui \
|
|
formcapture.ui \
|
|
formcaptureimageselect.ui \
|
|
formcheckcaptureselect.ui \
|
|
formheadertype1.ui \
|
|
formhistory.ui \
|
|
formimageselect.ui \
|
|
formitemselection.ui \
|
|
formlistwidget.ui \
|
|
formmainmenu.ui \
|
|
formsetting.ui \
|
|
formviewer.ui \
|
|
formworklist.ui \
|
|
mainwindow.ui \
|
|
dialogemergengy.ui \
|
|
dialogexportusb.ui \
|
|
dialogpowerbutton.ui \
|
|
dialogmisscapture.ui \
|
|
dialoglogin.ui \
|
|
dialogchecksumerror.ui \
|
|
dialogsettingnetworkshare.ui \
|
|
dialogexportsamba.ui \
|
|
dialogloginuseradd.ui \
|
|
formscreensaver.ui
|
|
|
|
TRANSLATIONS += \
|
|
SVG5_ko_KR.ts
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
RESOURCES += \
|
|
assets.qrc
|
|
|
|
|
|
unix: CONFIG += link_pkgconfig
|
|
unix: PKGCONFIG += gstreamer-1.0
|
|
unix: PKGCONFIG += gstreamer-app-1.0
|
|
unix: PKGCONFIG += glib-2.0
|
|
|
|
|
|
warning("target architecture: $$QMAKE_TARGET.arch")
|
|
warning("Target architecture (QT_ARCH): $$QT_ARCH")
|
|
warning("Target architecture (QT_SYSROOT): $$QT_SYSROOT")
|
|
|
|
contains(QT_ARCH, x86_64){
|
|
|
|
QT_SYSROOT = /
|
|
#x86_64 pc
|
|
DEFINES += _GSTREAMER_1_0 _SYOLOV5_NO _PC #_CROP
|
|
INCLUDEPATH += /usr/local/include
|
|
INCLUDEPATH += /usr/local/curl/include
|
|
INCLUDEPATH += /usr/local/dcmtk-3.6.8/include
|
|
|
|
#LIBS += -l/lib/x86_64-linux-gnu/sqlite3
|
|
|
|
LIBS += -L/usr/local/dcmtk-3.6.8/lib -lofstd -loflog -ldcmnet -ldcmtls -ldcmdata -ldcmtkcharls -lijg8 -lijg12 -lijg16 -ldcmimgle -ldcmimage -ldcmjpeg -ldcmjpls -lv4l2 -ljpeg
|
|
LIBS += -L/usr/local/curl/lib -lcurl
|
|
LIBS += -L/usr/local/openjpeg/lib -lopenjp2
|
|
|
|
#LIBS += -L$$[QT_SYSROOT]/usr/local/sqlite3/lib -lsqlite3
|
|
|
|
|
|
} else: contains(QT_ARCH, arm64) { # <-- 이렇게 '}'와 'else:'를 한 줄에 붙여야 합니다.
|
|
#_JETSON_TX2_NX #_XAVIER_NX #_TEST_CODE #_PC
|
|
DEFINES += _GSTREAMER_1_0 _SYOLOV5_NO _JETSON_TX2_NX #_LT6911UXE #_4K#_JETSON_DEV _XAVIER_NX # _JETSON_TX2_NX
|
|
#DEFINES += _GSTREAMER_1_0 _SYOLOV5_NO _JETSON_DEV _XAVIER_NX #_4K# _SAVE_LOG _CROP_NO _NEW_WIDTH_LEVEL_NO
|
|
|
|
#aarch64 xavier nx
|
|
#/work/rootfs_tx2_nx_qt5
|
|
#$$[QT_SYSROOT]
|
|
|
|
#INCLUDEPATH += $$[QT_SYSROOT]/usr/local/STensorRTLibrtest_250620_1.dbary/include
|
|
#LIBS += -L$$[QT_SYSROOT]/usr/local/STensorRTLibrary/lib -lSTensorRTLibrary
|
|
INCLUDEPATH += $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu/glib-2.0/include
|
|
INCLUDEPATH += $$[QT_SYSROOT]/usr/local/dcmtk/include
|
|
INCLUDEPATH += $$[QT_SYSROOT]/usr/include/gstreamer-1.0
|
|
INCLUDEPATH += $$[QT_SYSROOT]/usr/local/curl/include
|
|
#LIBS += -L$$[QT_SYSROOT]/usr/local/dcmtk/lib -lofstd -loflog -ldcmnet -ldcmtls -ldcmdata -ldcmtkcharls -lijg8 -lijg12 -lijg16 -ldcmimgle -dcmimage -ldcmjpeg -ldcmjpls -lsqlite3 -lv4l2 -lopenjp2 -ljpeg
|
|
LIBS += -L$$[QT_SYSROOT]/usr/local/dcmtk/lib -lofstd -loflog -ldcmnet -ldcmtls -ldcmdata -ldcmtkcharls -lijg8 -lijg12 -lijg16 -ldcmimgle -dcmimage -ldcmjpeg -ldcmjpls -lsqlite3 -lv4l2 -ljpeg
|
|
#LIBS += -L$$[QT_SYSROOT]/usr/local/cuda/lib64 -lcuda -lcudart -lcublas -lcublasLt -lnvinfer -lnvinfer_plugin -lopencv_core -lopencv_highgui lopencv_imgproc -lopencv_imgcodecs
|
|
LIBS += -L$$[QT_SYSROOT]/usr/local/curl/lib -lcurl
|
|
#LIBS += -L$$[QT_SYSROOT]/usr/local/openssl/lib -lssl -lcrypto
|
|
|
|
|
|
} else: contains(QT_ARCH, aarch64) { # <-- 이렇게 '}'와 'else:'를 한 줄에 붙여야 합니다.
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|