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 GUI Error
Forum Updated to NodeBB v4.3 + New Features

QT GUI Error

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.2k 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
    jdcb92
    wrote on last edited by
    #1

    Hello, everyone:

    I've recently started using Qt and installed everything. I'm using 2.5.0 for Qt Creator and targetting 4.8.2, but everytime I try to run something with a forms file, I get this error:

    QWSSocket::connectToLocalFile could not connect:: No such file or directory

    It doesn't matter if the form has something or if the project is recently made, I always get the same error, yet I don't get it when making a Qt console application.

    Any insights of what might be going on and how to fix it?

    Thanks in advance and greetings from Costa Rica!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jdcb92
      wrote on last edited by
      #2

      I forgot this line of the error:

      No Qt for Embedded Linux server appears to be running.

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

        Hi and welcome to devnet,

        Did you add the -qws option when starting your application ?

        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
        • J Offline
          J Offline
          jdcb92
          wrote on last edited by
          #4

          Hello and thanks for your reply.

          I did what you told me but now it gives me this error:

          QFontDatabase: Cannot find font directory /usr/local/Trolltech/QtEmbedded-4.8.2/lib/fonts - is Qt installed correctly?

          I'm hoping there's a quick fix for this because I couldn't find a precompiled installer (I need this specific version) so I had to download the source and compile it and that took quite a bit of time.

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

            And you won't, there are no installer for cross-compiled QtEmbedded.

            The fix however is simple: create the directory and copy the fonts from your QtEmbedded build there

            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

            • Login

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