Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile keepassxc 2.5.2 on keepassxc/keepassxc-ci:trusty-qt5.10 #4098

Closed
ElCoyote27 opened this issue Jan 5, 2020 · 6 comments
Closed

Comments

@ElCoyote27
Copy link

Here's the error I'm getting when I do this:

./release-tool build -n -d keepassxc/keepassxc-ci:trusty-qt5.10 -v 2.5.2 --appimage

note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Objec
t*’ and ‘QPointer<FdoSecrets::Service>’

Being able to compile on qt5.10 and trusty is the only way for me to keep using KeepassXC on RHEL7.. 2.5.0 and 2.5.1 compiled fine.. are there any changes that could allow compiling 2.5.2 on those versions?

@ElCoyote27 ElCoyote27 changed the title Unable to compile keepassxc 2.5.2 on Unable to compile keepassxc 2.5.2 on keepassxc/keepassxc-ci:trusty-qt5.10 Jan 5, 2020
@ElCoyote27
Copy link
Author

ElCoyote27 commented Jan 5, 2020

-- Configuring done
-- Generating done
-- Build files have been written to: /keepassxc/out/build-release
Scanning dependencies of target keeshare_automoc
Scanning dependencies of target fdosecrets_automoc
Scanning dependencies of target sshagent_automoc
Scanning dependencies of target crypto_ssh_automoc
Scanning dependencies of target keepassxc_automoc
Scanning dependencies of target zxcvbn_automoc
Scanning dependencies of target keepassx_core_automoc
[  0%] Automatic moc, uic and rcc for target fdosecrets
[  0%] Automatic moc, uic and rcc for target keepassxc
[  0%] Automatic moc, uic and rcc for target crypto_ssh
[  1%] Automatic moc, uic and rcc for target keeshare
Scanning dependencies of target autotype_automoc
[  1%] Automatic moc, uic and rcc for target keepassx_core
[  1%] Automatic moc, uic and rcc for target sshagent
[  2%] Automatic moc, uic and rcc for target zxcvbn
[  2%] Built target keepassxc_automoc
[  2%] Automatic moc, uic and rcc for target autotype
Scanning dependencies of target qrcode_automoc
[  2%] Built target zxcvbn_automoc
[  3%] Automatic moc, uic and rcc for target qrcode
Scanning dependencies of target keepassxcbrowser_automoc
[  3%] Automatic moc, uic and rcc for target keepassxcbrowser
[  3%] Built target qrcode_automoc
Scanning dependencies of target translations
[  3%] Generating keepassx_ar.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_ar.qm'...
Generating moc_BinaryStream.cpp
Generating moc_OpenSSHKey.cpp
[  3%] Built target crypto_ssh_automoc
    Generated 816 translation(s) (816 finished and 0 unfinished)
    Ignored 835 untranslated source text(s)
[  3%] Generating keepassx_ca.qm
Scanning dependencies of target keepassxc-proxy_automoc
[  4%] Automatic moc, uic and rcc for target keepassxc-proxy
Updating '/keepassxc/out/build-release/share/translations/keepassx_ca.qm'...
    Generated 988 translation(s) (988 finished and 0 unfinished)
    Ignored 663 untranslated source text(s)
[  5%] Generating keepassx_uk.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_uk.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[  5%] Generating keepassx_de.qm
Generating ui_AgentSettingsWidget.h
Generating moc_AgentSettingsWidget.cpp
Generating moc_SSHAgent.cpp
[  5%] Built target keepassxc-proxy_automoc
[  5%] Built target sshagent_automoc
Updating '/keepassxc/out/build-release/share/translations/keepassx_de.qm'...
Scanning dependencies of target proxy_automoc
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
Scanning dependencies of target keepassx-autotype-xcb_automoc
[  5%] Generating keepassx_hr_HR.qm
[  6%] Automatic moc, uic and rcc for target proxy
[  6%] Automatic moc, uic and rcc for target keepassx-autotype-xcb
Updating '/keepassxc/out/build-release/share/translations/keepassx_hr_HR.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 1256 untranslated source text(s)
[  7%] Generating keepassx_th.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_th.qm'...
    Generated 1205 translation(s) (1205 finished and 0 unfinished)
    Ignored 446 untranslated source text(s)
[  7%] Generating keepassx_da.qm
Generating moc_AutoTypeXCB.cpp
Updating '/keepassxc/out/build-release/share/translations/keepassx_da.qm'...
    Generated 1232 translation(s) (1232 finished and 0 unfinished)
    Ignored 419 untranslated source text(s)
