| Summary: | error: call of overloaded 'tqDebug(TQCString&)' | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Roman <roma251078> |
| Component: | qt3 | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, michele.calgaro, roma251078 |
| Priority: | P5 | ||
| Version: | R14.1.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2247 | ||
|
Description
Roman
2019-06-26 15:56:00 CDT
Hi Roman, is this still valid? There was such problem for a very short while around the time of this bug report when doing some improvement in tqt3. But it was almost immediately fixed. What is the status now? Hi!
Yes, it is still valid. The error is still present.
An argument of type TQCString is passed to the tqDebug function.
The compiler cannot select a function with an argument of type TQString or an argument of type char.
That's why I suggested replacing the call to the tqDebug function in the widgets.cpp file with a call:
tqDebug (output, 0);
The second argument will be ignored, so the compiler will use the tqDebug variant with the type argument char.
Otherwise, you will have to write another handler for the tqDebug function with an argument of type TQCString.
For the assembly, I simply removed the example “widgets” from the assembly list:
sed '/widgets \\/d' -i ${S}/examples/examples.pro
We will add functions which take TQCString arguments. I was able to replicate the problem here. Commit 80dc1e531 added the new functions and solved the problem. https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/commit/80dc1e5317f9bf799df2493381484b1b65e77b5f Can you please verify and confirm before I close the bug? Note, the fix is only in tqt3. qt3 is no longer maintain for R14.1.x onwards. Now everything is fine, the error no longer pops up. For assembly I use overlay https://github.com/ormorph/TDE There is no qt3 package in this overlay. Deleted the line: sed '/widgets \\/d' -i ${S}/examples/examples.pro Now everything is going without errors. Great, glad to know that and thanks for reporting the issue. By the way, we encourage you to report bugs there, since TGW is now the place to go for development :-) https://mirror.git.trinitydesktop.org/gitea https://wiki.trinitydesktop.org/TDE_Gitea_Workspace (user guide) |