| Summary: | Build issue: tdebase FTBFS against Qt3 | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | bugwatch, darrella, robxu9 |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | tdebase | |
|
Description
Darrell
2012-06-17 18:16:26 CDT
kicker/kicker/core/kmenubase.ui.h t_xdisplay is probably supposed to be tq_xdisplay. This has been fixed in GIT hash 4c0b4c7. At some point instances of t_xdisplay should be replaced with the proper tqt_xdisplay variable, but this is a relative nit. Patch did not resolve the error:-( /dev/shm/tdebase.build/kicker/kicker/core/kmenubase.ui.h:7: error: 't_xdisplay' was not declared in this scope I don't know when, where, or how, but the original problem seems to have been resolved with no related build failures. Yet as of today (Aug. 20) tdebase fails to build against Qt3 with the following: /dev/shm/tdebase.build/tqt3integration/utils/tqtkde_functions.cpp:34: error: 'tqAppClass' was not declared in this scope /dev/shm/tdebase.build/tqt3integration/utils/tqtkde_functions.cpp:34: error: 'tqAppClass' was not declared in this scope Just checking but this bug still exists. I don't know how the tqtinterface build macros are supposed to change these things on-the-fly during a build. When building against TQt3 I'm sure tqAppClass is correct and when building against Qt3 qAppClass is correct. The following patch allows tdebase to build against Qt3 but as might be expected, fails against TQt3.
diff -urN tdebase/tqt3integration/utils/gen.cpp tdebase.new/tqt3integration/utils/gen.cpp
--- tdebase/tqt3integration/utils/gen.cpp 2012-09-14 17:58:36.000000000 -0500
+++ tdebase.new/tqt3integration/utils/gen.cpp 2012-10-11 23:47:50.000000000 -0500
@@ -260,7 +260,7 @@
arg.create = "tqAppName";
function.args.append( arg );
arg.name = "wmclass2";
- arg.create = "tqAppClass";
+ arg.create = "qAppClass";
function.args.append( arg );
}
check( !function.return_type.isEmpty());
This should be fixed in GIT hash ecbb9fb (tqtinterface). tqAppClass is the name TDE should be using, not qAppClass. Tim I just built tdebase against Qt3 with no incidents. I believe we can close this report as resolved. |