Warnings

Tobias Eberle tobias.eberle at gmx.de
Sat Aug 21 18:02:33 BST 1999


Hi,
when I am compiling my program I get following warnings:

...
///bin/sh ./libtool --silent --mode=link g++ -O2 -Qall -s -o kprogram
-L/opt/kde/lib - L/usr/X11R6/lib - rpath /opt/kde/lib -rpath
/usr/X11R6/lib
data.o ... kmainwidget.moc.o kmainwidget.o main.o -|kdecore -|qt -|Xext
-|X11
kmainwidget.o: warning: multiple common of `QArrayT<char>type_info node'

kdialog1.o: warning: previous common is here
main.o: warning: multiple common of `QArrayT<char>type_info node'
kdialog1.o: warning: previous common is here
/opt/kde/lib/libdeui.so: warning: multiple common of `QString type_info
node'
kmainwidget.o: warning: previous common is here
/opt/kde/lib/libdeui.so: warning: multiple common of `QArrayT<char>
type_info
node'
..
...
...

I don't know what this warnings mean. Can anybody of you tell me, what
this warnings mean and why the compiler shows this?
Here my kmainwidget.h and main.cpp:

#ifndef KMAINWIDGET_H
#define KMAINWIDGET_H

//Generated area. DO NOT EDIT!!!(begin)
#include <qpushbutton.h>
#include <qlabel.h>
#include <qgroupbox.h>
#include <qlistview.h>
//Generated area. DO NOT EDIT!!!(end)

#include <ktmainwindow.h>
#include <kapp.h>
#include <kaccel.h>
#include <qtabbar.h>

#include "kaboutbox.h"
#include "koptions.h"
#include "kchangemonthbudget.h"

class KMainwidget : public KTMainWindow  {
   Q_OBJECT
public:
 KMainwidget();
 ~KMainwidget();
public slots:
  void slotFileMinimize();
  void slotFileConnections();
  void slotFileCategories();
  void slotFileBudgets();
  void slotFileQuit();
  void slotXtrasRateview();
  void slotXtrasSpecialrates();
  void slotXtrasHolidays();
  void slotXtrasCategories();
  void slotXtrasOptions();
  void slotHelpInfo();
  void slotTabbarSelected(int id);
  void slotBudgetMonthChange();
protected:
  void initMenubar();
  void initKeyAccel();
 void initDialog();
 //Generated area. DO NOT EDIT!!!(begin)
 QPushButton *ButtonWatchover;
 QLabel *Label1;
 QPushButton *ButtonClose;
 QPushButton *ButtonMinimize;
 QGroupBox *GroupBoxData;
 QLabel *Label2;
 QLabel *Label3;
 QLabel *Label4;
 QWidget *TabSheetTel;
 QPushButton *QPushButton_4;
 QWidget *TabSheetProvider;
 QListView *QListView_1;
 QLabel *LabelTab2_1;
 QWidget *TabSheetBudget;
 QGroupBox *GroupBoxMonatsbudget;
 QGroupBox *GroupboxWochenbudget;
 QPushButton *ButtonMonthChange;
 QPushButton *ButtonMonthDelete;
 QPushButton *ButtonWeekChange;
 QPushButton *ButtonWochenDelete;
 QLabel *LabelBudget1;
 QLabel *LabelBudget2;
 QLabel *LabelBudget3;
 QLabel *LabelMonatBudget;
 QLabel *LabelMonatVerbraucht;
 QLabel *LabelMonatUebrig;
 QLabel *LabelBudget4;
 QLabel *LabelBudget5;
 QLabel *LabelBudget6;
 QLabel *LabelBudget7;
 QLabel *LabelWochenBudget;
 QLabel *LabelWochenVerbraucht;
 QLabel *LabelBudget8;
 QLabel *LabelWochenUebrig;
 //Generated area. DO NOT EDIT!!!(end)
  void paintEvent(QPaintEvent *);
private:
  KAccel *key_accel;
  QPopupMenu *file_menu;
  QPopupMenu *xtras_menu;
  QPopupMenu *help_menu;
  QTabBar *tabbar;
  QTab Tab1, Tab2, Tab3;
  KAboutbox *aboutbox;
  koptions *options;
  KChangeMonthBudget *changemonthbudget;
};
#endif


#include "kmainwidget.h"
int main(int argc, char* argv[])
{
  KApplication a(argc,argv,"kprogram");
  KMainwidget* MainWidget = new KMainwidget();
  MainWidget->show();
  return a.exec();
}

Thanx, Tobias




More information about the KDevelop mailing list