title: using Qt designer in visual studio?
body: <p>I'm using visual studio 2010, Qt add-in etc all ok, then create new project using Qt add-in... when doubleclicking *.ui (the actual form) file in VS it opens Qtdesigner, then I put some controls on, but that does not change my code at all :/</p>
  
  <p>Qt form is changed it contains those controls but source files are the same as before even after building my project.</p>
  
  <p>I'm I missing something?
  I think Qtdesinger shoult put some code for objects which I created using Qtdesigner.</p>
  
  <p>cos without that we must write all the code as if there were no Qtdesigner so Qtdesinger is useles in Visual studio, the same thing we could just do by hand-coding a form interface.
  thanks alot.</p>
  
  <p>EDIT:</p>
  
  <p>OK
  I've copied this from Qt site:</p>
  
  <blockquote>
    <p>You are referencing objects from a .ui file...</p>
    
    <p>The Visual Studio code model parser only parses C++ sources, meaning
    that widgets or objects defined in .ui files will not be accessible.
    To workaround the problem, the Qt Visual Studio Add-in automatically
    generates C++ code from the .ui file by saving the file and running
    uic on it. This step is done everytime the project is built. If the
    code completion does not work, try to rebuild the project. It is
    possible that you have to wait some time, before code completion fully
    works after updating an .ui file. For more information, you can refer
    to the Modifying Project Properties section. It still does not work...</p>
    
    <p>You should refresh the code model, Intellisense. This is done by
    opening the solution explorer, invoking the context menu of the
    project and activating the item Update Intellisense.</p>
  </blockquote>
  
  <p>now it looks that I'm having such problems but this does not help at all, update intelisece. I can't see such option in visual studio, 
  it looks my visual studio add-in isn't working.</p>
  
  <p>it says "You should refresh the code model" Woot? can someone explain me how to do that please.</p>
  
  <p>here are some output warnings when building my project:</p>
  
  <blockquote>
    <p>Warning   1   warning : No resources in 'C:\Users\Admin\documents\visual
    studio
    2010\Projects\VisualStudio\test\test.qrc'.    C:\Users\Admin\documents\visual
    studio 2010\Projects\VisualStudio\test\RCC Warning    2   warning LNK4099:
    PDB 'vc100.pdb' was not found with 'qtmaind.lib(qtmain_win.obj)' or at
    'C:\Users\Admin\documents\visual studio
    2010\Projects\VisualStudio\vc100.pdb'; linking object as if no debug
    info  C:\Users\Admin\documents\visual studio
    2010\Projects\VisualStudio\test\qtmaind.lib(qtmain_win.obj)</p>
  </blockquote>