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

  • Home
  • SEARCH
  • 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 6949247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:55:45+00:00 2026-05-27T13:55:45+00:00

I recently started working with Qt (sort of a crash course) and integrated it

  • 0

I recently started working with Qt (sort of a crash course) and integrated it with Visual Studio (as described here), and now for some reason the files don’t appear to be updating with my saved .ui file after making the changes in the Qt Designer.

The file is saving correctly (if I click on it in Visual Studio, it shows the added components), but none of the added components are referenced in the “ui_MainForm.h” file. Is there a step I missed somewhere along the lines of saving that should have recompiled that UI header file?

I’m also not sure if this makes a difference or not, but the generated files have a red icon next to them in the solution explorer as so:

Red icons and such

  • 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-05-27T13:55:46+00:00Added an answer on May 27, 2026 at 1:55 pm

    The ui_MainForm.h file does not get updated automatically as soon as you change the MainForm.ui file.

    Only when you start to compile your project, the .ui file will be compiled into the .h file. If you want to update the .h file, e.g. for the sake of IntelliSense, you should be able to right click the .ui file and click “Compile”. This runs uic.exe and you will have your .h file updated by that.

    [Edit:]
    As pointed out by rcmadruga and Summer Sun, it is sometimes necessary to additionally update your IntelliSense database by selecting the menu entry Project->Rescan Solution which was introduced with Visual Studio 2010.

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

Sidebar

Related Questions

I've recently started working on various C# projects in Visual Studio as part of
I've just recently started working with Visual Studio this summer, primarily on CUDA and
We recently started working with XML files, after many years of experience with the
I've recently started working with RoR for some projects and I quite like the
I just recently started working with Qt 4.7.4 64-bit in order to make some
I’ve recently started working on a Win Forms application which needs some improving and
I've recently started working with JPA on the Google App Engine. In reading some
I recently started working on a large complex application, and I've just been assigned
I recently started working with MVC or MVC2 to be more exact. I found
I've only recently started working with asp.net and c#. Is there a standard practice

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.