[  7%] Built target keepassx-autotype-xcb_automoc
Scanning dependencies of target keepassxc-cli_automoc
[  7%] Generating keepassx_hu.qm
[  7%] Automatic moc, uic and rcc for target keepassxc-cli
Updating '/keepassxc/out/build-release/share/translations/keepassx_hu.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[  7%] Generating keepassx_en_US.qm
[  7%] Built target keepassxc-cli_automoc
Updating '/keepassxc/out/build-release/share/translations/keepassx_en_US.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
Scanning dependencies of target cli_automoc
Generating moc_AutoType.cpp
Generating moc_AutoTypeFilterLineEdit.cpp
Generating moc_AutoTypeSelectDialog.cpp
Generating moc_AutoTypeSelectView.cpp
Generating moc_ShortcutWidget.cpp
Generating moc_WindowSelectComboBox.cpp
[  7%] Automatic moc, uic and rcc for target cli
[  8%] Generating keepassx_ro.qm
Generating ui_DatabaseSettingsWidgetKeeShare.h
Generating ui_SettingsWidgetKeeShare.h
Generating ui_EditGroupWidgetKeeShare.h
Generating moc_DatabaseSettingsWidgetKeeShare.cpp
Generating moc_KeeShare.cpp
Generating moc_SettingsWidgetKeeShare.cpp
Generating moc_ShareObserver.cpp
Generating moc_EditGroupWidgetKeeShare.cpp
[  8%] Built target autotype_automoc
Updating '/keepassxc/out/build-release/share/translations/keepassx_ro.qm'...
Generating moc_NativeMessagingBase.cpp
Generating moc_NativeMessagingHost.cpp
[  8%] Built target keeshare_automoc
[  8%] Built target cli_automoc
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[  8%] Generating keepassx_pt_PT.qm
[  8%] Built target proxy_automoc
[  8%] Generating keepassx_fi.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_pt_PT.qm'...
    Generated 1650 translation(s) (1650 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/keepassxc/out/build-release/share/translations/keepassx_fi.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[  8%] Generating keepassx_sl_SI.qm
Scanning dependencies of target crypto_ssh
Scanning dependencies of target zxcvbn
[  9%] Generating keepassx_sk.qm
[ 10%] Building C object src/CMakeFiles/zxcvbn.dir/zxcvbn/zxcvbn.c.o
Updating '/keepassxc/out/build-release/share/translations/keepassx_sl_SI.qm'...
Scanning dependencies of target autotype
    Generated 211 translation(s) (211 finished and 0 unfinished)
    Ignored 1045 untranslated source text(s)
[ 10%] Building CXX object src/crypto/ssh/CMakeFiles/crypto_ssh.dir/bcrypt_pbkdf.cpp.o
Updating '/keepassxc/out/build-release/share/translations/keepassx_sk.qm'...
[ 10%] Building C object src/crypto/ssh/CMakeFiles/crypto_ssh.dir/blowfish.c.o
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 1588 translation(s) (1588 finished and 0 unfinished)
    Ignored 63 untranslated source text(s)
[ 10%] Building CXX object src/CMakeFiles/autotype.dir/core/Tools.cpp.o
[ 10%] Generating keepassx_nb.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_nb.qm'...
    Generated 1003 translation(s) (1003 finished and 0 unfinished)
    Ignored 648 untranslated source text(s)
[ 10%] Generating keepassx_kk.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_kk.qm'...
    Generated 208 translation(s) (208 finished and 0 unfinished)
    Ignored 1048 untranslated source text(s)
[ 11%] Generating keepassx_la.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_la.qm'...
    Generated 253 translation(s) (253 finished and 0 unfinished)
    Ignored 1003 untranslated source text(s)
[ 11%] Generating keepassx_eu.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_eu.qm'...
    Generated 532 translation(s) (532 finished and 0 unfinished)
    Ignored 724 untranslated source text(s)
[ 11%] Generating keepassx_he.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_he.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 1256 untranslated source text(s)
[ 12%] Generating keepassx_id.qm
Generating ui_BrowserAccessControlDialog.h
Generating ui_BrowserEntrySaveDialog.h
Generating ui_BrowserOptionDialog.h
Generating moc_BrowserAccessControlDialog.cpp
Generating moc_BrowserAction.cpp
Generating moc_BrowserEntryConfig.cpp
Generating moc_BrowserEntrySaveDialog.cpp
Generating moc_BrowserOptionDialog.cpp
Generating moc_BrowserService.cpp
Generating moc_HostInstaller.cpp
Generating moc_NativeMessagingBase.cpp
Generating moc_NativeMessagingHost.cpp
[ 13%] Building CXX object src/crypto/ssh/CMakeFiles/crypto_ssh.dir/ASN1Key.cpp.o
Updating '/keepassxc/out/build-release/share/translations/keepassx_id.qm'...
[ 13%] Built target keepassxcbrowser_automoc
    Generated 1080 translation(s) (1080 finished and 0 unfinished)
    Ignored 571 untranslated source text(s)
[ 13%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoType.cpp.o
[ 13%] Generating keepassx_ja.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_ja.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 13%] Generating keepassx_ko.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_ko.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 14%] Generating keepassx_cs.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_cs.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 14%] Generating keepassx_et.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_et.qm'...
    Generated 994 translation(s) (994 finished and 0 unfinished)
    Ignored 657 untranslated source text(s)
[ 14%] Generating keepassx_is_IS.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_is_IS.qm'...
    Generated 23 translation(s) (23 finished and 0 unfinished)
    Ignored 1233 untranslated source text(s)
