FTBFS on opensuse Leap 15.2 / TDE 14.0.10 #74

Closed
opened 11 months ago by Francois · 3 comments
Collaborator

Basic information

  • TDE version: 14.0.10
  • Distribution: opensuse Leap 15.2
  • Hardware: amd64

Description

FTBFS on opensuse 15.2
See "screenshots" section below.
Not sure if this package is supposed to build on TDE 14.0.10, or if it requires TDE 14.1.0 .

Steps to reproduce

cmake
make

Screenshots

[ 92%] Building CXX object src/config/CMakeFiles/twin_SUSE2_config-module.dir/configdialog.cpp.o
cd /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config && /usr/bin/c++  -DHAVE_CONFIG_H -Dtwin_SUSE2_config_module_EXPORTS -I/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build -I/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config -I/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/src/config -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt  -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fdebug-prefix-map=/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10=. -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG -fPIC   -o CMakeFiles/twin_SUSE2_config-module.dir/configdialog.cpp.o -c /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp: In constructor 'ConfigDialog::ConfigDialog(TQWidget*, const char*, TQt::WFlags)':
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:88:49: error: invalid use of incomplete type 'class KIntSpinBox'
     addSpace = new KIntSpinBox( tab, "addSpace" );
                                                 ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:89:13: error: invalid use of incomplete type 'class KIntSpinBox'
     addSpace->setMaxValue( 20 );
             ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:90:34: error: no matching function for call to 'TQHBoxLayout::addWidget(KIntSpinBox*&)'
     layout6->addWidget( addSpace );
                                  ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0:
/usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int)
     void addWidget( TQWidget *, int stretch = 0, int alignment = 0 );
          ^~~~~~~~~
/usr/include/tqt3/ntqlayout.h:389:10: note:   no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:150:51: error: invalid use of incomplete type 'class KIntSpinBox'
     iconSize = new KIntSpinBox( tab_2, "iconSize" );
                                                   ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:151:13: error: invalid use of incomplete type 'class KIntSpinBox'
     iconSize->setMaxValue( 80 );
             ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:152:13: error: invalid use of incomplete type 'class KIntSpinBox'
     iconSize->setMinValue( 20 );
             ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:153:36: error: no matching function for call to 'TQHBoxLayout::addWidget(KIntSpinBox*&)'
     layout5_2->addWidget( iconSize );
                                    ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0:
/usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int)
     void addWidget( TQWidget *, int stretch = 0, int alignment = 0 );
          ^~~~~~~~~
/usr/include/tqt3/ntqlayout.h:389:10: note:   no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:188:62: error: invalid use of incomplete type 'class KColorButton'
     activeFgColor = new KColorButton( tab_2, "activeFgColor" );
                                                              ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:189:40: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)'
     layout12->addWidget( activeFgColor );
                                        ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0:
/usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int)
     void addWidget( TQWidget *, int stretch = 0, int alignment = 0 );
          ^~~~~~~~~
/usr/include/tqt3/ntqlayout.h:389:10: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:191:62: error: invalid use of incomplete type 'class KColorButton'
     activeBgColor = new KColorButton( tab_2, "activeBgColor" );
                                                              ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:192:40: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)'
     layout12->addWidget( activeBgColor );
                                        ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0:
/usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int)
     void addWidget( TQWidget *, int stretch = 0, int alignment = 0 );
          ^~~~~~~~~
/usr/include/tqt3/ntqlayout.h:389:10: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:194:66: error: invalid use of incomplete type 'class KColorButton'
     inactiveFgColor = new KColorButton( tab_2, "inactiveFgColor" );
                                                                  ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:195:42: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)'
     layout12->addWidget( inactiveFgColor );
                                          ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0:
/usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int)
     void addWidget( TQWidget *, int stretch = 0, int alignment = 0 );
          ^~~~~~~~~
/usr/include/tqt3/ntqlayout.h:389:10: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:197:66: error: invalid use of incomplete type 'class KColorButton'
     inactiveBgColor = new KColorButton( tab_2, "inactiveBgColor" );
                                                                  ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:198:42: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)'
     layout12->addWidget( inactiveBgColor );
                                          ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0:
/usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int)
     void addWidget( TQWidget *, int stretch = 0, int alignment = 0 );
          ^~~~~~~~~
