Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.8 Linux compile issue

Qt 5.8 Linux compile issue

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 838 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.
  • J Offline
    J Offline
    Jedd
    wrote on last edited by
    #1

    Hello, I just compiled Qt 5.8 statically for linux:

    ./configure -no-opengl -no-fontconfig -release -fontconfig -qt-libpng -qt-zlib -qt-freetype -static -prefix /home/jeff/Qt/5.8/static -confirm-license -opensource -nomake examples -no-xcb-xlib -qt-xcb -no-dbus -nomake tests -skip declarative -qt-xkbcommon

    It compiles fine.

    Afterwards, when I compile source from the command-line, none of my widgets have text, the buttons are blank.

    in my shadow dir
    qmake ~/mysource/mysource.pro
    make

    binary is fine, executes, but no text on buttons or labels.

    1 Reply Last reply
    0
    • m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by
      #2

      Hi,
      using these contradictory options -no-fontconfig -fontconfig -qt-freetype probably confuses the configure program.
      -Michael.

      J 1 Reply Last reply
      2
      • m.sueM m.sue

        Hi,
        using these contradictory options -no-fontconfig -fontconfig -qt-freetype probably confuses the configure program.
        -Michael.

        J Offline
        J Offline
        Jedd
        wrote on last edited by
        #3

        @m.sue can't believe that slipped past me, thanks.

        Unfortunately, cleaning up the config didn't work. I've tried several different configs, which compile fine, but the static 5.8 gives me compiled programs without any fonts at all.

        Works fine on my Mac, haven't done Windows yet.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jedd
          wrote on last edited by
          #4

          Fixed. I removed fontconfig and freetype from my config string.

          1 Reply Last reply
          1

          • Login

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