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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:29:10+00:00 2026-06-18T06:29:10+00:00

What Environmental Variables PATH I need to add for Qt5 to recognize include ?

  • 0

What Environmental Variables PATH I need to add for Qt5 to recognize include ?

  • I already added “C:\qt5\2012.11\qtbase\bin and C:\qt5\2012.11\qtbase\lib”.

I used VS2012 command prompt to build Qt5Sdk and it’s work, but it’s not recognize

include QtGui/QApplication,

include QFileDialog

and more…it’s does recognize

include QGui

.

maybe VS2012 build didn’t goes well?

  • BTW in Windows7 where’s are the INCLUDE, LIB and LIBPATH, becaise I can see I can set them from Qt, but when entered windows 7 environment variables there is only PATH?

Thanks!

  • 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-18T06:29:11+00:00Added an answer on June 18, 2026 at 6:29 am

    In Qt5, QApplication class was moved from QtGui modul to QtWidgets.

    So, instead of

    #include <QtWidgets/QApplication> 
    

    put

    #include <QtGui/QApplication> 
    

    and instead of

    QT += core gui 
    

    you should have

    QT += core gui widgets  
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an environment variable pointing to the WiX bin directory path? I want
I have a dataset of environmental variables I would like to use for a
The following code utilizes CreateProcess to run commands with environmental variables. Here, it tries
Where Linux/Unix environment variables are kept? How can I add my own environment variable
I need user to define all the environment variables needed for my program in
I need to take two strings and combine them into a single path string
is there a way to add a specific directory to the Windows systemvariable %PATH%?
I am using an info.plist in Xcode to set the Environmental Variables, DYLD_LIBRARY_PATH and
I am having a problem with updating the PATH variable. What I need to
How do one create System Level environmental variables manually. I just installed a GeoSupport

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.