/usr/include/tqt3/ntqlayout.h:389:10: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:232:73: error: invalid use of incomplete type 'class KIntSpinBox'
     titleBarLogoOffset = new KIntSpinBox( TabPage, "titleBarLogoOffset" );
                                                                         ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:233:23: error: invalid use of incomplete type 'class KIntSpinBox'
     titleBarLogoOffset->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, titleBarLogoOffset->sizePolicy().hasHeightForWidth() ) );
                       ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:233:132: error: invalid use of incomplete type 'class KIntSpinBox'
     titleBarLogoOffset->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, titleBarLogoOffset->sizePolicy().hasHeightForWidth() ) );
                                                                                                                                    ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:234:23: error: invalid use of incomplete type 'class KIntSpinBox'
     titleBarLogoOffset->setMinValue( 0 );
                       ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:236:56: error: no matching function for call to 'TQGridLayout::addWidget(KIntSpinBox*&, int, int)'
     TabPageLayout->addWidget( titleBarLogoOffset, 1, 2 );
                                                        ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0:
/usr/include/tqt3/ntqlayout.h:334:10: note: candidate: void TQGridLayout::addWidget(TQWidget*, int, int, int)
     void addWidget( TQWidget *, int row, int col, int align = 0 );
          ^~~~~~~~~
/usr/include/tqt3/ntqlayout.h:334:10: note:   no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:267:51: error: no matching function for call to 'ConfigDialog::setTabOrder(TQCheckBox*&, KIntSpinBox*&)'
     setTabOrder( titleBarLogo, titleBarLogoOffset );
                                                   ^
In file included from /usr/include/tqt3/ntqdialog.h:45:0,
                 from /usr/include/tqt/tqdialog.h:32,
                 from /opt/trinity/include/tde/kdialog.h:25,
                 from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:1:
/usr/include/tqt3/ntqwidget.h:317:18: note: candidate: static void TQWidget::setTabOrder(TQWidget*, TQWidget*)
     static void  setTabOrder( TQWidget *, TQWidget * );
                  ^~~~~~~~~~~
/usr/include/tqt3/ntqwidget.h:317:18: note:   no known conversion for argument 2 from 'KIntSpinBox*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:268:51: error: no matching function for call to 'ConfigDialog::setTabOrder(KIntSpinBox*&, TQPushButton*&)'
     setTabOrder( titleBarLogoOffset, selectButton );
                                                   ^
In file included from /usr/include/tqt3/ntqdialog.h:45:0,
                 from /usr/include/tqt/tqdialog.h:32,
                 from /opt/trinity/include/tde/kdialog.h:25,
                 from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:1:
/usr/include/tqt3/ntqwidget.h:317:18: note: candidate: static void TQWidget::setTabOrder(TQWidget*, TQWidget*)
     static void  setTabOrder( TQWidget *, TQWidget * );
                  ^~~~~~~~~~~
/usr/include/tqt3/ntqwidget.h:317:18: note:   no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp: In member function 'virtual void ConfigDialog::languageChange()':
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:307:13: error: invalid use of incomplete type 'class KIntSpinBox'
     addSpace->setSuffix( tr2i18n( " px" ) );
             ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:308:110: error: no matching function for call to 'TQWhatsThis::add(KIntSpinBox*&, TQString)'
     TQWhatsThis::add( addSpace, tr2i18n( "Here you can set some additional space for the titlebar height." ) );
                                                                                                              ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0:
/usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&)
     static void add( TQWidget *, const TQString &);
                 ^~~
/usr/include/tqt3/ntqwhatsthis.h:66:17: note:   no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:331:13: error: invalid use of incomplete type 'class KIntSpinBox'
     iconSize->setSuffix( tr2i18n( " %" ) );
             ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:332:121: error: no matching function for call to 'TQWhatsThis::add(KIntSpinBox*&, TQString)'
     TQWhatsThis::add( iconSize, tr2i18n( "Here you can set the size of the button icons relative to the button size." ) );
                                                                                                                         ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0:
/usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&)
     static void add( TQWidget *, const TQString &);
                 ^~~