[ 14%] Generating keepassx_fr.qm
Generating DatabaseSettingsWidgetFdoSecrets.moc
Generating SettingsWidgetFdoSecrets.moc
Generating ui_DatabaseSettingsWidgetFdoSecrets.h
Generating ui_SettingsWidgetFdoSecrets.h
Generating moc_FdoSecretsPlugin.cpp
Generating moc_Collection.cpp
Generating moc_DBusObject.cpp
Generating moc_Item.cpp
Generating moc_Prompt.cpp
Generating moc_Service.cpp
Generating moc_Session.cpp
Generating moc_CollectionAdaptor.cpp
Generating moc_ItemAdaptor.cpp
Generating moc_PromptAdaptor.cpp
Generating moc_ServiceAdaptor.cpp
Generating moc_SessionAdaptor.cpp
Generating moc_DatabaseSettingsWidgetFdoSecrets.cpp
Generating moc_SettingsModels.cpp
Generating moc_SettingsWidgetFdoSecrets.cpp
[ 14%] Built target fdosecrets_automoc
Updating '/keepassxc/out/build-release/share/translations/keepassx_fr.qm'...
[ 14%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeAction.cpp.o
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 15%] Generating keepassx_sv.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_sv.qm'...
    Generated 1584 translation(s) (1584 finished and 0 unfinished)
    Ignored 67 untranslated source text(s)
[ 15%] Generating keepassx_bn.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_bn.qm'...
    Generated 505 translation(s) (505 finished and 0 unfinished)
    Ignored 751 untranslated source text(s)
[ 15%] Generating keepassx_lt.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_lt.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 851 translation(s) (851 finished and 0 unfinished)
    Ignored 800 untranslated source text(s)
[ 16%] Generating keepassx_en_GB.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_en_GB.qm'...
    Generated 784 translation(s) (784 finished and 0 unfinished)
    Ignored 867 untranslated source text(s)
[ 16%] Generating keepassx_es.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_es.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 16%] Generating keepassx_it.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_it.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 16%] Generating keepassx_pt.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_pt.qm'...
    Generated 1223 translation(s) (1223 finished and 0 unfinished)
    Ignored 428 untranslated source text(s)
[ 17%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeFilterLineEdit.cpp.o
[ 18%] Generating keepassx_sr.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_sr.qm'...
    Generated 413 translation(s) (413 finished and 0 unfinished)
    Ignored 843 untranslated source text(s)
[ 18%] Generating keepassx_pt_BR.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_pt_BR.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 18%] Generating keepassx_lv.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_lv.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 1256 untranslated source text(s)
[ 18%] Building CXX object src/CMakeFiles/zxcvbn.dir/zxcvbn_automoc.cpp.o
[ 19%] Generating keepassx_zh_TW.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_zh_TW.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 19%] Generating keepassx_pl.qm
[ 19%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeSelectDialog.cpp.o
Updating '/keepassxc/out/build-release/share/translations/keepassx_pl.qm'...
[ 19%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeSelectView.cpp.o
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 19%] Generating keepassx_nl_NL.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_nl_NL.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 19%] Generating keepassx_el.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_el.qm'...
    Generated 442 translation(s) (442 finished and 0 unfinished)
    Ignored 814 untranslated source text(s)
[ 20%] Generating keepassx_ru.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_ru.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 20%] Generating keepassx_tr.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_tr.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 1444 translation(s) (1444 finished and 0 unfinished)
    Ignored 207 untranslated source text(s)
[ 20%] Building CXX object src/crypto/ssh/CMakeFiles/crypto_ssh.dir/BinaryStream.cpp.o
[ 20%] Generating keepassx_zh_CN.qm
Updating '/keepassxc/out/build-release/share/translations/keepassx_zh_CN.qm'...
    Generated 1651 translation(s) (1651 finished and 0 unfinished)
