OpenServo.com Forum Index OpenServo.com
Discussion of the OpenServo project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OSIF GUI QT4, compiling troubles

 
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
julios



Joined: 16 Jan 2011
Posts: 2
Location: Chile

PostPosted: Mon Jan 17, 2011 3:45 am    Post subject: OSIF GUI QT4, compiling troubles Reply with quote

Hi,

Today i try to compiling the GUI in Ubuntu, but it fails. if anyone has the old version will be usefull for me, or if someone could explain about how compile this in linux with the latest modifications.

looking the cvs log, see

Code:

Working file: src/ui_mainwin4.h
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;   selected revisions: 1
description:
----------------------------
revision 1.1
date: 2010/11/14 13:49:42;  author: ginge;  state: Exp;
Updated to use QT4. With thanks to Claus-Justus Heine for the patch


When try to compile, gives the following error

Code:
 g++ -c -pipe -g -Wall -W -O0 -D_REENTRANT  -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -o main.o main.cpp
In file included from maintestwindow.h:23,
                 from main.cpp:23:
ui_mainwin4.h:13:30: error: Qt3Support/Q3Frame: No existe el archivo o directorio
ui_mainwin4.h:14:33: error: Qt3Support/Q3GroupBox: No existe el archivo o directorio
ui_mainwin4.h:15:31: error: Qt3Support/Q3Header: No existe el archivo o directorio
ui_mainwin4.h:16:33: error: Qt3Support/Q3ListView: No existe el archivo o directorio
ui_mainwin4.h:17:42: error: Qt3Support/Q3MimeSourceFactory: No existe el archivo o directorio
ui_mainwin4.h:18:33: error: Qt3Support/Q3TextEdit: No existe el archivo o directorio
ui_mainwin4.h:19:27: error: QtCore/QVariant: No existe el archivo o directorio
ui_mainwin4.h:20:25: error: QtGui/QAction: No existe el archivo o directorio
ui_mainwin4.h:21:30: error: QtGui/QApplication: No existe el archivo o directorio
ui_mainwin4.h:22:30: error: QtGui/QButtonGroup: No existe el archivo o directorio
ui_mainwin4.h:23:27: error: QtGui/QCheckBox: No existe el archivo o directorio
ui_mainwin4.h:24:25: error: QtGui/QDialog: No existe el archivo o directorio
ui_mainwin4.h:25:29: error: QtGui/QGridLayout: No existe el archivo o directorio
ui_mainwin4.h:26:29: error: QtGui/QHBoxLayout: No existe el archivo o directorio
ui_mainwin4.h:27:29: error: QtGui/QHeaderView: No existe el archivo o directorio
ui_mainwin4.h:28:24: error: QtGui/QLabel: No existe el archivo o directorio
ui_mainwin4.h:29:27: error: QtGui/QLineEdit: No existe el archivo o directorio
ui_mainwin4.h:30:29: error: QtGui/QPushButton: No existe el archivo o directorio
ui_mainwin4.h:31:29: error: QtGui/QSpacerItem: No existe el archivo o directorio
ui_mainwin4.h:32:26: error: QtGui/QSpinBox: No existe el archivo o directorio
ui_mainwin4.h:33:29: error: QtGui/QVBoxLayout: No existe el archivo o directorio
In file included from maintestwindow.h:23,
                 from main.cpp:23:
ui_mainwin4.h:37: error: expected constructor, destructor, or type conversion before ‘class’
make[1]: *** [main.o] Error 1
make[1]: se sale del directorio `/home/julio/Dropbox/company/Openservo/OpenServo_web/Interfaces/OpenServo_InterFace/Applications/OpenServo_Control/src'
make: *** [sub-src] Error 2   



I'll be looking forward by helps, Thank!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ginge
Site Admin


Joined: 14 Jan 2006
Posts: 1029
Location: Manchester, UK

PostPosted: Mon Jan 17, 2011 7:16 pm    Post subject: Reply with quote

I sent you a pm asking for some more information, but this is an odd error

Try installing:

libqt4-dev

The headers for qt3 compat should com with this package, but if not, you can try installing these:

libqt4-qt3support
libqt3-headers
libqt3-mt
libqt3-mt-dev


It may not let you install all of them, but should get the qt3 compatibility headers in there.
_________________
http://www.headfuzz.co.uk/
http://www.robotfuzz.co.uk/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
julios



Joined: 16 Jan 2011
Posts: 2
Location: Chile

PostPosted: Tue Jan 18, 2011 1:39 am    Post subject: Reply with quote

Hi,

I've try with all packages installed, but the error continues, a solution will be compiling the codes for qmake-qt3, but there is not available in csv downloadings

thanks
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ginge
Site Admin


Joined: 14 Jan 2006
Posts: 1029
Location: Manchester, UK

PostPosted: Tue Jan 18, 2011 7:27 pm    Post subject: Reply with quote

looking closer at the error, you need to uninstall qt3 and install qt4
_________________
http://www.headfuzz.co.uk/
http://www.robotfuzz.co.uk/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
andrewmonds1



Joined: 20 Aug 2011
Posts: 1
Location: Los Angeles

PostPosted: Mon Sep 05, 2011 9:08 pm    Post subject: Reply with quote

now what's the solution ?
_________________
african mango | zetaclear
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group