<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Hi!<br>
<br>
My /opt/kde3/lib/kde3/plugins/designer contains "kdewidgets.so" and "kdewidgets.la".<br>
<br>
When I run uic with that file (the actest.ui you sent me), I get<br>
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -impl
actest.h actest.ui<br>
<br>
/****************************************************************************<br>
** Form implementation generated from reading ui file 'actest.ui'<br>
**<br>
** Created: Fri Jan 24 15:56:49 2003<br>
**      by:  The User Interface Compiler (uic)<br>
**<br>
** WARNING! All changes made in this file will be lost!<br>
****************************************************************************/<br>
#include "actest.h"<br>
<br>
#include <qvariant.h><br>
#include <qlayout.h><br>
#include <qtooltip.h><br>
#include <qwhatsthis.h><br>
<br>
/*<br>
 *  Constructs a NewConnectionDialog which is a child of 'parent', with the<br>
 *  name 'name' and widget flags set to 'f'.<br>
 *<br>
 *  The dialog will by default be modeless, unless you set 'modal' to<br>
 *  TRUE to construct a modal dialog.<br>
 */<br>
NewConnectionDialog::NewConnectionDialog( QWidget* parent,  const char* name,
bool modal, WFlags fl )<br>
    : QDialog( parent, name, modal, fl )<br>
{<br>
<br>
    testInput = new KLineEdit( this, "testInput" );<br>
}<br>
<br>
/*<br>
 *  Destroys the object and frees any allocated resources<br>
 */<br>
NewConnectionDialog::~NewConnectionDialog()<br>
{<br>
    // no need to delete child widgets, Qt does it all for us<br>
}<br>
<br>
<br>
Which I think is correct.<br>
So it might be something with my autoconf right? <br>
How can I fix it?<br>
<br>
Thanks,<br>
Amilcar<br>
<br>
<br>
<br>
<br>
<br>
<br>
Harald Fernengel wrote:<br>
<blockquote type="cite" cite="mid200301241503.18600.harry@kdevelop.org">
  <pre wrap="">Hi,

On Friday 24 January 2003 14:52, Amilcar do Carmo Lucas wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Yes, the path is correct. I checked the config.log file and this is what
I got

configure:23681: result: libraries /opt/kde3/lib, headers /opt/kde3/include
configure:23718: checking if UIC has KDE plugins available
configure:23745: /usr/lib/qt3/bin/uic -L
/opt/kde3/lib/kde3/plugins/designer -nounload -impl actest.h actest.ui >
actest.cpp
configure:23748: $? = 0
configure:23763: error: not found - you need to install kdelibs first.

It looks like the problem is that there is no actest.ui file, because
when I issue:
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload
-impl actest.h actest.ui

I get:
uic: Could not open file 'actest.ui'

So I'm out of ideas :(
    </pre>
  </blockquote>
  <pre wrap=""><!---->
actest.ui is generated on the fly, you can find it in admin/acinclude.m4.in:

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>NewConnectionDialog</class>
<widget class="QDialog">
   <widget class="KLineEdit">
        <property name="name">
           <cstring>testInput</cstring>
        </property>
   </widget>
</widget>
</UI>

can you try to run uic again on that file and see what happens? Do you have a 
directory /opt/kde3/lib/kde3/plugins/designer and does it contain 
"kdewidgets.so" and "kdewidgets.la"?

Best regards,
Harry

_______________________________________________
Kdevelop-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kdevelop-devel@barney.cs.uni-potsdam.de">Kdevelop-devel@barney.cs.uni-potsdam.de</a>
<a class="moz-txt-link-freetext" href="http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel">http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- 
Amilcar Lucas

---------------------------------------------------------------------------
             Institut fuer Datentechnik und Kommunikationsnetze
               Technische Universitaet Braunschweig, Germany      

Amilcar do Carmo Lucas                  Tel. : +49 531 391 3751
Raum 1315                               Fax  : +49 531 391 3750
Hans-Sommer Str. 66                     Email: <a class="moz-txt-link-abbreviated" href="mailto:amilcar@ida.ing.tu-bs.de">amilcar@ida.ing.tu-bs.de</a>
D-38106 Braunschweig
           <a class="moz-txt-link-freetext" href="http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml">http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml</a>
---------------------------------------------------------------------------
</pre>
<br>
</body>
</html>