Skip to content

Instantly share code, notes, and snippets.

View anjanik012's full-sized avatar

Anjani Kumar anjanik012

View GitHub Profile
@anjanik012
anjanik012 / warns-master.txt
Created June 14, 2021 07:26
gsoc21-week-1
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp: In member function ‘void Digikam::CollectionScanner::loadNameFilters()’:
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:45:43: warning: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
45 | d->imageFilterSet = imageFilter.toSet();
| ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtCore/qobject.h:49,
from /usr/include/qt/QtCore/QObject:1,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner.h:33,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_p.h:29,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:26:
/usr/include/qt/QtCore/qlist.h:413:13: note:
@anjanik012
anjanik012 / warns.txt
Created June 14, 2021 07:03
gsoc21-week-1
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp: In member function ‘void Digikam::CollectionScanner::loadNameFilters()’:
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:45:43: warning: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
45 | d->imageFilterSet = imageFilter.toSet();
| ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtCore/qobject.h:49,
from /usr/include/qt/QtCore/QObject:1,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner.h:33,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_p.h:29,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:26:
/usr/include/qt/QtCore/qlist.h:413:13: note:
@anjanik012
anjanik012 / Build.txt
Created April 8, 2021 11:59
Complete build warnings
>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
46 | d->audioFilterSet = audioFilter.toSet();
| ^
In file included from /usr/include/qt/QtCore/QSet:1,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_p.h:48,
from /home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:26:
/usr/include/qt/QtCore/qset.h:406:30: note: declared here
406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
| ^~~~~~~~
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:47:44: warning: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/utilities/searchwindow/searchview.cpp:317:54: warning: ‘void QTimeLine::setCurveShape(QTimeLine::CurveShape)’ is deprecated: Access easingCurve directly [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/utilities/setup/collections/dwitemdelegatepool.cpp:246:84: warning: ‘QTabletEvent::TabletDevice QTabletEvent::device() const’ is deprecated: Use deviceType() [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/utilities/setup/collections/dwitemdelegatepool.cpp:249:104: warning: ‘QTabletEvent::QTabletEvent(QEvent::Type, const QPointF&, const QPointF&, int, int, qreal, int, int, qreal, qreal, int, Qt::KeyboardModifiers, qint64)’ is deprecated: Use the other QTabletEvent constructor [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:45:44: warning: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:46:44: warning: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:47:44: warning: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/database/collection/collectionscanner_utils.cpp:48:48: warning: ‘QSet<T> QList<T>::toSet() const [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
/home/anjani/Program
/home/anjani/Programs/KDE/digikam/core/libs/dplugins/webservices/o2/src/o1.cpp:416:43: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/transitionmngr/effectmngr.cpp:44:77: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/transitionmngr/transitionmngr.cpp:44:77: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/dplugins/generic/view/slideshow/common/slideshowsettings.cpp:174:47: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/dplugins/generic/view/presentation/presentationmngr.cpp:116:43: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/dplugins/generic
/home/anjani/Programs/KDE/digikam/core/libs/dplugins/webservices/o2/src/o1.cpp:416:43: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/dplugins/webservices/o2/src/o1.cpp:419:36: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/transitionmngr/effectmngr.cpp:44:77: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/transitionmngr/effectmngr_p.cpp:45:23: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/transitionmngr/transitionmngr.cpp:44:77: warning: ‘void qsrand(uint)’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/transitionmngr/transitionmngr_p.cpp:66:23: warning: ‘int qrand()
/home/anjani/Programs/KDE/digikam/core/utilities/import/backend/cameracontroller.cpp:989:28: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/dplugins/generic/tools/calendar/wizard/calwizard.cpp:282:62: warning: ‘void QPrinter::setOrientation(QPrinter::Orientation)’ is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/dplugins/generic/tools/calendar/wizard/calwizard.cpp:286:63: warning: ‘void QPrinter::setOrientation(QPrinter::Orientation)’ is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/dplugins/generic/tools/printcreator/wizard/advprintphotopage.cpp:238:62: warning: ‘QSizeF QPrinter::paperSize(QPrinter::Unit) const’ is deprecated: Use pageLayout().pageSize().size() or pageLayout().fullPageSize() instead. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/dplugins/generic/tools/printcreator/wizard/advprintphotopage.cpp:287:62: warning: ‘QSizeF QPrinter::paperSize(QPrinter::Unit) const’ is deprecated: Use pageLayout().pageSize().size() or pageLayout().fullPageSize()