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. Cannot compile Qt 4.7.2 (-lQtCore error)
Forum Update on Monday, May 27th 2025

Cannot compile Qt 4.7.2 (-lQtCore error)

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

    Hi,

    I'm quite a newbie in compiling such library under linux... So, first of all, I'm so sorry for all that tricks...

    I've first run the following command :

    ./configure -prefix <my_install_dir>
    This first step is OK

    Then I've run this one, to compile :

    gmake
    And I've got the follwing error :
    /usr/bin/ld: cannot find -lQtCore

    Can you help me ?

    Mathieu (French guy...)

    1 Reply Last reply
    0
    • F Offline
      F Offline
      florent.revelut
      wrote on last edited by
      #2

      Won't be able to help much without more information... Could you provide a bit more information ? (compilation log)

      the message you're pointing looks like at some point, it tries to link with QtCore and can't find it, most probably because of a path issue (-L) or because it was not created

      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