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. QtCreator, Qt Libraries, linux. Can't find includes
Qt 6.11 is out! See what's new in the release blog

QtCreator, Qt Libraries, linux. Can't find includes

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.4k 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
    jalone
    wrote on last edited by
    #1

    Hi,
    i'm setting up a project that use another one that must be compiled and require Qts.
    For the occasion i started with a fresh system to try the new versions of both libraries and qtcreator.
    I removed all repositories qt packages and installed qt-libraries in default folders (/usr/local/Trolletch/Qt...) and qtcreator in home.
    i builded a test project all ok.
    Now the problem:
    i tried compiling the project, it asked me of qmake-qt4 so i builded a symlink from qmake to qmake-qt4 (present with the repo stuff but not with the sdk compiled and installed as i did). seemed to work, but at the first code line
    @#include <QWhateverClass> @
    it fails and quit.

    Obviously i put the Qt path in PATH in .profile, restarted.
    The project compiled perfectly on a more recent distro with repositories qt. I checked LD_LIBRARY_PATH and @qmake -query@ and all seems ok :/

    moreover i don't really know how to remove the sdk to try repo libs (seems i can't install them because some broken dep) and i

    bq. System: Ubuntu 10.10 (old but required), Qt-Libraries4.8.3, QtCreator 2.6

    Hope you can help me,
    Thank you :)

    Edit: i just found that QtLibraries are not the same as the SDK as it was previousy released. So renamed some thing, however i don't think this fit with the problem.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Who asks for qmake-qt4? We never do that in creator...

      Maybe you have some old Makefiles or something generated with the ubuntu-Qt installation that tries to regenerate itself. Try cleaning out the generated files and rerun qmake afterwards.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jalone
        wrote on last edited by
        #3

        no it's not QtCreator, it's the project i am trying to compile.
        so is it right to say that calling qmake-qt4 is bad practice right?
        however i could not find a quick fix, so i had to give up soon and used old version of both given project and qt :/
        thank you anyway.

        ps: was a cmake project that could not find the includes even if it could find compiled libreries bins or even the includes and compile correctly if using the repository version of Qt.

        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