Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problems with embedding fonts and makeqpf tool
Forum Updated to NodeBB v4.3 + New Features

Problems with embedding fonts and makeqpf tool

Scheduled Pinned Locked Moved Mobile and Embedded
16 Posts 7 Posters 12.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • EddyE Offline
    EddyE Offline
    Eddy
    wrote on last edited by
    #6

    Moved to the mobile and embedded subforum.

    Qt Certified Specialist
    www.edalsolutions.be

    1 Reply Last reply
    0
    • S Offline
      S Offline
      st2000
      wrote on last edited by
      #7

      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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        st2000
        wrote on last edited by
        #8

        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 directory

        Anyone 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

        1 Reply Last reply
        0
        • S Offline
          S Offline
          st2000
          wrote on last edited by
          #9

          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 on

          I 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

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dangelog
            wrote on last edited by
            #10

            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.

            Software Engineer
            KDAB (UK) Ltd., a KDAB Group company

            1 Reply Last reply
            0
            • S Offline
              S Offline
              st2000
              wrote on last edited by
              #11

              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

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on last edited by
                #12

                You can get it from the download page: http://qt.nokia.com/downloads/downloads#qt-lib

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  st2000
                  wrote on last edited by
                  #13

                  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

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andre
                    wrote on last edited by
                    #14

                    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).

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      goetz
                      wrote on last edited by
                      #15

                      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.

                      http://www.catb.org/~esr/faqs/smart-questions.html

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        dreamerindia
                        wrote on last edited by
                        #16

                        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.

                        ~Ravivarman~

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved