Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Visual Studio 2012 No Generated Files being Created
Forum Updated to NodeBB v4.3 + New Features

Visual Studio 2012 No Generated Files being Created

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 2.0k 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.
  • G Offline
    G Offline
    Grnbriar
    wrote on last edited by
    #1

    New installation for Visual Studio 2012.
    Downloaded 5.5.1 for msvc2012 and installed.
    Downloaded qt-vs-addin-1.2.5.exe and installed.
    The Qt5 Menu comes up in VS. Pointed Qt Options to the 5.5/msvc2012 folder and generated a test project.
    Will not compile. It cannot find a ui_projectname.h file.
    I see the file listed listed under Generated Files in the project list, but when I build neither that file or the moc_ or qrc_ files are built.
    Also, clicking on the project.ui file just says 'cannot start Designer'.

    What install hunk am I missing?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      It does sounds right, but also sounds like moc not being run.

      Can you check again this and see if u spot anything
      http://www.bogotobogo.com/Qt/Qt5_Visual_Studio_Add_in.php

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Grnbriar
        wrote on last edited by
        #3

        I saw I had loaded qt addin 1.2.5, so I uninstalled and loaded the 1.2.2 that you had listed. It still seems to not be able to find the bin, lib and include dirs.

        I had first installed the main download from the download page - this just gave me 5.6 and 5.7 for VS2015 only. First try to build gave me a 'incompatible version' error. So I found and downloaded the 32 bit 5.5.1 VS2012 version and pointed QT Options in VS to that folder. It is on an outside drive O:. I did not uninstall the 5.6 and 5.7 versions from the initial download.

        I just created a new project, but same result - can't find ui_ file (it doesn't get built) and I can't run the QTDesigner.
        But I can run Designer manually from the VS 2012 Tools folder.

        I am running on Windows 7 Pro 64bit. I have VS2005, 2008, 2010, 2012
        What should I try?

        Thanks

        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