usta added a comment.

  Not just include problem but also got a problem about new Qt version :
  
  [ 64%] Linking CXX shared module ../../bin/kcm_notifications.so
  /home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp: In 
member function ‘void SonnetSpellCheckingModule::stateChanged()’:
  /home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:58:74: 
error: no matching function for call to 
‘QSet<QString>::QSet(QList<QString>::iterator, QList<QString>::iterator)’
  
    58 |     QSet<QString> refIgnoreSet(refIgnoreList.begin(), 
refIgnoreList.end());
       |                                                                        
  ^
  
  In file included from /usr/include/qt5/QtCore/QSet:1,
  
    from 
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:27:
  
  /usr/include/qt5/QtCore/qset.h:61:12: note: candidate: 
‘QSet<T>::QSet(std::initializer_list<_Tp>) [with T = QString]’
  
    61 |     inline QSet(std::initializer_list<T> list)
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:61:12: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:59:12: note: candidate: ‘QSet<T>::QSet() [with 
T = QString]’
  
    59 |     inline QSet() Q_DECL_NOTHROW {}
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:59:12: note:   candidate expects 0 arguments, 
2 provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(const QSet<QString>&)’
  
    54 | class QSet
       |       ^~~~
  
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(QSet<QString>&&)’
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:59:86: 
error: no matching function for call to 
‘QSet<QString>::QSet(QList<QString>::iterator, QList<QString>::iterator)’
  
    59 |     QSet<QString> currentIgnoreSet(currentIgnoreList.begin(), 
currentIgnoreList.end());
       |                                                                        
              ^
  
  In file included from /usr/include/qt5/QtCore/QSet:1,
  
    from 
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:27:
  
  /usr/include/qt5/QtCore/qset.h:61:12: note: candidate: 
‘QSet<T>::QSet(std::initializer_list<_Tp>) [with T = QString]’
  
    61 |     inline QSet(std::initializer_list<T> list)
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:61:12: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:59:12: note: candidate: ‘QSet<T>::QSet() [with 
T = QString]’
  
    59 |     inline QSet() Q_DECL_NOTHROW {}
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:59:12: note:   candidate expects 0 arguments, 
2 provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(const QSet<QString>&)’
  
    54 | class QSet
       |       ^~~~
  
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(QSet<QString>&&)’
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:60:86: 
error: no matching function for call to 
‘QSet<QString>::QSet(QList<QString>::iterator, QList<QString>::iterator)’
  
    60 |     QSet<QString> defaultIgnoreSet(defaultIgnoreList.begin(), 
defaultIgnoreList.end());
       |                                                                        
              ^
  
  In file included from /usr/include/qt5/QtCore/QSet:1,
  
    from 
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:27:
  
  /usr/include/qt5/QtCore/qset.h:61:12: note: candidate: 
‘QSet<T>::QSet(std::initializer_list<_Tp>) [with T = QString]’
  
    61 |     inline QSet(std::initializer_list<T> list)
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:61:12: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:59:12: note: candidate: ‘QSet<T>::QSet() [with 
T = QString]’
  
    59 |     inline QSet() Q_DECL_NOTHROW {}
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:59:12: note:   candidate expects 0 arguments, 
2 provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(const QSet<QString>&)’
  
    54 | class QSet
       |       ^~~~
  
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(QSet<QString>&&)’
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:67:107: 
error: no matching function for call to 
‘QSet<QString>::QSet(QList<QString>::iterator, QList<QString>::iterator)’
  
    67 |     QSet<QString> 
refPreferredLanguages(refPreferredLanguagesList.begin(), 
refPreferredLanguagesList.end());
       |                                                                        
                                   ^
  
  In file included from /usr/include/qt5/QtCore/QSet:1,
  
    from 
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:27:
  
  /usr/include/qt5/QtCore/qset.h:61:12: note: candidate: 
‘QSet<T>::QSet(std::initializer_list<_Tp>) [with T = QString]’
  
    61 |     inline QSet(std::initializer_list<T> list)
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:61:12: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:59:12: note: candidate: ‘QSet<T>::QSet() [with 
T = QString]’
  
    59 |     inline QSet() Q_DECL_NOTHROW {}
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:59:12: note:   candidate expects 0 arguments, 
2 provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(const QSet<QString>&)’
  
    54 | class QSet
       |       ^~~~
  
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(QSet<QString>&&)’
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:68:119: 
error: no matching function for call to 
‘QSet<QString>::QSet(QList<QString>::iterator, QList<QString>::iterator)’
  
    68 |     QSet<QString> 
currentPreferredLanguages(currentPreferredLanguagesList.begin(), 
currentPreferredLanguagesList.end());
       |                                                                        
                                               ^
  
  In file included from /usr/include/qt5/QtCore/QSet:1,
  
    from 
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:27:
  
  /usr/include/qt5/QtCore/qset.h:61:12: note: candidate: 
‘QSet<T>::QSet(std::initializer_list<_Tp>) [with T = QString]’
  
    61 |     inline QSet(std::initializer_list<T> list)
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:61:12: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:59:12: note: candidate: ‘QSet<T>::QSet() [with 
T = QString]’
  
    59 |     inline QSet() Q_DECL_NOTHROW {}
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:59:12: note:   candidate expects 0 arguments, 
2 provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(const QSet<QString>&)’
  
    54 | class QSet
       |       ^~~~
  
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(QSet<QString>&&)’
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:69:119: 
error: no matching function for call to 
‘QSet<QString>::QSet(QList<QString>::iterator, QList<QString>::iterator)’
  
    69 |     QSet<QString> 
defaultPreferredLanguages(defaultPreferredLanguagesList.begin(), 
defaultPreferredLanguagesList.end());
       |                                                                        
                                               ^
  
  In file included from /usr/include/qt5/QtCore/QSet:1,
  
    from 
/home/usta/kde/src/plasma-desktop/kcms/spellchecking/spellchecking.cpp:27:
  
  /usr/include/qt5/QtCore/qset.h:61:12: note: candidate: 
‘QSet<T>::QSet(std::initializer_list<_Tp>) [with T = QString]’
  
    61 |     inline QSet(std::initializer_list<T> list)
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:61:12: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:59:12: note: candidate: ‘QSet<T>::QSet() [with 
T = QString]’
  
    59 |     inline QSet() Q_DECL_NOTHROW {}
       |            ^~~~
  
  /usr/include/qt5/QtCore/qset.h:59:12: note:   candidate expects 0 arguments, 
2 provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(const QSet<QString>&)’
  
    54 | class QSet
       |       ^~~~
  
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  /usr/include/qt5/QtCore/qset.h:54:7: note: candidate: 
‘QSet<QString>::QSet(QSet<QString>&&)’
  /usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 
provided
  gmake[2]: *** 
[kcms/spellchecking/CMakeFiles/kcmspellchecking.dir/build.make:89: 
kcms/spellchecking/CMakeFiles/kcmspellchecking.dir/spellchecking.cpp.o] Error 1
  gmake[1]: *** [CMakeFiles/Makefile2:7508: 
kcms/spellchecking/CMakeFiles/kcmspellchecking.dir/all] Error 2
  gmake[1]: *** Waiting for unfinished jobs....

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D27503

To: bport, #plasma, meven, crossi, ervin
Cc: usta, ahmadsamir, ngraham, plasma-devel, Orage, LeGast00n, 
The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, 
ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
apol, ahiemstra, mart

Reply via email to