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. Widget Text not Rendering on Standalone (Static) Linux Application
Forum Updated to NodeBB v4.3 + New Features

Widget Text not Rendering on Standalone (Static) Linux Application

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 1.4k 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.
  • espocjoE Offline
    espocjoE Offline
    espocjo
    wrote on last edited by
    #1

    Hello forum! I've run into an issue where text will not render on my Qt App. It renders in the menus, but not in MainWindow or any of the widgets. See picture below:
    0_1480641397216_booey.png

    I'm using the static build of Qt 5.7.1, built as per the instructions here
    I've also tried building my app from within Qt Creator itself, linking to static Qt as a Qt Version/Kit. Same results.
    Am I just missing a text plugin or is this something more serious?

    No issue when using the dynamically linked version; everything's smooth as silk.

    On a side note, when running ldd on the application, it still shows external links to libxcb, libx11 and a few others (not not qt-core). Is this normal behaviour? From what I read, libxcb is a platform abstraction library, so you would expect the user to have this installed (and in fact could break things if you provided it yourself)?

    kshegunovK 1 Reply Last reply
    0
    • kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      Please attach your screenshot to an external site and put in the link. The forum's upload feature isn't working correctly.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      1
      • espocjoE Offline
        espocjoE Offline
        espocjo
        wrote on last edited by espocjo
        #3

        Sure!
        Picture should be visible here:
        http://imgur.com/EWuToLG.png

        1 Reply Last reply
        0
        • espocjoE espocjo

          Hello forum! I've run into an issue where text will not render on my Qt App. It renders in the menus, but not in MainWindow or any of the widgets. See picture below:
          0_1480641397216_booey.png

          I'm using the static build of Qt 5.7.1, built as per the instructions here
          I've also tried building my app from within Qt Creator itself, linking to static Qt as a Qt Version/Kit. Same results.
          Am I just missing a text plugin or is this something more serious?

          No issue when using the dynamically linked version; everything's smooth as silk.

          On a side note, when running ldd on the application, it still shows external links to libxcb, libx11 and a few others (not not qt-core). Is this normal behaviour? From what I read, libxcb is a platform abstraction library, so you would expect the user to have this installed (and in fact could break things if you provided it yourself)?

          kshegunovK Offline
          kshegunovK Offline
          kshegunov
          Moderators
          wrote on last edited by
          #4

          That's a rather strange problem. Do you get any warnings in the output pane? If you link statically it might be necessary to initialize the plugins by hand, but I honestly can't think of a reason why you don't get the text rendered.

          On a side note, when running ldd on the application, it still shows external links to libxcb, libx11 and a few others (not not qt-core). Is this normal behaviour?

          Yes, absolutely.

          From what I read, libxcb is a platform abstraction library, so you would expect the user to have this installed (and in fact could break things if you provided it yourself)?

          I always advise to leave the distribution of xcb (and of Qt for that matter) to the client's distro, don't pack it up with your binaries.

          Read and abide by the Qt Code of Conduct

          espocjoE 1 Reply Last reply
          0
          • kshegunovK kshegunov

            That's a rather strange problem. Do you get any warnings in the output pane? If you link statically it might be necessary to initialize the plugins by hand, but I honestly can't think of a reason why you don't get the text rendered.

            On a side note, when running ldd on the application, it still shows external links to libxcb, libx11 and a few others (not not qt-core). Is this normal behaviour?

            Yes, absolutely.

            From what I read, libxcb is a platform abstraction library, so you would expect the user to have this installed (and in fact could break things if you provided it yourself)?

            I always advise to leave the distribution of xcb (and of Qt for that matter) to the client's distro, don't pack it up with your binaries.

            espocjoE Offline
            espocjoE Offline
            espocjo
            wrote on last edited by
            #5

            @kshegunov said in Widget Text not Rendering on Standalone (Static) Linux Application:

            Do you get any warnings in the output pane? If you link statically it might be necessary to initialize the plugins by hand, but I honestly can't think of a reason why you don't get the text rendered.

            Funny you should mention warnings. I rebuilt and actually looked at them this time. Lots of garden variety stuff (uninitialised variables, etc.), but then some really interesting stuff mentioning <stdio>, <string> and then fgets's return being ignored..

            Any idea what this could mean? I don't actually understand how the plugin system works. Is there something I need to do to initialise them?

            ~Chris

            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