[ 20%] Built target translations
Scanning dependencies of target qrcode
[ 20%] Building CXX object src/qrcode/CMakeFiles/qrcode.dir/QrCode.cpp.o
[ 21%] Building CXX object src/CMakeFiles/autotype.dir/autotype/ShortcutWidget.cpp.o
[ 21%] Building CXX object src/crypto/ssh/CMakeFiles/crypto_ssh.dir/OpenSSHKey.cpp.o
[ 21%] Linking CXX static library libzxcvbn.a
[ 21%] Built target zxcvbn
Scanning dependencies of target keepassxcbrowser
[ 21%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserAccessControlDialog.cpp.o
[ 21%] Building CXX object src/CMakeFiles/autotype.dir/autotype/WildcardMatcher.cpp.o
Scanning dependencies of target proxy
[ 21%] Building CXX object src/proxy/CMakeFiles/proxy.dir/__/core/Alloc.cpp.o
[ 21%] Building CXX object src/proxy/CMakeFiles/proxy.dir/keepassxc-proxy.cpp.o
/keepassxc/src/src/core/Alloc.cpp:33:2: warning: #warning "KeePassXC is being compiled without sized deallocation support. Deletes may be slow." [-Wcpp]
 #warning "KeePassXC is being compiled without sized deallocation support. Deletes may be slow."
  ^
[ 21%] Building CXX object src/qrcode/CMakeFiles/qrcode.dir/qrcode_automoc.cpp.o
[ 21%] Linking CXX static library libqrcode.a
[ 21%] Building CXX object src/proxy/CMakeFiles/proxy.dir/__/browser/NativeMessagingBase.cpp.o
[ 21%] Built target qrcode
Scanning dependencies of target cli
[ 21%] Building CXX object src/cli/CMakeFiles/cli.dir/Add.cpp.o
[ 21%] Building CXX object src/CMakeFiles/autotype.dir/autotype/WindowSelectComboBox.cpp.o
[ 22%] Building CXX object src/crypto/ssh/CMakeFiles/crypto_ssh.dir/crypto_ssh_automoc.cpp.o
[ 22%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserAction.cpp.o
[ 23%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserClients.cpp.o
[ 24%] Building CXX object src/proxy/CMakeFiles/proxy.dir/NativeMessagingHost.cpp.o
[ 25%] Building CXX object src/cli/CMakeFiles/cli.dir/AddGroup.cpp.o
[ 25%] Building CXX object src/CMakeFiles/autotype.dir/autotype_automoc.cpp.o
[ 25%] Building CXX object src/cli/CMakeFiles/cli.dir/Analyze.cpp.o
[ 25%] Linking CXX static library libcrypto_ssh.a
[ 25%] Built target crypto_ssh
Scanning dependencies of target fdosecrets
[ 25%] Building CXX object src/fdosecrets/CMakeFiles/fdosecrets.dir/FdoSecretsPlugin.cpp.o
Generating moc_KMessageWidget.cpp
Generating ui_AboutDialog.h
Generating ui_ApplicationSettingsWidgetGeneral.h
Generating ui_ApplicationSettingsWidgetSecurity.h
Generating ui_CategoryListWidget.h
Generating ui_CloneDialog.h
Generating ui_DatabaseOpenWidget.h
Generating ui_EditWidget.h
Generating ui_EditWidgetIcons.h
Generating ui_EditWidgetProperties.h
Generating ui_EntryPreviewWidget.h
Generating ui_IconDownloaderDialog.h
Generating ui_DatabaseOpenWidget.h
Generating ui_MainWindow.h
Generating ui_DatabaseOpenWidget.h
Generating ui_PasswordGeneratorWidget.h
Generating ui_SearchHelpWidget.h
Generating ui_SearchWidget.h
Generating ui_TotpDialog.h
Generating ui_TotpSetupDialog.h
Generating ui_UpdateCheckDialog.h
Generating ui_WelcomeWidget.h
Generating ui_CsvImportWidget.h
Generating ui_DatabaseSettingsDialog.h
Generating ui_DatabaseSettingsWidgetBrowser.h
Generating ui_DatabaseSettingsWidgetEncryption.h
Generating ui_DatabaseSettingsWidgetGeneral.h
Generating ui_DatabaseSettingsWidgetMetaDataSimple.h
Generating ui_DatabaseSettingsWidgetStatistics.h
Generating ui_EditEntryWidgetAdvanced.h
Generating ui_EditEntryWidgetAutoType.h
Generating ui_EditEntryWidgetBrowser.h
Generating ui_EditEntryWidgetHistory.h
Generating ui_EditEntryWidgetMain.h
Generating ui_EditEntryWidgetSSHAgent.h
Generating ui_EntryAttachmentsWidget.h
Generating ui_EditGroupWidgetMain.h
Generating ui_KeyComponentWidget.h
Generating ui_KeyFileEditWidget.h
Generating ui_PasswordEditWidget.h
Generating ui_YubiKeyEditWidget.h
Generating ui_NewDatabaseWizardPage.h
Generating moc_AutoTypeAssociations.cpp
Generating moc_Config.cpp
Generating moc_CustomData.cpp
Generating moc_Database.cpp
Generating moc_Entry.cpp
Generating moc_EntryAttachments.cpp
Generating moc_EntryAttributes.cpp
Generating moc_FileWatcher.cpp
Generating moc_Group.cpp
Generating moc_IconDownloader.cpp
Generating moc_InactivityTimer.cpp
Generating moc_Merger.cpp
Generating moc_Metadata.cpp
Generating moc_ScreenLockListener.cpp
Generating moc_ScreenLockListenerDBus.cpp
Generating moc_ScreenLockListenerPrivate.cpp
Generating moc_Kdf_p.cpp
Generating moc_OpData01.cpp
Generating moc_OpVaultReader.cpp
Generating moc_AboutDialog.cpp
Generating moc_Application.cpp
Generating moc_ApplicationSettingsWidget.cpp
Generating moc_CategoryListWidget.cpp
Generating moc_Clipboard.cpp
Generating moc_CloneDialog.cpp
Generating moc_DatabaseOpenDialog.cpp
Generating moc_DatabaseOpenWidget.cpp
Generating moc_DatabaseTabWidget.cpp
Generating moc_DatabaseWidget.cpp
Generating moc_DatabaseWidgetStateSync.cpp
Generating moc_DialogyWidget.cpp
Generating moc_DragTabBar.cpp
Generating moc_EditWidget.cpp
Generating moc_EditWidgetIcons.cpp
Generating moc_EditWidgetProperties.cpp
Generating moc_EntryPreviewWidget.cpp
Generating moc_IconDownloaderDialog.cpp
Generating moc_IconModels.cpp
Generating moc_KeePass1OpenWidget.cpp
Generating moc_LineEdit.cpp
Generating moc_MainWindow.cpp
Generating moc_MainWindowAdaptor.cpp
Generating moc_MessageWidget.cpp
Generating moc_OpVaultOpenWidget.cpp
Generating moc_PasswordEdit.cpp
Generating moc_PasswordGeneratorWidget.cpp
Generating moc_SearchWidget.cpp
Generating moc_SortFilterHideProxyModel.cpp
Generating moc_TotpDialog.cpp
Generating moc_TotpExportSettingsDialog.cpp
Generating moc_TotpSetupDialog.cpp
Generating moc_URLEdit.cpp
Generating moc_UpdateCheckDialog.cpp
Generating moc_WelcomeWidget.cpp
Generating moc_CsvImportWidget.cpp
Generating moc_CsvImportWizard.cpp
Generating moc_CsvParserModel.cpp
Generating moc_DatabaseSettingsDialog.cpp
Generating moc_DatabaseSettingsWidget.cpp
Generating moc_DatabaseSettingsWidgetBrowser.cpp
Generating moc_DatabaseSettingsWidgetEncryption.cpp
Generating moc_DatabaseSettingsWidgetGeneral.cpp
Generating moc_DatabaseSettingsWidgetMasterKey.cpp
Generating moc_DatabaseSettingsWidgetMetaDataSimple.cpp
Generating moc_DatabaseSettingsWidgetStatistics.cpp
Generating moc_AutoTypeAssociationsModel.cpp
Generating moc_AutoTypeMatchModel.cpp
Generating moc_AutoTypeMatchView.cpp
Generating moc_EditEntryWidget.cpp
Generating moc_EntryAttachmentsModel.cpp
Generating moc[ 25%] Building CXX object src/cli/CMakeFiles/cli.dir/Clip.cpp.o
[ 25%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserEntryConfig.cpp.o
[ 26%] Linking CXX static library libautotype.a
[ 26%] Building CXX object src/cli/CMakeFiles/cli.dir/Close.cpp.o
[ 26%] Building CXX object src/proxy/CMakeFiles/proxy.dir/proxy_automoc.cpp.o
[ 26%] Built target autotype
[ 27%] Building CXX object src/fdosecrets/CMakeFiles/fdosecrets.dir/widgets/SettingsModels.cpp.o
[ 27%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserEntrySaveDialog.cpp.o
[ 27%] Building CXX object src/fdosecrets/CMakeFiles/fdosecrets.dir/widgets/SettingsWidgetFdoSecrets.cpp.o
[ 28%] Building CXX object src/cli/CMakeFiles/cli.dir/Create.cpp.o
_EntryAttachmentsWidget.cpp
Generating moc_EntryAttributesModel.cpp
Generating moc_EntryHistoryModel.cpp
Generating moc_EntryModel.cpp
Generating moc_EntryURLModel.cpp
Generating moc_EntryView.cpp
Generating moc_EditGroupWidget.cpp
Generating moc_GroupModel.cpp
Generating moc_GroupView.cpp
Generating moc_KeyComponentWidget.cpp
Generating moc_KeyFileEditWidget.cpp
Generating moc_PasswordEditWidget.cpp
Generating moc_YubiKeyEditWidget.cpp
Generating moc_SettingsWidget.cpp
Generating moc_ElidedLabel.cpp
Generating moc_PopupHelpWidget.cpp
Generating moc_NewDatabaseWizard.cpp
Generating moc_NewDatabaseWizardPage.cpp
Generating moc_NewDatabaseWizardPageEncryption.cpp
Generating moc_NewDatabaseWizardPageMasterKey.cpp
Generating moc_NewDatabaseWizardPageMetaData.cpp
Generating moc_YkChallengeResponseKey.cpp
Generating moc_YkChallengeResponseKeyCLI.cpp
Generating moc_YubiKey.cpp
Generating moc_HashedBlockStream.cpp
Generating moc_HmacBlockStream.cpp
Generating moc_LayeredStream.cpp
Generating moc_StoreDataStream.cpp
Generating moc_SymmetricCipherStream.cpp
Generating moc_qtiocompressor.cpp
Generating moc_UpdateChecker.cpp
[ 28%] Built target keepassx_core_automoc
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp: In member function ‘void FdoSecrets::SettingsDatabaseModel::populateModel()’:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:200:14: error: no matching function for call to ‘FdoSecrets::SettingsDatabaseModel::connect(QPointer<DatabaseTabWidget>&, void (DatabaseTabWidget::*)(DatabaseWidget*), FdoSecrets::SettingsDatabaseModel* const, FdoSecrets::SettingsDatabaseModel::populateModel()::__lambda10)’
             });
              ^
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:200:14: note: candidates are:
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:214:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (DatabaseTabWidget::*)(DatabaseWidget*)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:217:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (DatabaseTabWidget::*)(DatabaseWidget*)’ to ‘const QMetaMethod&’
/opt/qt510/include/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/opt/qt510/include/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (DatabaseTabWidget::*)(DatabaseWidget*)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/opt/qt510/include/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:200:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             });
              ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:200:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             });
              ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:200:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             });
              ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:200:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             });
              ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:200:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             });
              ^
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:201:112: error: no matching function for call to ‘FdoSecrets::SettingsDatabaseModel::connect(QPointer<DatabaseTabWidget>&, void (DatabaseTabWidget::*)(const QString&), FdoSecrets::SettingsDatabaseModel* const, void (FdoSecrets::SettingsDatabaseModel::*)(const QString&))’
             connect(m_dbTabs, &DatabaseTabWidget::databaseClosed, this, &SettingsDatabaseModel::databaseRemoved);
                                                                                                                ^
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:201:112: note: candidates are:
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:214:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (DatabaseTabWidget::*)(const QString&)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:217:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (DatabaseTabWidget::*)(const QString&)’ to ‘const QMetaMethod&’
/opt/qt510/include/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/opt/qt510/include/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (DatabaseTabWidget::*)(const QString&)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/opt/qt510/include/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:201:112: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             connect(m_dbTabs, &DatabaseTabWidget::databaseClosed, this, &SettingsDatabaseModel::databaseRemoved);
                                                                                                                ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:201:112: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             connect(m_dbTabs, &DatabaseTabWidget::databaseClosed, this, &SettingsDatabaseModel::databaseRemoved);
                                                                                                                ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:201:112: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             connect(m_dbTabs, &DatabaseTabWidget::databaseClosed, this, &SettingsDatabaseModel::databaseRemoved);
                                                                                                                ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:201:112: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             connect(m_dbTabs, &DatabaseTabWidget::databaseClosed, this, &SettingsDatabaseModel::databaseRemoved);
                                                                                                                ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:201:112: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseTabWidget>’
             connect(m_dbTabs, &DatabaseTabWidget::databaseClosed, this, &SettingsDatabaseModel::databaseRemoved);
                                                                                                                ^
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp: In member function ‘void FdoSecrets::SettingsSessionModel::populateModel()’:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:360:114: error: no matching function for call to ‘FdoSecrets::SettingsSessionModel::connect(QPointer<FdoSecrets::Service>&, void (FdoSecrets::Service::*)(FdoSecrets::Session*), FdoSecrets::SettingsSessionModel* const, FdoSecrets::SettingsSessionModel::populateModel()::__lambda17)’
             connect(m_service, &Service::sessionOpened, this, [this](Session* sess) { sessionAdded(sess, true); });
                                                                                                                  ^
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:360:114: note: candidates are:
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:214:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (FdoSecrets::Service::*)(FdoSecrets::Session*)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:217:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (FdoSecrets::Service::*)(FdoSecrets::Session*)’ to ‘const QMetaMethod&’
/opt/qt510/include/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/opt/qt510/include/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (FdoSecrets::Service::*)(FdoSecrets::Session*)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/opt/qt510/include/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:360:114: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionOpened, this, [this](Session* sess) { sessionAdded(sess, true); });
                                                                                                                  ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:360:114: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionOpened, this, [this](Session* sess) { sessionAdded(sess, true); });
                                                                                                                  ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:360:114: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionOpened, this, [this](Session* sess) { sessionAdded(sess, true); });
                                                                                                                  ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:360:114: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionOpened, this, [this](Session* sess) { sessionAdded(sess, true); });
                                                                                                                  ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:360:114: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionOpened, this, [this](Session* sess) { sessionAdded(sess, true); });
                                                                                                                  ^
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:361:100: error: no matching function for call to ‘FdoSecrets::SettingsSessionModel::connect(QPointer<FdoSecrets::Service>&, void (FdoSecrets::Service::*)(FdoSecrets::Session*), FdoSecrets::SettingsSessionModel* const, void (FdoSecrets::SettingsSessionModel::*)(FdoSecrets::Session*))’
             connect(m_service, &Service::sessionClosed, this, &SettingsSessionModel::sessionRemoved);
                                                                                                    ^
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:361:100: note: candidates are:
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:214:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (FdoSecrets::Service::*)(FdoSecrets::Session*)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:217:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (FdoSecrets::Service::*)(FdoSecrets::Session*)’ to ‘const QMetaMethod&’
/opt/qt510/include/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/opt/qt510/include/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (FdoSecrets::Service::*)(FdoSecrets::Session*)’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/opt/qt510/include/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:361:100: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionClosed, this, &SettingsSessionModel::sessionRemoved);
                                                                                                    ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:361:100: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionClosed, this, &SettingsSessionModel::sessionRemoved);
                                                                                                    ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:361:100: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionClosed, this, &SettingsSessionModel::sessionRemoved);
                                                                                                    ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:361:100: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionClosed, this, &SettingsSessionModel::sessionRemoved);
                                                                                                    ^
