CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.cpp: In member function ‘void KCupsRequest::getDevices(int, QStringList, QStringList)’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.cpp:104:27: warning: ‘ipp_status_t cupsGetDevices(http_t*, int, const char*, const char*, cups_device_cb_t, void*)’ is deprecated [-Wdeprecated-declarations]
104 | cupsGetDevices(CUPS_HTTP_DEFAULT, timeout, include, exclude, (cups_device_cb_t)choose_device_cb, this);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.cpp:13:
/usr/include/cups/adminutil.h:77:25: note: declared here
77 | extern ipp_status_t cupsGetDevices(http_t *http, int timeout,
| ^~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.cpp: In member function ‘void KCupsRequest::getPrinterPPD(const QString&)’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.cpp:255:35: warning: ‘const char* cupsGetPPD2(http_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
255 | filename = cupsGetPPD2(CUPS_HTTP_DEFAULT, qUtf8Printable(printerName));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.cpp:14:
/usr/include/cups/ppd.h:360:26: note: declared here
360 | extern const char *cupsGetPPD2(http_t *http, const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/scpinstaller.cpp: In lambda function:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/scpinstaller.cpp:25:114: warning: unused parameter ‘err’ [-Wunused-parameter]
25 | connect(resolveTransaction, &PackageKit::Transaction::errorCode, this, [this](PackageKit::Transaction::Error err, const QString &details) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/printermanager.cpp: In lambda function:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/printermanager.cpp:220:30: warning: ‘ppd_file_t* ppdOpenFile(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
220 | ppd = ppdOpenFile(qUtf8Printable(filename));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/printermanager.cpp:30:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/printermanager.cpp:230:20: warning: ‘int ppdLocalize(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
230 | ppdLocalize(ppd);
| ~~~~~~~~~~~^~~~~
/usr/include/cups/ppd.h:435:25: note: declared here
435 | extern int ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/printermanager.cpp:232:24: warning: ‘void ppdMarkDefaults(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
232 | ppdMarkDefaults(ppd);
| ~~~~~~~~~~~~~~~^~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/kcm/printermanager.cpp:278:39: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
278 | || ((ppdattr = ppdFindAttr(ppd, "cupsCommands", nullptr)) != nullptr && ppdattr->value && strstr(ppdattr->value, "AutoConfigure"))) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/ConfigurePrinterInterface.cpp: In member function ‘void ConfigurePrinterInterface::ConfigurePrinter(const QString&)’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/ConfigurePrinterInterface.cpp:57:34: warning: ‘void KCupsRequest::waitTillFinished()’ is deprecated: Creates an event loop, do not use with QML components [-Wdeprecated-declarations]
57 | request->waitTillFinished();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/ConfigurePrinterInterface.cpp:14:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.h:40:10: note: declared here
40 | void waitTillFinished();
| ^~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp: In member function ‘void PrinterOptions::autoConfigureClicked()’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:53:30: warning: ‘void KCupsRequest::waitTillFinished()’ is deprecated: Creates an event loop, do not use with QML components [-Wdeprecated-declarations]
53 | request->waitTillFinished();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:19:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.h:40:10: note: declared here
40 | void waitTillFinished();
| ^~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp: In member function ‘void PrinterOptions::reloadPPD()’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:88:30: warning: ‘void KCupsRequest::waitTillFinished()’ is deprecated: Creates an event loop, do not use with QML components [-Wdeprecated-declarations]
88 | request->waitTillFinished();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.h:40:10: note: declared here
40 | void waitTillFinished();
| ^~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:93:24: warning: ‘ppd_file_t* ppdOpenFile(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
93 | m_ppd = ppdOpenFile(qUtf8Printable(m_filename));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.h:11,
from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:13:
/usr/include/cups/ppd.h:390:26: note: declared here
390 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:101:16: warning: ‘int ppdLocalize(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
101 | ppdLocalize(m_ppd);
| ~~~~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:435:25: note: declared here
435 | extern int ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:103:20: warning: ‘void ppdMarkDefaults(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
103 | ppdMarkDefaults(m_ppd);
| ~~~~~~~~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:141:35: warning: ‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
141 | || ((ppdattr = ppdFindAttr(m_ppd, "cupsCommands", nullptr)) != nullptr && ppdattr->value && strstr(ppdattr->value, "AutoConfigure"))) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp: In destructor ‘virtual PrinterOptions::~PrinterOptions()’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:370:17: warning: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
370 | ppdClose(m_ppd);
| ~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
365 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp: In member function ‘char* PrinterOptions::get_option_value(ppd_file_t*, const char*, char*, size_t) const’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:449:75: warning: ‘ppd_coption_t* ppdFindCustomOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
449 | } else if (strcasecmp(val, "Custom") || (coption = ppdFindCustomOption(ppd, name)) == nullptr) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/cups/ppd.h:425:26: note: declared here
425 | extern ppd_coption_t *ppdFindCustomOption(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:490:37: warning: ‘ppd_cparam_t* ppdFirstCustomParam(ppd_coption_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
490 | cparam = ppdFirstCustomParam(coption);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/cups/ppd.h:430:26: note: declared here
430 | extern ppd_cparam_t *ppdFirstCustomParam(ppd_coption_t *opt)
| ^~~~~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:553:42: warning: ‘ppd_cparam_t* ppdFirstCustomParam(ppd_coption_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
553 | for (cparam = ppdFirstCustomParam(coption); cparam; cparam = ppdNextCustomParam(coption)) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/cups/ppd.h:430:26: note: declared here
430 | extern ppd_cparam_t *ppdFirstCustomParam(ppd_coption_t *opt)
| ^~~~~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:553:88: warning: ‘ppd_cparam_t* ppdNextCustomParam(ppd_coption_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
553 | for (cparam = ppdFirstCustomParam(coption); cparam; cparam = ppdNextCustomParam(coption)) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/cups/ppd.h:433:26: note: declared here
433 | extern ppd_cparam_t *ppdNextCustomParam(ppd_coption_t *opt) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp: In member function ‘virtual void PrinterOptions::save()’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:744:30: warning: ‘void KCupsRequest::waitTillFinished()’ is deprecated: Creates an event loop, do not use with QML components [-Wdeprecated-declarations]
744 | request->waitTillFinished();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.h:40:10: note: declared here
40 | void waitTillFinished();
| ^~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp: In member function ‘char* PrinterOptions::get_option_value(ppd_file_t*, const char*, char*, size_t) const’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:526:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
526 | for (uval = val; *uval; ++uval) {
| ^~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:531:9: note: here
531 | case PPD_CUSTOM_PASSWORD:
| ^~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:598:34: warning: this statement may fall through [-Wimplicit-fallthrough=]
598 | for (uval = val; *uval; uval++) {
| ^~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterOptions.cpp:603:13: note: here
603 | case PPD_CUSTOM_PASSWORD:
| ^~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterBehavior.cpp: In member function ‘virtual void PrinterBehavior::save()’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterBehavior.cpp:260:34: warning: ‘void KCupsRequest::waitTillFinished()’ is deprecated: Creates an event loop, do not use with QML components [-Wdeprecated-declarations]
260 | request->waitTillFinished();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterBehavior.cpp:9:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.h:40:10: note: declared here
40 | void waitTillFinished();
| ^~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/PrinterBehavior.cpp:264:42: warning: ‘void KCupsRequest::waitTillFinished()’ is deprecated: Creates an event loop, do not use with QML components [-Wdeprecated-declarations]
264 | request->waitTillFinished();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.h:40:10: note: declared here
40 | void waitTillFinished();
| ^~~~~~~~~~~~~~~~
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/ConfigureDialog.cpp: In constructor ‘ConfigureDialog::ConfigureDialog(const QString&, bool, QWidget*)’:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/ConfigureDialog.cpp:56:30: warning: ‘void KCupsRequest::waitTillFinished()’ is deprecated: Creates an event loop, do not use with QML components [-Wdeprecated-declarations]
56 | request->waitTillFinished();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/configure-printer/ConfigureDialog.cpp:14:
/var/pisi/print-manager-6.7.0-80/work/print-manager-6.7.0/src/libkcups/KCupsRequest.h:40:10: note: declared here
40 | void waitTillFinished();
| ^~~~~~~~~~~~~~~~