Network chat: Use QStringBuilder
It is a best practice after all Task-number: QTBUG-108873 Change-Id: I11c23c080f6fe7f124e461affa88279d5def93f9 Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
61afc6d109
commit
9db22a63a9
@ -28,6 +28,10 @@ set_target_properties(network-chat PROPERTIES
|
||||
MACOSX_BUNDLE TRUE
|
||||
)
|
||||
|
||||
target_compile_definitions(network-chat PRIVATE
|
||||
QT_USE_QSTRINGBUILDER
|
||||
)
|
||||
|
||||
target_link_libraries(network-chat PRIVATE
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
|
@ -11,6 +11,7 @@ SOURCES = chatdialog.cpp \
|
||||
server.cpp
|
||||
FORMS = chatdialog.ui
|
||||
QT += network widgets
|
||||
DEFINES += QT_USE_QSTRINGBUILDER
|
||||
requires(qtConfig(udpsocket))
|
||||
requires(qtConfig(listwidget))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user