In file included from /opt/qt510/include/QtCore/qvariant.h:51:0,
                 from /opt/qt510/include/QtCore/qabstractitemmodel.h:43,
                 from /opt/qt510/include/QtCore/QAbstractTableModel:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.h:21,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:18:
/opt/qt510/include/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsModels.cpp:361:100: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<FdoSecrets::Service>’
             connect(m_service, &Service::sessionClosed, this, &SettingsSessionModel::sessionRemoved);
                                                                                                    ^
[ 29%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserOptionDialog.cpp.o
[ 29%] Building CXX object src/cli/CMakeFiles/cli.dir/Command.cpp.o
make[2]: *** [src/fdosecrets/CMakeFiles/fdosecrets.dir/widgets/SettingsModels.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 29%] Building CXX object src/cli/CMakeFiles/cli.dir/DatabaseCommand.cpp.o
[ 29%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserService.cpp.o
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp: In member function ‘void {anonymous}::ManageDatabase::reconnect()’:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:139:14: error: no matching function for call to ‘{anonymous}::ManageDatabase::connect(QPointer<DatabaseWidget>&, void (DatabaseWidget::*)(), {anonymous}::ManageDatabase* const, {anonymous}::ManageDatabase::reconnect()::__lambda27)’
             });
              ^
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:139:14: note: candidates are:
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:214:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (DatabaseWidget::*)()’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:217:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (DatabaseWidget::*)()’ to ‘const QMetaMethod&’
/opt/qt510/include/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/opt/qt510/include/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (DatabaseWidget::*)()’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/opt/qt510/include/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:139:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:139:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:139:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:139:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:139:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:146:14: error: no matching function for call to ‘{anonymous}::ManageDatabase::connect(QPointer<DatabaseWidget>&, void (DatabaseWidget::*)(), {anonymous}::ManageDatabase* const, {anonymous}::ManageDatabase::reconnect()::__lambda30)’
             });
              ^
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:146:14: note: candidates are:
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:214:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:214:36: note:   no known conversion for argument 2 from ‘void (DatabaseWidget::*)()’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:217:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/opt/qt510/include/QtCore/qobject.h:217:36: note:   no known conversion for argument 2 from ‘void (DatabaseWidget::*)()’ to ‘const QMetaMethod&’
/opt/qt510/include/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/opt/qt510/include/QtCore/qobject.h:469:32: note:   no known conversion for argument 2 from ‘void (DatabaseWidget::*)()’ to ‘const char*’
/opt/qt510/include/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
                                           ^
