| Summary: | Build issue: avahi-tqt FTBFS | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | other (any) | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | bugwatch, darrella, drfiemost |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
Patch for Makefile.am
Updated patch to build avahi-tqt without failures Build log for avahi-tqt |
||
|
Description
Darrell
2012-03-16 16:19:28 CDT
Just change Q_OBJECT to TQ_OBJECT in avahi-tqt/qt-watch.cpp Not sure if this is compatible with Qt3 but it looks like building on Qt3 is unsupported anyway. Created attachment 520 [details]
Updated patch to build avahi-tqt without failures
Yes, changing Q_OBJECT to TQ_OBJECT did the trick. Thank you!
I don't know to make this kind of patch conditional in the builds. There has not been any offical word that building against Qt3 no longer is supported. If we had such an announcment then I could push the patch to GIT as is. If building against Qt3 remains supported then the patch needs some kind of preprocessor test to distinguish between TQt3 and Qt3 before applying the changes.
I am updating the patch attachment.
avahi-tqt will not build against Qt3 when the attached patch is used. avahi-tqt builds without error against Qt3 without the patch. avahi-tqt will not build against TQt3 without the patch. Therefore this patch needs to be revised to distinguish between the two environments. The root cause of this failure is actually that the configure script doesn't properly search for TQt, then Qt3, and also that it does not abort if the tqtinterface-provided moc is not found. This should be fixed in GIT hash 1817318. Thanks. I pulled the latest for avahi-tqt (GIT hash 1817318). With no patches I receive the following build failure: configure: error: Could not find moc-tqt This is building against TQt3. (In reply to comment #5) > Thanks. I pulled the latest for avahi-tqt (GIT hash 1817318). With no patches I > receive the following build failure: > > configure: error: Could not find moc-tqt > > This is building against TQt3. Do you have moc-tqt installed in a non-standard location? If so, configure.ac may need to be modified to accept a moc-tqt search directory. Created attachment 651 [details]
Build log for avahi-tqt
/usr/bin/moc-tqt.
Attached is a build log.
Update pushed in GIT hash 7b10d93. Latest patch did the trick. Thank you! |