Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Sysroot in QT4
Qt 6.12 LTS is out! See what's new in the release blog

Sysroot in QT4

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 742 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,

    I want to cross-compile an application using Qt Creator. I created Kit for the cross compiler/QT4 and have setup sysroot path in the kit. I want to modify the qmake.conf in mkspecs dir to use the sysroot path from Qt Creator. Up to now I used an environment variable that I used in the qmake.conf but I would like to get rid of this dependency. I tried
    QMAKE_INCDIR = $$[QT_SYSROOT]/usr/include
    but it does not work. I suppose it works only in QT5. Is there an alternative for sysroot in QT4?

    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
    • Unsolved