Sky_Genie
10-02-2014, 12:43 PM
So, Showeq was working great on 12.04. I had a brain freeze and clicked on the update button to upgrade to 14. ShowEQ no longer compiles due to a lack of QT3 support from Ubuntu. I tried to use other QT3 packages but managed to bork the entire install.
I then built another machine using 12.04. Managed to install all of the necessary packages (I think), since make Makefile.dist works and ./configure returns a sucess. However, when I try to run make, I receive 2 errors from the point.h file and a number of warnings. I know sure it has something to do with my installation, since it gives the same errors when I make previous versions.
make all-recursive
make[1]: Entering directory `/home/showeq/showeq-5.13.10.26'
Making all in src
make[2]: Entering directory `/home/showeq/showeq-5.13.10.26/src'
c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/qt3 -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
In file included from main.cpp:44:
In file included from ./interface.h:33:
In file included from ./spawnlist.h:46:
./seqlistview.h:38:15: warning: 'SEQListView::addColumn' hides overloaded
virtual function [-Woverloaded-virtual]
virtual int addColumn(const QString& label,
^
/usr/include/qt3/qlistview.h:272:17: note: hidden overloaded virtual function
'QListView::addColumn' declared here: type mismatch at 1st parameter
('const QIconSet &' vs 'const QString &')
virtual int addColumn( const QIconSet& iconset, const QString &label...
^
In file included from main.cpp:44:
In file included from ./interface.h:33:
In file included from ./spawnlist.h:47:
In file included from ./spawnlistcommon.h:26:
In file included from ./spawn.h:33:
./point.h:247:10: error: non-const lvalue reference to type 'QPoint' cannot bind
to a temporary of type 'QPoint'
return QPoint((centerPoint.x() - (int)(x() / ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./point.h:254:10: error: non-const lvalue reference to type 'QPoint' cannot bind
to a temporary of type 'QPoint'
return QPoint(int(rint((centerPoint.x() - x()) * ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from main.cpp:44:
In file included from ./interface.h:33:
./spawnlist.h:113:9: warning: 'SpawnList::mousePressEvent' hides overloaded
virtual function [-Woverloaded-virtual]
void mousePressEvent (int button, QListViewItem *litem, const QPoint ...
^
/usr/include/qt3/qscrollview.h:222:11: note: hidden overloaded virtual function
'QScrollView::mousePressEvent' declared here: different number of
parameters (1 vs 4)
void mousePressEvent( QMouseEvent * );
^
In file included from main.cpp:44:
In file included from ./interface.h:33:
./spawnlist.h:114:9: warning: 'SpawnList::mouseDoubleClickEvent' hides
overloaded virtual function [-Woverloaded-virtual]
void mouseDoubleClickEvent(QListViewItem *litem);
^
/usr/include/qt3/qscrollview.h:224:11: note: hidden overloaded virtual function
'QScrollView::mouseDoubleClickEvent' declared here: type mismatch at 1st
parameter ('QMouseEvent *' vs 'QListViewItem *')
void mouseDoubleClickEvent( QMouseEvent * );
^
In file included from main.cpp:44:
./interface.h:332:9: warning: 'EQInterface::setDockEnabled' hides overloaded
virtual functions [-Woverloaded-virtual]
void setDockEnabled(QDockWindow* dw, bool enable);
^
/usr/include/qt3/qmainwindow.h:84:18: note: hidden overloaded virtual function
'QMainWindow::setDockEnabled' declared here: type mismatch at 1st
parameter ('Qt::Dock' vs 'QDockWindow *')
virtual void setDockEnabled( Dock dock, bool enable );
^
/usr/include/qt3/qmainwindow.h:87:18: note: hidden overloaded virtual function
'QMainWindow::setDockEnabled' declared here: different number of
parameters (3 vs 2)
virtual void setDockEnabled( QDockWindow *tb, Dock dock, bool enable );
^
In file included from main.cpp:30:
In file included from /usr/include/qt3/qwindowsstyle.h:45:
In file included from /usr/include/qt3/qcommonstyle.h:45:
/usr/include/qt3/qstyle.h:110:10: warning: private field 'b1' is not used
[-Wunused-private-field]
bool b1,b2,b3; // reserved
^
/usr/include/qt3/qstyle.h:110:13: warning: private field 'b2' is not used
[-Wunused-private-field]
bool b1,b2,b3; // reserved
^
/usr/include/qt3/qstyle.h:110:16: warning: private field 'b3' is not used
[-Wunused-private-field]
bool b1,b2,b3; // reserved
^
/usr/include/qt3/qstyle.h:116:9: warning: private field 'i5' is not used
[-Wunused-private-field]
int i5, i6; // reserved
^
/usr/include/qt3/qstyle.h:116:13: warning: private field 'i6' is not used
[-Wunused-private-field]
int i5, i6; // reserved
^
/usr/include/qt3/qstyle.h:118:16: warning: private field 'p2' is not used
[-Wunused-private-field]
void *p1, *p2, *p3, *p4; // reserved
^
/usr/include/qt3/qstyle.h:118:21: warning: private field 'p3' is not used
[-Wunused-private-field]
void *p1, *p2, *p3, *p4; // reserved
^
/usr/include/qt3/qstyle.h:118:26: warning: private field 'p4' is not used
[-Wunused-private-field]
void *p1, *p2, *p3, *p4; // reserved
^
12 warnings and 2 errors generated.
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/showeq/showeq-5.13.10.26/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/showeq/showeq-5.13.10.26'
make: *** [all] Error 2
Is there anyone who might be able to point me in the right direction, please?
I then built another machine using 12.04. Managed to install all of the necessary packages (I think), since make Makefile.dist works and ./configure returns a sucess. However, when I try to run make, I receive 2 errors from the point.h file and a number of warnings. I know sure it has something to do with my installation, since it gives the same errors when I make previous versions.
make all-recursive
make[1]: Entering directory `/home/showeq/showeq-5.13.10.26'
Making all in src
make[2]: Entering directory `/home/showeq/showeq-5.13.10.26/src'
c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/qt3 -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
In file included from main.cpp:44:
In file included from ./interface.h:33:
In file included from ./spawnlist.h:46:
./seqlistview.h:38:15: warning: 'SEQListView::addColumn' hides overloaded
virtual function [-Woverloaded-virtual]
virtual int addColumn(const QString& label,
^
/usr/include/qt3/qlistview.h:272:17: note: hidden overloaded virtual function
'QListView::addColumn' declared here: type mismatch at 1st parameter
('const QIconSet &' vs 'const QString &')
virtual int addColumn( const QIconSet& iconset, const QString &label...
^
In file included from main.cpp:44:
In file included from ./interface.h:33:
In file included from ./spawnlist.h:47:
In file included from ./spawnlistcommon.h:26:
In file included from ./spawn.h:33:
./point.h:247:10: error: non-const lvalue reference to type 'QPoint' cannot bind
to a temporary of type 'QPoint'
return QPoint((centerPoint.x() - (int)(x() / ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./point.h:254:10: error: non-const lvalue reference to type 'QPoint' cannot bind
to a temporary of type 'QPoint'
return QPoint(int(rint((centerPoint.x() - x()) * ratio)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from main.cpp:44:
In file included from ./interface.h:33:
./spawnlist.h:113:9: warning: 'SpawnList::mousePressEvent' hides overloaded
virtual function [-Woverloaded-virtual]
void mousePressEvent (int button, QListViewItem *litem, const QPoint ...
^
/usr/include/qt3/qscrollview.h:222:11: note: hidden overloaded virtual function
'QScrollView::mousePressEvent' declared here: different number of
parameters (1 vs 4)
void mousePressEvent( QMouseEvent * );
^
In file included from main.cpp:44:
In file included from ./interface.h:33:
./spawnlist.h:114:9: warning: 'SpawnList::mouseDoubleClickEvent' hides
overloaded virtual function [-Woverloaded-virtual]
void mouseDoubleClickEvent(QListViewItem *litem);
^
/usr/include/qt3/qscrollview.h:224:11: note: hidden overloaded virtual function
'QScrollView::mouseDoubleClickEvent' declared here: type mismatch at 1st
parameter ('QMouseEvent *' vs 'QListViewItem *')
void mouseDoubleClickEvent( QMouseEvent * );
^
In file included from main.cpp:44:
./interface.h:332:9: warning: 'EQInterface::setDockEnabled' hides overloaded
virtual functions [-Woverloaded-virtual]
void setDockEnabled(QDockWindow* dw, bool enable);
^
/usr/include/qt3/qmainwindow.h:84:18: note: hidden overloaded virtual function
'QMainWindow::setDockEnabled' declared here: type mismatch at 1st
parameter ('Qt::Dock' vs 'QDockWindow *')
virtual void setDockEnabled( Dock dock, bool enable );
^
/usr/include/qt3/qmainwindow.h:87:18: note: hidden overloaded virtual function
'QMainWindow::setDockEnabled' declared here: different number of
parameters (3 vs 2)
virtual void setDockEnabled( QDockWindow *tb, Dock dock, bool enable );
^
In file included from main.cpp:30:
In file included from /usr/include/qt3/qwindowsstyle.h:45:
In file included from /usr/include/qt3/qcommonstyle.h:45:
/usr/include/qt3/qstyle.h:110:10: warning: private field 'b1' is not used
[-Wunused-private-field]
bool b1,b2,b3; // reserved
^
/usr/include/qt3/qstyle.h:110:13: warning: private field 'b2' is not used
[-Wunused-private-field]
bool b1,b2,b3; // reserved
^
/usr/include/qt3/qstyle.h:110:16: warning: private field 'b3' is not used
[-Wunused-private-field]
bool b1,b2,b3; // reserved
^
/usr/include/qt3/qstyle.h:116:9: warning: private field 'i5' is not used
[-Wunused-private-field]
int i5, i6; // reserved
^
/usr/include/qt3/qstyle.h:116:13: warning: private field 'i6' is not used
[-Wunused-private-field]
int i5, i6; // reserved
^
/usr/include/qt3/qstyle.h:118:16: warning: private field 'p2' is not used
[-Wunused-private-field]
void *p1, *p2, *p3, *p4; // reserved
^
/usr/include/qt3/qstyle.h:118:21: warning: private field 'p3' is not used
[-Wunused-private-field]
void *p1, *p2, *p3, *p4; // reserved
^
/usr/include/qt3/qstyle.h:118:26: warning: private field 'p4' is not used
[-Wunused-private-field]
void *p1, *p2, *p3, *p4; // reserved
^
12 warnings and 2 errors generated.
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/showeq/showeq-5.13.10.26/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/showeq/showeq-5.13.10.26'
make: *** [all] Error 2
Is there anyone who might be able to point me in the right direction, please?