Problems with embedding fonts and makeqpf tool
-
[quote author="st2000" date="1317204881"]Yes, you are right. This post shuld be in the next forum. I have seen it done, but can not find an edit mode which allows me to change where this thread is posted.[/quote]
There is (unfortunately) none, except you are a moderator.
[quote author="st2000" date="1317204881"]Thank you for that link to makeqpf. But either I am blind or do not understand. There is no actual makeqpf utility on this page - is there?[/quote]
You'll find it in $QTDIR/tools/makeqpf. I'm not quite sure if it is part of the SDK - in doubt fetch the Qt sources using the SDK, the webpage or gitorious and build it.
-
Moved to the mobile and embedded subforum.
-
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.