Results 1 to 10 of 10

Thread: QT/Win 4.1.1 with VisualStudio2005 Newbie

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Location
    Irvine, CA
    Posts
    11
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QT/Win 4.1.1 with VisualStudio2005 Newbie

    I am a total newbie. Today I installed:

    Visual Studio 2005 Standard Edition
    Qt 4.1.1 (qt-win-commercial-4.1.1-vs2003)
    Visual Studio Integration (qt-vsintegration-1.1.1)

    Since the installation instructions on the Trolltech website started off saying to change the license filename to ".qt-license" (which makes no sense to me in a windows environment), I ignored all the installation notes and just let the installer wizards chun away.

    Things seemed to go pretty well. I found the path environment variables setup automatically even though I was supposed to manually set it, the license filename unchanged seems ok, etc.

    So I happily launched Visual Studio, and was greeted with lots of Qt help, and a nice introductory tutorial project called "addressbook". Yeay! Created the "addressbook" project as instructed. Yeay! But it does not compile. Rats! Output window shows the following:

    Moc'ing addressbook.h...
    Uic'ing addressbook.ui...
    Compiling...
    moc_addressbook.cpp
    c1xx : fatal error C1083: Cannot open source file: '.\GeneratedFiles\debug\moc_addressbook.cpp': No such file or directory
    main.cpp
    d:\workdirs\visualstudio\projects\addressbook\addr essbook\addressbook.h(5) : fatal error C1083: Cannot open include file: 'ui_addressbook.h': No such file or directory
    addressbook.cpp
    d:\workdirs\visualstudio\projects\addressbook\addr essbook\addressbook.h(5) : fatal error C1083: Cannot open include file: 'ui_addressbook.h': No such file or directory
    Generating Code...

    I attach the entire build log as a text file for more info. Any advice to a newbie trying to get started? Seems like "moc.exe" never generated "moc_addressbook.cpp'" for reasons I assume to be related to environment variables or directory settings.

    Steve
    Attached Files Attached Files

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.