Major port Qt4 to Qt6
- Updated header inclusions from QtGui to QtWidgets for consistency and compatibility with Qt 5 and later. - Replaced deprecated QApplication::desktop() with QApplication::primaryScreen() for obtaining screen DPI. - Modified MyOutputHandler to use QMessageLogContext and QString for improved logging. - Changed QMatrix to QTransform for image rotation in ImageCutout class. - Updated various debug statements to use toLocal8Bit() instead of toAscii() for better string handling. - Refactored several classes to use QElapsedTimer instead of QTime for performance measurement. - Ensured all operator overloads in Section and Tag classes are marked as const for better const-correctness.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# -------------------------------------------------
|
||||
# Project created by QtCreator 2009-08-20T00:31:05
|
||||
# -------------------------------------------------
|
||||
QT += sql
|
||||
QT += core gui sql widgets network concurrent printsupport
|
||||
TARGET = "Clipping Station"
|
||||
TEMPLATE = app
|
||||
SOURCES += main.cpp \
|
||||
@@ -91,11 +91,11 @@ FORMS += clippingstation.ui \
|
||||
prominencedialog.ui \
|
||||
pagetextdialog.ui \
|
||||
searchpublicationlistdialog.ui
|
||||
ICON = socialhose.icns
|
||||
ICON = emediasearch.icns
|
||||
RC_FILE = ClippingStation.rc
|
||||
win32 {
|
||||
LIBS += -L"C:\curl-7.19.6\bin\"
|
||||
INCLUDEPATH += "C:\curl-7.19.6\include\"
|
||||
LIBS += -L"C:\curl-7.19.6\bin\""
|
||||
INCLUDEPATH += "C:\curl-7.19.6\include\""
|
||||
}
|
||||
LIBS += -lcurl
|
||||
RESOURCES += icons.qrc
|
||||
|
||||
Reference in New Issue
Block a user