Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. DEBIAN - no font in custom app when using on a different machine
Forum Updated to NodeBB v4.3 + New Features

DEBIAN - no font in custom app when using on a different machine

Scheduled Pinned Locked Moved Solved Installation and Deployment
6 Posts 3 Posters 1.3k Views 2 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.
  • P Offline
    P Offline
    PALYGAP
    wrote on last edited by
    #1

    I have compiled a program in Qt5.5/Qt Creator 3.5 on a DEBIAN VirtualBox running on my first MAC. But I try to run it on the same environnement on my second MAC, the program runs without fonts. That was quite a surprise. Not that easy to use a menu driven program without the name of the items. Anyway, I am wondering if there any special conditions to be met to make sure that a Qt program find at least one font on a Linux machine. I have seen this : link text that provide the solution of making the font a resource of the program, but is there another way ?

    Thanks in advanve for the help.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What font is it ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        PALYGAP
        wrote on last edited by
        #3

        Hello,

        Its Cantarell/Regular/11.

        Thanks for taking the time. :)

        the_T 1 Reply Last reply
        0
        • P PALYGAP

          Hello,

          Its Cantarell/Regular/11.

          Thanks for taking the time. :)

          the_T Offline
          the_T Offline
          the_
          wrote on last edited by
          #4

          @PALYGAP
          Are you sure the font is available on each system you use? If not, then you have to ship the font with your program.

          -- No support in PM --

          1 Reply Last reply
          0
          • P Offline
            P Offline
            PALYGAP
            wrote on last edited by
            #5

            @the_
            I'll check tonight but I am pretty sure it is on both system since they are originally both from the same copy of the DEBIAN/VirtualBox and recently I have mainly installed Qt stuffs. I'll tell you as soon as I am back home.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              PALYGAP
              wrote on last edited by PALYGAP
              #6

              In the end the font "Cantarell/Regular/11" is not on my Debian machine. It's only available in Qt Creator. I can't find the associated font on the file system so I wonder were it has been put ? Anyway I have implemented was is described here font added to resources files .

              so --> it is SOLVED

              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