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 8263903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:15:56+00:00 2026-06-08T04:15:56+00:00

I am trying to cross compile my windows/mac/linux application to Qt On Pi 0.2,

  • 0

I am trying to cross compile my windows/mac/linux application to Qt On Pi 0.2, I have a build environment setup for this purpose and am trying to work my way though its configuration.

However where I have:

#include <QApplication>
#include <QDebug>

it’s telling me that it cannot find it unless I change it to:

#include <QtWidgets/QApplication>
#include <QtCore/QDebug>

I don’t really want to change all my includes as this is a big application. What am I missing in my environment setup to cure this?

This is a ubuntu 12.04 32bit setup.

  • 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-08T04:15:59+00:00Added an answer on June 8, 2026 at 4:15 am

    Ok, someone over at Qt On Pi Mailing list pointed out that I needed to include the:

    QT += widgets
    

    in my qmake project file.

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

Sidebar

Related Questions

I've making a shared library (cross-platform), but when trying to compile the Windows build
I am trying to cross-compile GCC on Mac OS 10.5.7. I used this command
I'm trying to compile a small Qt application for windows Mobile 5. so I've
I am trying to configure util-linux to cross compile using arm-none-linux-gnueabi from CodeSourcery. My
I am trying to set up a programming environment to compile Windows executables and
I am trying to cross-compile a Linux kernel for an ARM-target ( Freescale i.Mx28
I'm trying to (cross-)compile node.js and I get this odd error that appears to
I'm trying to cross compile php for arm and have good progress but I'm
I am trying to cross-compile climm-0.6.4 to windows under Ubuntu with the following command:
I'm trying to cross-compile a 64-bit executable on a 32-bit ubuntu system. This works

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.