/usr/include/tqt3/ntqwhatsthis.h:66:17: note:   no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:341:18: error: invalid use of incomplete type 'class KColorButton'
     activeFgColor->setText( TQString::null );
                  ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:342:92: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)'
     TQWhatsThis::add( activeFgColor, tr2i18n( "Color for the icon of the active button." ) );
                                                                                            ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0:
/usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&)
     static void add( TQWidget *, const TQString &);
                 ^~~
/usr/include/tqt3/ntqwhatsthis.h:66:17: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:343:18: error: invalid use of incomplete type 'class KColorButton'
     activeBgColor->setText( TQString::null );
                  ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:344:105: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)'
     TQWhatsThis::add( activeBgColor, tr2i18n( "Color for the icon of the active button when pressed." ) );
                                                                                                         ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0:
/usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&)
     static void add( TQWidget *, const TQString &);
                 ^~~
/usr/include/tqt3/ntqwhatsthis.h:66:17: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:345:20: error: invalid use of incomplete type 'class KColorButton'
     inactiveFgColor->setText( TQString::null );
                    ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:346:96: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)'
     TQWhatsThis::add( inactiveFgColor, tr2i18n( "Color for the icon of the inactive button." ) );
                                                                                                ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0:
/usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&)
     static void add( TQWidget *, const TQString &);
                 ^~~
/usr/include/tqt3/ntqwhatsthis.h:66:17: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:347:20: error: invalid use of incomplete type 'class KColorButton'
     inactiveBgColor->setText( TQString::null );
                    ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton'
 class KColorButton;
       ^~~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:348:109: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)'
     TQWhatsThis::add( inactiveBgColor, tr2i18n( "Color for the icon of the inactive button when pressed." ) );
                                                                                                             ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0:
/usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&)
     static void add( TQWidget *, const TQString &);
                 ^~~
/usr/include/tqt3/ntqwhatsthis.h:66:17: note:   no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*'
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:355:23: error: invalid use of incomplete type 'class KIntSpinBox'
     titleBarLogoOffset->setSuffix( tr2i18n( " px" ) );
                       ^~
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0:
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox'
 class KIntSpinBox;
       ^~~~~~~~~~~
/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:356:103: error: no matching function for call to 'TQWhatsThis::add(KIntSpinBox*&, TQString)'
     TQWhatsThis::add( titleBarLogoOffset, tr2i18n( "Set the offset of the logo from the titletext." ) );
                                                                                                       ^
In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0:
/usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&)
     static void add( TQWidget *, const TQString &);
                 ^~~
