[Kde-devel-es] Compilando...

Jaime Robles jaime at kde.org
Wed Jan 14 18:27:52 CET 2004


Buenas...
Me ha escrito un usuario de KLog diciendome que no consigue compilar y le he 
pedido la salida del ./configure y la del "make" para tratar de solucionar el 
problema.
Lo primero que me ha llamado la atención es en el configure, cuando dice:
"checking if Qt compiles without flags... no"

================
checking for Qt... libraries /usr/lib/qt3//lib, headers /usr/lib/qt3//include 
using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
=================

¿Qué significa eso realmente? En mi máquina pone "yes" 


Ya en el make le sale:
========================0
In file included from setup.cpp:28:
setup.h:44: error: syntax error before `{' token
setup.h:45: error: virtual outside class declaration
setup.h:45: error: non-member function `const char* className()' cannot have 
`const' method qualifier
setup.h:45: error: virtual outside class declaration
setup.h:45: error: virtual outside class declaration
setup.h:45: error: virtual outside class declaration
setup.h:45: error: virtual outside class declaration
setup.h: In function `QObject* qObject()':
setup.h:45: error: invalid use of `this' in non-member function
setup.h: At global scope:
setup.h:45: error: syntax error before `private'
setup.h:50: error: destructors must be member functions
setup.h:52: error: syntax error before `public'
setup.h:71: error: syntax error before `}' token
setup.cpp:32: error: invalid use of undefined type `class Setup'
setup.h:44: error: forward declaration of `class Setup'
=================
y muchos otros errores... ¿Qué puede ser? a mi el mismo código SI me 
compila...

La linea 44, donde dá el error es esta (es la del class Setup: public setupui)

===========
...

#include <knuminput.h>
#include <kcolorcombo.h>
#include "setupui.h"

class Setup : public setupui{
  Q_OBJECT
  public:
    /** construtor */
    Setup(QWidget* parent=0, const char *name=0);
    /** destructor */
    ~Setup();
...

====================
¿Alguna sugerencia?

Gracias.

-- 
Un saludo,
	Jaime Robles - http://jaime.robles.nu
	jaime at kde.org
	Coordinador KDE-es - KDE Spanish Translation Team
	http://www.kde.org/es  - http://es.i18n.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://mail.kde.org/pipermail/kde-devel-es/attachments/20040114/aac8c305/attachment.pgp


More information about the Kde-devel-es mailing list