On Wed, Feb 15, 2012 at 4:12 PM, /dev/ammo42 <mickeytintincolle(a)yahoo.fr> wrote:
On Wed, 15 Feb 2012 01:01:10 -0600
"Timothy Pearson" <kb9vqf(a)pearsoncomputing.net> wrote:
On Tue,
Feb 14, 2012 at 12:29 PM, Aleksey Midenkov
<midenok(a)gmail.com> wrote:
[ 18%] Building CXX object
kdeui/CMakeFiles/kdeui-shared.dir/kshortcutdialog_simple.cpp.o
/home/midenok/src/kde/tdelibs/build.debug/kdeui/kshortcutdialog_simple.cpp:
In constructor
‘KShortcutDialogSimple::KShortcutDialogSimple(QWidget*, const
char*)’:
/home/midenok/src/kde/tdelibs/build.debug/kdeui/kshortcutdialog_simple.cpp:31:50:
error: invalid use of incomplete type ‘struct QLabel’
Are there some kind soul that wants to help me with that? Please!
That looks like a problem with the ui compiler. I remember something
similar happening in the past on a non-Debian distribution; Darrell
Anderson on this list may be able to help with the problem if I
remember correctly.
IIRC you have to do
$ export PATH=/trinity/prefix/bin:$PATH
before building Trinity, oherwise you could be using the Qt4 uic.
In fact, it has used uic from preinstalled qt3-dev-tools. And that is
because tqtinterface found it there on configuration phase and
installed tqt.pc that pointed to /usr/bin/uic-qt3 and
/usr/bin/moc-qt3. After uninstalling qt3-dev-tools and reconfiguring
tqtinterface it become pointing to $opt_dir/bin/uic and
$opt_dir/bin/moc. Which is right because they are installed from Git
version of qt3. But nevertheless, the error stays the same!
Trying to reconfigure tdelibs for uic-tqt and moc-tqt makes worse error:
cd /home/midenok/src/kde/tdelibs/build.debug/kdeui && /usr/bin/cmake
-DUIC_EXECUTABLE:FILEPATH=/home/midenok/src/kde/opt/bin/uic-tqt
-DTDE_QTPLUGINS_DIR:FILEPATH=
-DUI_FILE:FILEPATH=/home/midenok/src/kde/tdelibs/kdeui/kshortcutdialog_advanced.ui
-P /home/midenok/src/kde/tdelibs/cmake/modules/tde_uic.cmake
cd /home/midenok/src/kde/tdelibs/build.debug/kdeui &&
/home/midenok/src/kde/opt/bin/moc-tqt kshortcutdialog_advanced.h >>
kshortcutdialog_advanced.cpp
cp: missing destination file operand after `.bkp'
Try `cp --help' for more information.
That is because moc-tqt accepts different arguments than moc. I'm
totally perplexed with these three versions: moc, tmoc, moc-tqt. What
must be used in tdelibs?