/usr/include/tqt3/ntqwhatsthis.h:66:17: note:   no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*'
make[3]: *** [src/config/CMakeFiles/twin_SUSE2_config-module.dir/build.make:108: src/config/CMakeFiles/twin_SUSE2_config-module.dir/configdialog.cpp.o] Error 1
make[3]: Leaving directory '/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build'
make[2]: *** [CMakeFiles/Makefile2:1429: src/config/CMakeFiles/twin_SUSE2_config-module.dir/all] Error 2
make[2]: Leaving directory '/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build'
make[1]: *** [Makefile:150: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build'
<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: 14.0.10 - Distribution: opensuse Leap 15.2 - Hardware: amd64 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description FTBFS on opensuse 15.2 See "screenshots" section below. Not sure if this package is supposed to build on TDE 14.0.10, or if it requires TDE 14.1.0 . ## Steps to reproduce cmake make ## Screenshots ``` [ 92%] Building CXX object src/config/CMakeFiles/twin_SUSE2_config-module.dir/configdialog.cpp.o cd /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config && /usr/bin/c++ -DHAVE_CONFIG_H -Dtwin_SUSE2_config_module_EXPORTS -I/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build -I/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config -I/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/src/config -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fdebug-prefix-map=/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10=. -fvisibility=hidden -fvisibility-inlines-hidden -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG -fPIC -o CMakeFiles/twin_SUSE2_config-module.dir/configdialog.cpp.o -c /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp: In constructor 'ConfigDialog::ConfigDialog(TQWidget*, const char*, TQt::WFlags)': /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:88:49: error: invalid use of incomplete type 'class KIntSpinBox' addSpace = new KIntSpinBox( tab, "addSpace" ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:89:13: error: invalid use of incomplete type 'class KIntSpinBox' addSpace->setMaxValue( 20 ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:90:34: error: no matching function for call to 'TQHBoxLayout::addWidget(KIntSpinBox*&)' layout6->addWidget( addSpace ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0: /usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int) void addWidget( TQWidget *, int stretch = 0, int alignment = 0 ); ^~~~~~~~~ /usr/include/tqt3/ntqlayout.h:389:10: note: no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:150:51: error: invalid use of incomplete type 'class KIntSpinBox' iconSize = new KIntSpinBox( tab_2, "iconSize" ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:151:13: error: invalid use of incomplete type 'class KIntSpinBox' iconSize->setMaxValue( 80 ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:152:13: error: invalid use of incomplete type 'class KIntSpinBox' iconSize->setMinValue( 20 ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:153:36: error: no matching function for call to 'TQHBoxLayout::addWidget(KIntSpinBox*&)' layout5_2->addWidget( iconSize ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0: /usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int) void addWidget( TQWidget *, int stretch = 0, int alignment = 0 ); ^~~~~~~~~ /usr/include/tqt3/ntqlayout.h:389:10: note: no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:188:62: error: invalid use of incomplete type 'class KColorButton' activeFgColor = new KColorButton( tab_2, "activeFgColor" ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:189:40: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)' layout12->addWidget( activeFgColor ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0: /usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int) void addWidget( TQWidget *, int stretch = 0, int alignment = 0 ); ^~~~~~~~~ /usr/include/tqt3/ntqlayout.h:389:10: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:191:62: error: invalid use of incomplete type 'class KColorButton' activeBgColor = new KColorButton( tab_2, "activeBgColor" ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:192:40: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)' layout12->addWidget( activeBgColor ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0: /usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int) void addWidget( TQWidget *, int stretch = 0, int alignment = 0 ); ^~~~~~~~~ /usr/include/tqt3/ntqlayout.h:389:10: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:194:66: error: invalid use of incomplete type 'class KColorButton' inactiveFgColor = new KColorButton( tab_2, "inactiveFgColor" ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:195:42: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)' layout12->addWidget( inactiveFgColor ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0: /usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int) void addWidget( TQWidget *, int stretch = 0, int alignment = 0 ); ^~~~~~~~~ /usr/include/tqt3/ntqlayout.h:389:10: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:197:66: error: invalid use of incomplete type 'class KColorButton' inactiveBgColor = new KColorButton( tab_2, "inactiveBgColor" ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:198:42: error: no matching function for call to 'TQVBoxLayout::addWidget(KColorButton*&)' layout12->addWidget( inactiveBgColor ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0: /usr/include/tqt3/ntqlayout.h:389:10: note: candidate: void TQBoxLayout::addWidget(TQWidget*, int, int) void addWidget( TQWidget *, int stretch = 0, int alignment = 0 ); ^~~~~~~~~ /usr/include/tqt3/ntqlayout.h:389:10: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:232:73: error: invalid use of incomplete type 'class KIntSpinBox' titleBarLogoOffset = new KIntSpinBox( TabPage, "titleBarLogoOffset" ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:233:23: error: invalid use of incomplete type 'class KIntSpinBox' titleBarLogoOffset->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, titleBarLogoOffset->sizePolicy().hasHeightForWidth() ) ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:233:132: error: invalid use of incomplete type 'class KIntSpinBox' titleBarLogoOffset->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, titleBarLogoOffset->sizePolicy().hasHeightForWidth() ) ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:234:23: error: invalid use of incomplete type 'class KIntSpinBox' titleBarLogoOffset->setMinValue( 0 ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:236:56: error: no matching function for call to 'TQGridLayout::addWidget(KIntSpinBox*&, int, int)' TabPageLayout->addWidget( titleBarLogoOffset, 1, 2 ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:22:0: /usr/include/tqt3/ntqlayout.h:334:10: note: candidate: void TQGridLayout::addWidget(TQWidget*, int, int, int) void addWidget( TQWidget *, int row, int col, int align = 0 ); ^~~~~~~~~ /usr/include/tqt3/ntqlayout.h:334:10: note: no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:267:51: error: no matching function for call to 'ConfigDialog::setTabOrder(TQCheckBox*&, KIntSpinBox*&)' setTabOrder( titleBarLogo, titleBarLogoOffset ); ^ In file included from /usr/include/tqt3/ntqdialog.h:45:0, from /usr/include/tqt/tqdialog.h:32, from /opt/trinity/include/tde/kdialog.h:25, from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:1: /usr/include/tqt3/ntqwidget.h:317:18: note: candidate: static void TQWidget::setTabOrder(TQWidget*, TQWidget*) static void setTabOrder( TQWidget *, TQWidget * ); ^~~~~~~~~~~ /usr/include/tqt3/ntqwidget.h:317:18: note: no known conversion for argument 2 from 'KIntSpinBox*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:268:51: error: no matching function for call to 'ConfigDialog::setTabOrder(KIntSpinBox*&, TQPushButton*&)' setTabOrder( titleBarLogoOffset, selectButton ); ^ In file included from /usr/include/tqt3/ntqdialog.h:45:0, from /usr/include/tqt/tqdialog.h:32, from /opt/trinity/include/tde/kdialog.h:25, from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:1: /usr/include/tqt3/ntqwidget.h:317:18: note: candidate: static void TQWidget::setTabOrder(TQWidget*, TQWidget*) static void setTabOrder( TQWidget *, TQWidget * ); ^~~~~~~~~~~ /usr/include/tqt3/ntqwidget.h:317:18: note: no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp: In member function 'virtual void ConfigDialog::languageChange()': /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:307:13: error: invalid use of incomplete type 'class KIntSpinBox' addSpace->setSuffix( tr2i18n( " px" ) ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:308:110: error: no matching function for call to 'TQWhatsThis::add(KIntSpinBox*&, TQString)' TQWhatsThis::add( addSpace, tr2i18n( "Here you can set some additional space for the titlebar height." ) ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0: /usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&) static void add( TQWidget *, const TQString &); ^~~ /usr/include/tqt3/ntqwhatsthis.h:66:17: note: no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:331:13: error: invalid use of incomplete type 'class KIntSpinBox' iconSize->setSuffix( tr2i18n( " %" ) ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:332:121: error: no matching function for call to 'TQWhatsThis::add(KIntSpinBox*&, TQString)' TQWhatsThis::add( iconSize, tr2i18n( "Here you can set the size of the button icons relative to the button size." ) ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0: /usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&) static void add( TQWidget *, const TQString &); ^~~ /usr/include/tqt3/ntqwhatsthis.h:66:17: note: no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:341:18: error: invalid use of incomplete type 'class KColorButton' activeFgColor->setText( TQString::null ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:342:92: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)' TQWhatsThis::add( activeFgColor, tr2i18n( "Color for the icon of the active button." ) ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0: /usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&) static void add( TQWidget *, const TQString &); ^~~ /usr/include/tqt3/ntqwhatsthis.h:66:17: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:343:18: error: invalid use of incomplete type 'class KColorButton' activeBgColor->setText( TQString::null ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:344:105: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)' TQWhatsThis::add( activeBgColor, tr2i18n( "Color for the icon of the active button when pressed." ) ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0: /usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&) static void add( TQWidget *, const TQString &); ^~~ /usr/include/tqt3/ntqwhatsthis.h:66:17: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:345:20: error: invalid use of incomplete type 'class KColorButton' inactiveFgColor->setText( TQString::null ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:346:96: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)' TQWhatsThis::add( inactiveFgColor, tr2i18n( "Color for the icon of the inactive button." ) ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0: /usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&) static void add( TQWidget *, const TQString &); ^~~ /usr/include/tqt3/ntqwhatsthis.h:66:17: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:347:20: error: invalid use of incomplete type 'class KColorButton' inactiveBgColor->setText( TQString::null ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:26:7: note: forward declaration of 'class KColorButton' class KColorButton; ^~~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:348:109: error: no matching function for call to 'TQWhatsThis::add(KColorButton*&, TQString)' TQWhatsThis::add( inactiveBgColor, tr2i18n( "Color for the icon of the inactive button when pressed." ) ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0: /usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&) static void add( TQWidget *, const TQString &); ^~~ /usr/include/tqt3/ntqwhatsthis.h:66:17: note: no known conversion for argument 1 from 'KColorButton*' to 'TQWidget*' /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:355:23: error: invalid use of incomplete type 'class KIntSpinBox' titleBarLogoOffset->setSuffix( tr2i18n( " px" ) ); ^~ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:12:0: /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.h:23:7: note: forward declaration of 'class KIntSpinBox' class KIntSpinBox; ^~~~~~~~~~~ /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:356:103: error: no matching function for call to 'TQWhatsThis::add(KIntSpinBox*&, TQString)' TQWhatsThis::add( titleBarLogoOffset, tr2i18n( "Set the offset of the logo from the titletext." ) ); ^ In file included from /tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build/src/config/configdialog.cpp:24:0: /usr/include/tqt3/ntqwhatsthis.h:66:17: note: candidate: static void TQWhatsThis::add(TQWidget*, const TQString&) static void add( TQWidget *, const TQString &); ^~~ /usr/include/tqt3/ntqwhatsthis.h:66:17: note: no known conversion for argument 1 from 'KIntSpinBox*' to 'TQWidget*' make[3]: *** [src/config/CMakeFiles/twin_SUSE2_config-module.dir/build.make:108: src/config/CMakeFiles/twin_SUSE2_config-module.dir/configdialog.cpp.o] Error 1 make[3]: Leaving directory '/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build' make[2]: *** [CMakeFiles/Makefile2:1429: src/config/CMakeFiles/twin_SUSE2_config-module.dir/all] Error 2 make[2]: Leaving directory '/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build' make[1]: *** [Makefile:150: all] Error 2 make[1]: Leaving directory '/tmp/BUILD.oss.x86_64/trinity-twin-style-suse2-14.0.10/build' ```
Francois added the
SL/normal
label 11 months ago
Poster
Collaborator

It looks like the "includehints" in "src/config/configdialog.ui" are ignored in generated "configdialog.h" and "configdialog.cpp", not sure why.

It looks like the "includehints" in "src/config/configdialog.ui" are ignored in generated "configdialog.h" and "configdialog.cpp", not sure why.
Owner

It looks like the "includehints" in "src/config/configdialog.ui" are ignored in generated "configdialog.h" and "configdialog.cpp", not sure why.

@Francois, you can remember that we have addressed exactly the same problem, probably for the first time, long time ago when the FTBFS occurred when building KMymoney in Fedora 28 – see commit TDE/kmymoney@e399ef9fb7. It was with automake build.

Since then, the same problem has often occurred in connection with CMake conversions. And we often replace the non-working <includehints> for a working <includes>. See Commit History.

We still do not know what it has changed that <includehints> sometimes work, but they stop working, but replacement for <includes> is always a good and reliable solution. Therefore, also for TDE/twin-style-suse2, we will solve it in TDE/twin-style-suse2, not in a common CMake module. In any case, it is interesting that the problem did not show on any version of Debian / Ubuntu distributions.

> It looks like the "includehints" in "src/config/configdialog.ui" are ignored in generated "configdialog.h" and "configdialog.cpp", not sure why. @Francois, you can remember that we have addressed exactly the same problem, probably for the first time, long time ago when the FTBFS occurred when building KMymoney in Fedora 28 – see commit [TDE/kmymoney@e399ef9fb7](../kmymoney/commit/e399ef9fb76387120480631968500bcc0d2acae6). It was with automake build. Since then, the same problem has often occurred in connection with CMake conversions. And we often replace the non-working `<includehints>` for a working `<includes>`. See [Commit History](http://www.trinitydesktop.org/patches/?search=Add+includes+to+UI+files). We still do not know what it has changed that `<includehints>` sometimes work, but they stop working, but replacement for `<includes>` is always a good and reliable solution. Therefore, also for [TDE/twin-style-suse2](../twin-style-suse2), we will solve it in TDE/twin-style-suse2, not in a common CMake module. In any case, it is interesting that the problem did not show on any version of Debian / Ubuntu distributions.
Owner

Resolved by commits mentioned above.

Resolved by commits mentioned above.
SlavekB closed this issue 11 months ago
SlavekB added this to the R14.0.11 release milestone 11 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Depends on
Loading…
There is no content yet.