Problems with embedding fonts and makeqpf tool
-
bq. SDK – in doubt fetch the Qt sources using the SDK, the webpage or gitorious and build it.
I'm having a problem with this. And being new - I need to ask even more questions...
At work, there is a common down-load server which grabs and inspects files. This is death to embedded autonomous down load processes inside of other programs. I suspect this is my problem as when I look for a way to get code (packages under Help->Start Updater) it just hangs for-ever.
So if there are other ways of getting makeqpf, I'd like to hear about it. If it is a web page or a GIT repository, what is the URL?
-thanks
-
Ug, I finally grabbed a copy of the source for a Qt makeqpf project. (The Qt tool upgrade process is NOT compatible with my work's download filters! That's for sure.) So far, this has really been a struggle. Either I am being totally clueless - or someone has got to put together a how-to document.
Anyway, the latest hiccup:
When compiling the makeqpf Qt project, I get this error:
...QtSDK/QtSources/4.7.4/tools/makeqpf/qpf2.h:45: error: private/qfontengine_qpf_p.h: No such file or directoryAnyone know what is missing. Well, obviously the qfontengine_qpf_p.h file. But where do I find this file? What package do I need to download? This is a Fedora15 system BTW.
-thanks
-
Evidently there are a lot of files missing:
qfixed_p.h
qfont_p.h
qfontengine_ft_p.h
qfontengine_p.h
qfontengine_qpf_p.h
...and onI can not imagine I am suppose to pick each one up from GIT. There must be a package or something I am missing. Anyone have any ideas?
-thanks
-
You shouldn't use the QtSources from the SDK for compiling Qt or any of its tools. Grab a source tarball and compile from there.
-
bq. Grab a source tarball and compile from there.
(I feel like a pilot at an unfamiliar airport asking for "turn-by-turn".)
So, where do I get a Qt source tarball? I have been looking at http://gitorious.org/ but am unfamiliar of how this is connected to either Trolltech or Nokia.
I happened across this page but I think I want Qt not Qt-3D:
http://doc.qt.nokia.com/qt3d-snapshot/qt3d-building.html-thanks
-
You can get it from the download page: http://qt.nokia.com/downloads/downloads#qt-lib
-
Guys (Gals), I hate to keep asking for help - trying to create a few qpf font sets for my embedded Qt application - but I feel like we are almost there...
I downloaded the tar.gz file and unzipped it. But there is still no directory called: "qt-everywhere-opensource-src-4.7.4/tools/makeqpf/private" as needed by the makeqpf source code. Just to be clear, this newly downloaded source code is looking for the same missing headers as the code I grabbed a few post ago (above).
Still can not believe it is so hard to add a few more font sizes to an embedded Qt application. What am I doing wrong?
-thanks
-
Please stop renaming your topic. Come up with a single name that describes your question (the current one only describes your state of mind, wich is not something we can help you with), and leave it at that. Leave it to admins to change the title if needed (except of perhaps adding a [solved] tag if the issue has been addressed).
-
I've update the thread with a sane title.
Sources for a makeqpf tool are in qt-everywhere-opensource-src-4.7.4/tools/makeqpf. After issuing a make in that directory, there is a makeqpf tool in qt-everywhere-opensource-src-4.7.4/bin. I cannot test if it works, though.
-
I got the same problem as yours.
convert the required font using makeqpf (its in /qtsdk-2010.03/qt/tools/makeqpf/).
place the converted font into target's font directory(/usr/local/QtEmbedded-4.7.1/lib/fonts/)
your problem will be solved.if makeqpf is not running and showed FontEngine error,then it means QtSdk is not properly installed or installed more than one versions.