Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8011193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:57:28+00:00 2026-06-04T18:57:28+00:00

I’ve set up a cross-compile environment with mingw on my ubuntu machine and I’m

  • 0

I’ve set up a cross-compile environment with mingw on my ubuntu machine and I’m trying to set it up with Qt.

I’ve read a couple of blog posts and other reference pages on setting this up, but none of them seem to explain about where to get the Qt headers from. Of the few that do, they all seem to say download the installer for Qt creator for windows, run it in wine, browse to where the header files are and copy them out.

Are these files different from the ones I have already installed? (I Installed the Qt packages from apt-get) I don’t see the point in the half a gig download and unpacking time if I already have the files I need.

cheers in advance 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:57:29+00:00Added an answer on June 4, 2026 at 6:57 pm

    Are the C++ Qt Headers the same for windows and linux?

    They’re different. During compilation from source on windows platform qt generates at least one platform-specific file, which is not present in original source code distribution archive.

    One of such files is qconfig.h (src/corelib/global/qconfig.h), which is indirectly included from QtGlobal and contains certain platform-specific definitions, such as:

    #define Q_BYTE_ORDER Q_LITTLE_ENDIAN
    
    // Compile time features
    #define QT_ARCH_WINDOWS
    

    On linux the file will have very different contents.

    This file does not exist in source code distribution and is generated during compilation. On linux system this file will have different contents. So no, you can’t just use linux headers. YOu might be able to manually tweak headers, but it’ll be easier to simply grab existing package insted. And, obviously, you’ll need libraries (.dll/.lib (or *.a)) to link with Qt, and linux libraries won’t be suitable for that.

    don’t see the point in the half a gig download

    Instead of downloading sdk download libraries (see bottom of the page). Each package is 200..300 MB, which is less than “half a gig”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm trying to create an if statement in PHP that prevents a single post
I have a bunch of posts stored in text files formatted in yaml/textile (from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.