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. How can I fix the linking errors when compiling
Forum Updated to NodeBB v4.3 + New Features

How can I fix the linking errors when compiling

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 784 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.
  • CodeNoobC Offline
    CodeNoobC Offline
    CodeNoob
    wrote on last edited by
    #1

    I keep getting below error when compiling.

    cannot find -lCore
    cannot find -lTextEditor
    cannot find -lAggregation
    cannot find -lExtensionSystem
    cannot find -lUtils

    Where can I obtain those libraries?

    I am trying to compile this plugin.
    https://github.com/midi-pascal/qtcreator-tabbededitor-plugin

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, your plugin refers to those .so files from the Qt Creator installation, they can be found there (libCore.so and libTextEditor.so are standard Qt Creator plugins, the other 3 are normal .dll/.so files).

      To build successfully, set the QTC_BUILD env. variable in the .pro file to where your Qt Creator is installed, usually that's /home/yourname/Qt/Tools/QtCreator

      Note: usually it's recommended that you download and compile/build Qt Creator yourself and set QTC_BUILD to point to that Qt Creator build, but when I compile my plugin, I usually cheat and just reuse the Qt Creator installation from the distribution (saves 20 minutes of waiting for gcc :-)

      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