starting work on websocket chat reader
This commit is contained in:
@@ -12,6 +12,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
|
||||
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets)
|
||||
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Network)
|
||||
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS WebSockets)
|
||||
|
||||
set(PROJECT_SOURCES
|
||||
main.cpp
|
||||
@@ -37,6 +38,11 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||
settings.hpp settings.cpp
|
||||
invalididexception.hpp invalididexception.cpp
|
||||
tierplaceholder.hpp tierplaceholder.cpp
|
||||
chatreader.hpp chatreader.cpp
|
||||
chatmessage.hpp chatmessage.cpp
|
||||
messagetype.hpp messagetype.cpp
|
||||
ircmessagetype.hpp ircmessagetype.cpp
|
||||
ircexception.hpp ircexception.cpp
|
||||
|
||||
)
|
||||
# Define target properties for Android with Qt 6 as:
|
||||
@@ -59,6 +65,7 @@ endif()
|
||||
|
||||
target_link_libraries(qt-app PRIVATE Qt${QT_VERSION_MAJOR}::Widgets)
|
||||
target_link_libraries(qt-app PRIVATE Qt${QT_VERISON_MAJOR}::Network)
|
||||
target_link_libraries(qt-app PRIVATE Qt${QT_VERISON_MAJOR}::WebSockets)
|
||||
|
||||
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
|
||||
# If you are developing for iOS or macOS you should consider setting an
|
||||
|
||||
Reference in New Issue
Block a user