Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 2.6.2, Visual Studio 2010 Add in 1.2.0 collision

QtCreator 2.6.2, Visual Studio 2010 Add in 1.2.0 collision

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.4k 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.
  • P Offline
    P Offline
    pmaynard
    wrote on last edited by
    #1

    Using QtCreator, I add a Qt Designer Form Class (say histogram, with histogram.h and histogram.cpp), add code to either .show() or .exec() it, and all works well from QtCreator. When I go to VS2010 with the 1.2.0 "add-in", it says it can't open include file "ui_histogram.h". I've tried from qtcreator running qmake and rebuild all, but no joy. The only work around I've found is to delete all the VS2010 stuff from my project (including .vxproj and .sln files and sub-directories) and reloading the project from scratch in VS2010 using the .pro file. Now it miraculously finds the "ui_histogram.h" file.

    I've had to do this everytime I added a popup dialog. There must be a better way, or is this a bug?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      It is not a bug, it is how qmake works: It has a cross-platform definition of he project (the .pro-file) and creates build system files from that (e.g. Makefiles or visual studio project files).

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