| Summary: | qt4 "-graphicssystem trace" support | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Siarhei Siamashka <siarhei.siamashka> |
| Component: | New packages | Assignee: | Qt Bug Alias <qt> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | realnc |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://trac.webkit.org/wiki/QtWebKitPerformanceUtilities | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
a hackish ebuild to provide trace graphicssystem (derived from qt-opengl)
a hackish patch for qt-assistant to provide qttracereplay tool updated qt-gui |
||
|
Description
Siarhei Siamashka
2010-04-29 18:26:40 UTC
we can adjust the qt-gui live ebuilds to see how that will go Are you sure that trace exists on Qt 4.6?
* from configure script *
-graphicssystem <sys> Sets an alternate graphics system. Available options are:
raster - Software rasterizer
opengl - Rendering via OpenGL, Experimental!
There is no trace engine available on 4.6
Created attachment 229799 [details]
a hackish ebuild to provide trace graphicssystem (derived from qt-opengl)
Created attachment 229801 [details, diff]
a hackish patch for qt-assistant to provide qttracereplay tool
(In reply to comment #2) > Are you sure that trace exists on Qt 4.6? Yes, it exists. I have just attached the ugly hacks that I'm using now. Of course I would prefer a clean out of the box solution, but I don't have a clear understanding about how all these qt ebuilds work. Created attachment 229803 [details]
updated qt-gui
Ah it exists as a separate module and can't me used as default engine. I see.
Please try the attached qt-gui ebuild with trace use flag enabled an let me know if it works for you.
(In reply to comment #6) > Please try the attached qt-gui ebuild with trace use flag enabled an let me > know if it works for you. Thanks, it works fine. Now in order to get a complete trace feature support, also qttracereplay tool needs to be bundled somewhere. BTW, this tool also allows to easily compare performance of different qt graphicssystems by playing back the traces (ex. "qttracereplay -graphicssystem raster sometrace.trace" vs. "qttracereplay sometrace.trace"). Thanks a lot. Both ebuilds are now on tree. Reopen this bug if you have any issues Not sure what's going on, but qt-assistant can't be built now. emerge fails and log says: tar xzpf /var/tmp/portage/x11-libs/qt-assistant-4.6.2-r1/distdir/qt-everywhere-opensource-src-4.6.2.tar.gz qt-everywhere-opensour tar: qt-everywhere-opensource-src-4.6.2/tools/assistant: Not found in archive tar: qt-everywhere-opensource-src-4.6.2/tools/pixeltool: Not found in archive tar: qt-everywhere-opensource-src-4.6.2/tools/qdoc3: Not found in archive tar: Exiting with failure status due to previous errors Sorry, first line got truncated. It's this command: tar xzpf /var/tmp/portage/x11-libs/qt-assistant-4.6.2-r1/distdir/qt-everywhere-opensource-src-4.6.2.tar.gz qt-everywhere-opensource-src-4.6.2/configure qt-everywhere-opensource-src-4.6.2/LICENSE.GPL3 qt-everywhere-opensource-src-4.6.2/LICENSE.LGPL qt-everywhere-opensource-src-4.6.2/projects.pro qt-everywhere-opensource-src-4.6.2/src/qbase.pri qt-everywhere-opensource-src-4.6.2/src/qt_targets.pri qt-everywhere-opensource-src-4.6.2/src/qt_install.pri qt-everywhere-opensource-src-4.6.2/bin qt-everywhere-opensource-src-4.6.2/config.tests qt-everywhere-opensource-src-4.6.2/mkspecs qt-everywhere-opensource-src-4.6.2/qmake qt-everywhere-opensource-src-4.6.2/tools/assistant qt-everywhere-opensource-src-4.6.2/tools/pixeltool qt-everywhere-opensource-src-4.6.2/tools/qdoc3 qt-everywhere-opensource-src-4.6.2/tools/assistant qt-everywhere-opensource-src-4.6.2/tools/pixeltool qt-everywhere-opensource-src-4.6.2/tools/qdoc3 qt-everywhere-opensource-src-4.6.2/tools/ qt-everywhere-opensource-src-4.6.2/demos/ qt-everywhere-opensource-src-4.6.2/examples/ qt-everywhere-opensource-src-4.6.2/src/ qt-everywhere-opensource-src-4.6.2/include/ qt-everywhere-opensource-src-4.6.2/doc/ |