Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Access QML Project in a Library in Linux
QtWS25 Last Chance

Access QML Project in a Library in Linux

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 495 Views
  • 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
    JackRackham
    wrote on last edited by
    #1

    Hi,

    Sorry for posting twice the same question, but I wrote too quickly the title of the post and does not correspond to the content of the post. I apologize. If anyone knows how to delete my own post, please tell me.

    we are developing the Interface of an application and decided to create a single project in QML where the Interface is designed. This project is compiled as a static library and used afterwards from another application.

    We include the (statically linked) library with:

    CONFIG(debug, debug|release): LIBS += $$PWD/../build/libOurlLbraryd.a
    CONFIG(release, debug|release): LIBS += $$PWD/../build/libOurlLbrary.a

    INCLUDEPATH += $$PWD/../build
    DEPENDPATH += $$PWD/../build

    In the .pro file.

    This solution works well under Windows, but in Linux we cannot debug the application in QtCreator. We always become the following error when we start the debugger:

    "Could not connect to host. Timeout waiting for reply from server"

    We checked that the debugger (apparently) is configured to listen in port 0. We tried to change it to other ports number but we still have the same problem. Could someone please give us a hint of how to solve this?

    Best regards,

    Juan.

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

      Hi,

      I cleaned your old thread. Next time, no need for double posting, just edit your original post and change the title.

      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