MantisBT - Doomseeker
View Issue Details
0003502Doomseeker[All Projects] Bugpublic2018-09-21 13:262018-09-29 14:14
WubTheCaptain 
Zalewa 
normalblockalways
closedfixed 
1.2 
1.21.2 
0003502: FTBFS (Qt4): localizationinfo.cpp: error: calling 'split' with incomplete return type 'QStringList'
/home/doomseeker/doomseeker/src/core/localizationinfo.cpp:75:23: error: calling
      'split' with incomplete return type 'QStringList'
        else if (localeName1.split("_")[0].compare(localeName2.split("_"...
                 ~~~~~~~~~~~~^~~~~~~~~~
/usr/local/include/X11/qt4/QtCore/qstring.h:301:17: note: 'split' declared here
    QStringList split(const QString &sep, SplitBehavior behavior = KeepE...
                ^
/usr/local/include/X11/qt4/QtCore/qstring.h:77:7: note: forward declaration of
      'QStringList'
class QStringList;
      ^
/home/doomseeker/doomseeker/src/core/localizationinfo.cpp:75:57: error: calling
      'split' with incomplete return type 'QStringList'
        else if (localeName1.split("_")[0].compare(localeName2.split("_")[0], Qt...
                                                   
~~~~~~~~~~~~^~~~~~~~~~
/usr/local/include/X11/qt4/QtCore/qstring.h:301:17: note: 'split' declared here
    QStringList split(const QString &sep, SplitBehavior behavior = KeepE...
                ^
/usr/local/include/X11/qt4/QtCore/qstring.h:77:7: note: forward declaration of
      'QStringList'
class QStringList;
      ^
2 errors generated.
Reproduced on OpenBSD 6.4-current with clang, at least.

cmake -DFORCE_QT4=YES $DOOMSEEKER_SRC
make -j4
Initially reported in 0003494:c19580 and reproduced by OP. Seems to have been introduced in commit acb43c63c19086f8d592380b66cbb43d77f76366.
No tags attached.
Issue History
2018-09-21 13:26WubTheCaptainNew Issue
2018-09-21 13:27WubTheCaptainNote Added: 0019590
2018-09-21 13:27WubTheCaptainAssigned To => Zalewa
2018-09-21 13:27WubTheCaptainStatusnew => needs testing
2018-09-21 13:27WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11865#r11865
2018-09-21 13:28WubTheCaptainSummaryFTBFS: localizationinfo.cpp: error: calling 'split' with incomplete return type 'QStringList' => FTBFS (Qt4): localizationinfo.cpp: error: calling 'split' with incomplete return type 'QStringList'
2018-09-21 13:28WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11866#r11866
2018-09-21 13:37WubTheCaptainStatusneeds testing => resolved
2018-09-21 13:37WubTheCaptainFixed in Version => 1.2
2018-09-21 13:37WubTheCaptainResolutionopen => fixed
2018-09-29 14:13WubTheCaptainSeveritycrash => block
2018-09-29 14:14WubTheCaptainStatusresolved => closed

Notes
(0019590)
WubTheCaptain   
2018-09-21 13:27   
Commit 4249391c0d6c6ce22e8d939795ab4abcba8b76bc should fix this.