Continuing to shed light on my issue.
The same appeared on second host. Both have Ubuntu 'Precise' on it. GCC version is different: 4.6.2 vs 4.5.3. cmake version: 2.8.5 vs 2.8.7. Looks like these two are not the cause of the problem. I should really look at uic sources.
Will remind what's going on:
[ 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’
Adding '#include <qlabel.h>' to kshortcutdialog_simple.cpp fixes it. But moves straight to similar error:
[ 10%] Building CXX object tdeui/CMakeFiles/tdeui-shared.dir/kshortcutdialog_advanced.cpp.o /home/midenok/src/kde/tdelibs/build.debug/tdeui/kshortcutdialog_advanced.cpp: In constructor ‘KShortcutDialogAdvanced::KShortcutDialogAdvanced(QWidget*, const char*)’: /home/midenok/src/kde/tdelibs/build.debug/tdeui/kshortcutdialog_advanced.cpp:33:58: error: invalid use of incomplete type ‘struct QButtonGroup’
Looking at kshortcutdialog_simple.ui shows:
<widget class="TQLabel" row="0" column="0">
I suppose uic must add any q*.h include to any TQ* class it finds in .ui?
On Fri, Feb 24, 2012 at 8:36 AM, Aleksey Midenkov midenok@gmail.com wrote:
Continuing to shed light on my issue.
=== CUT ===
The problem is with tqt-replace not found on PATH. Current CMake implementation does not check failure of execute_process. I'm working on tde_execute_process macro. Another measure that should be done is configuring for tqt-replace like for uic in cmake scripts.
Thank you!
On Fri, Feb 24, 2012 at 8:36 AM, Aleksey Midenkov midenok@gmail.com wrote:
Continuing to shed light on my issue.
=== CUT ===
The problem is with tqt-replace not found on PATH. Current CMake implementation does not check failure of execute_process. I'm working on tde_execute_process macro. Another measure that should be done is configuring for tqt-replace like for uic in cmake scripts.
Good debugging! Will you be posting a patch for tde_execute_process to the mailing list? I would like to ensure that this problem does not crop up again.
Thanks!
Tim
On Sat, Feb 25, 2012 at 8:27 PM, Timothy Pearson kb9vqf@pearsoncomputing.net wrote:
On Fri, Feb 24, 2012 at 8:36 AM, Aleksey Midenkov midenok@gmail.com wrote:
Continuing to shed light on my issue.
=== CUT ===
The problem is with tqt-replace not found on PATH. Current CMake implementation does not check failure of execute_process. I'm working on tde_execute_process macro. Another measure that should be done is configuring for tqt-replace like for uic in cmake scripts.
Good debugging! Will you be posting a patch for tde_execute_process to the mailing list? I would like to ensure that this problem does not crop up again.
Already have posted patch in bug 874.
On Sat, Feb 25, 2012 at 8:41 PM, Aleksey Midenkov midenok@gmail.com wrote:
On Sat, Feb 25, 2012 at 8:27 PM, Timothy Pearson kb9vqf@pearsoncomputing.net wrote:
On Fri, Feb 24, 2012 at 8:36 AM, Aleksey Midenkov midenok@gmail.com wrote:
Continuing to shed light on my issue.
=== CUT ===
The problem is with tqt-replace not found on PATH. Current CMake implementation does not check failure of execute_process. I'm working on tde_execute_process macro. Another measure that should be done is configuring for tqt-replace like for uic in cmake scripts.
Good debugging! Will you be posting a patch for tde_execute_process to the mailing list? I would like to ensure that this problem does not crop up again.
Already have posted patch in bug 874.
Continuing the story posted patch 882.