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. Problem not knowing " QT += gui-private " in Qt
Forum Updated to NodeBB v4.3 + New Features

Problem not knowing " QT += gui-private " in Qt

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

    Hi all,
    I have a lib that run correct when open with CMake but when I open lib with *.pro program has error.
    When I enter this " QT += gui-private " in *.pro for a project, the program gives the following error. I use Qt 6.0.1 GCC 10.3.1 in Ubuntu 20.04
    -1: error: cannot find -lxkbcommon
    -1: error: collect2: error: ld returned 1 exit status
    -1: error: [Makefile:321: untitled6] Error 1

    1 Reply Last reply
    0
    • S Offline
      S Offline
      saeed
      wrote on last edited by
      #2

      I install " libxkbcommon-dev " and fixed error

      1 Reply Last reply
      0
      • JonBJ JonB referenced this topic on

      • Login

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