/opt/qt510/include/QtCore/qobject.h:234:43: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:146:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:266:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:146:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:275:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:146:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^
/opt/qt510/include/QtCore/qobject.h:306:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:146:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
In file included from /opt/qt510/include/QtWidgets/qwidget.h:45:0,
                 from /opt/qt510/include/QtWidgets/QWidget:1,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.h:22,
                 from /keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:18:
/opt/qt510/include/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^
/opt/qt510/include/QtCore/qobject.h:314:13: note:   template argument deduction/substitution failed:
/keepassxc/src/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp:146:14: note:   mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<DatabaseWidget>’
             });
              ^
[ 29%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/BrowserSettings.cpp.o
[ 29%] Linking CXX static library libproxy.a
[ 29%] Built target proxy
make[2]: *** [src/fdosecrets/CMakeFiles/fdosecrets.dir/widgets/SettingsWidgetFdoSecrets.cpp.o] Error 1
make[1]: *** [src/fdosecrets/CMakeFiles/fdosecrets.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 29%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/HostInstaller.cpp.o
Scanning dependencies of target keeshare
[ 29%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/SettingsPageKeeShare.cpp.o
[ 30%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/SettingsWidgetKeeShare.cpp.o
[ 31%] Building CXX object src/cli/CMakeFiles/cli.dir/Diceware.cpp.o
[ 31%] Building CXX object src/cli/CMakeFiles/cli.dir/Edit.cpp.o
[ 31%] Building CXX object src/cli/CMakeFiles/cli.dir/Estimate.cpp.o
[ 32%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/NativeMessagingBase.cpp.o
[ 32%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/NativeMessagingHost.cpp.o
[ 32%] Building CXX object src/cli/CMakeFiles/cli.dir/Exit.cpp.o
[ 32%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/DatabaseSettingsPageKeeShare.cpp.o
[ 33%] Building CXX object src/cli/CMakeFiles/cli.dir/Export.cpp.o
[ 33%] Building CXX object src/cli/CMakeFiles/cli.dir/Generate.cpp.o
[ 33%] Building CXX object src/cli/CMakeFiles/cli.dir/Help.cpp.o
[ 33%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/Variant.cpp.o
[ 34%] Building CXX object src/browser/CMakeFiles/keepassxcbrowser.dir/keepassxcbrowser_automoc.cpp.o
[ 34%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/DatabaseSettingsWidgetKeeShare.cpp.o
[ 35%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/group/EditGroupWidgetKeeShare.cpp.o
[ 36%] Building CXX object src/cli/CMakeFiles/cli.dir/Import.cpp.o
[ 36%] Building CXX object src/cli/CMakeFiles/cli.dir/List.cpp.o
[ 36%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/group/EditGroupPageKeeShare.cpp.o
[ 36%] Building CXX object src/cli/CMakeFiles/cli.dir/Locate.cpp.o
[ 37%] Building CXX object src/cli/CMakeFiles/cli.dir/Merge.cpp.o
[ 37%] Building CXX object src/cli/CMakeFiles/cli.dir/Move.cpp.o
[ 37%] Building CXX object src/cli/CMakeFiles/cli.dir/Open.cpp.o
[ 37%] Building CXX object src/cli/CMakeFiles/cli.dir/Remove.cpp.o
[ 37%] Linking CXX static library libkeepassxcbrowser.a
[ 37%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/KeeShare.cpp.o
[ 37%] Built target keepassxcbrowser
[ 38%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/KeeShareSettings.cpp.o
[ 38%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/ShareImport.cpp.o
[ 39%] Building CXX object src/cli/CMakeFiles/cli.dir/RemoveGroup.cpp.o
[ 39%] Building CXX object src/cli/CMakeFiles/cli.dir/Show.cpp.o
[ 39%] Building CXX object src/cli/CMakeFiles/cli.dir/cli_automoc.cpp.o
[ 39%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/ShareExport.cpp.o
[ 39%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/ShareObserver.cpp.o
[ 40%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/Signature.cpp.o
[ 40%] Building CXX object src/keeshare/CMakeFiles/keeshare.dir/keeshare_automoc.cpp.o
[ 41%] Linking CXX static library libcli.a
[ 41%] Built target cli
[ 41%] Linking CXX static library libkeeshare.a
[ 41%] Built target keeshare
make: *** [all] Error 2
�[1m[ �[31mERROR�[39m ]�[0m Docker build failed!
�[1m[ �[34mINFO�[39m ]�[0m Checking out original branch...
�[1m[ �[34mINFO�[39m ]�[0m Leaving source directory...
�]0;raistlin@solanthus:/var/tmp/keepassxc�[�[0;32mraistlin�[0m@�[0;36msolanthus�[0m �[0;33m/var/tmp/keepassxc�[0m]$ exit

Script done on 2020-01-05 14:43:22-05:00 [COMMAND_EXIT_CODE="1"]

@phoerious
Copy link
Member

phoerious commented Jan 5, 2020

I am afraid you will have to obtain a newer GCC version. We started using lambda expression as connect() callbacks which is not supported by GCC 4.6. You could perhaps try compiling with Clang, that is already in the image and might work.

@ElCoyote27
Copy link
Author

Well, is a newer gcc possible on Trusty?
The reason why I am going through this is that I cannot use the provided AppImages on RHEL7 since KeepassXC 2.5.0.. I use RHEL7 (kernel 3.10.0 and glibc 2.17) as my main desktop and thus being able to rebuild the KeepassXC AppImage on 'trusty' is the only way in which I can keep using KPXC..

@ElCoyote27
Copy link
Author

@phoerious How would I tell the release-tool to use CLang instead of gcc?

@phoerious
Copy link
Member

I would simply build a new Docker image with the Trusty image as base image. There you can change the CC and CXX environment variables to point to clang.

@ElCoyote27
Copy link
Author

@phoerious Thanks. I got it working on RHEL7 after rebuilding a docker image of trusty with gcc-6.5.0.
Here are some details:
Dockerfile (some details expunged):

FROM keepassxc/keepassxc-ci:trusty-qt5.10 
MAINTAINER github/ElCoyote27

RUN apt-get update --fix-missing
RUN apt-get install -y mesa-utils

RUN apt-get install -y sudo binutils less x11-apps kmod apt-utils python python-tk pkg-config nano iproute2 wget
RUN apt-get update

# Google Chrome
WORKDIR /tmp

# add gcc-6
RUN apt-get update
RUN apt-get install build-essential software-properties-common -y
RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y
RUN apt-get update
RUN apt-get install gcc-snapshot -y
RUN apt-get update
RUN apt-get install gcc-6 g++-6 -y
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
RUN apt-get install gcc-4.8 g++-4.8 -y
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8;

#When completed, you must change to the gcc you want to work with by default. Type in your terminal:
RUN update-alternatives --config gcc

# Add 'worker' user
RUN adduser --disabled-password --gecos 'Runtime user' worker
RUN adduser worker sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

Then, it was only a matter of pointing out KeePassXC's release-tool to that container:

./release-tool build -n -d krynn-keepassxc-trusty:latest -v 2.5.2 --appimage

Note that building under RHEL7.7 didn't work for me so I simply built KPXC under Fedora 30. The resulting AppImage -does- work on RHEL7.7, though..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants