Results 1 to 8 of 8

Thread: No .h or .cpp Files Generated

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: No .h or .cpp Files Generated

    Could you post main.cpp and .pro file?

  2. #2
    Join Date
    Apr 2007
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: No .h or .cpp Files Generated

    Here they are:

    #include <qapplication.h>
    #include "NTStoLatLong.h"

    int main( int argc, char ** argv )
    {
    QApplication a( argc, argv );
    calcLatLongdialog w;
    w.show();
    a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
    return a.exec();
    }



    TEMPLATE = app
    LANGUAGE = C++

    CONFIG += qt warn_on release

    SOURCES += main.cpp

    FORMS = NTStoLatLong.ui

    unix {
    UI_DIR = .ui
    MOC_DIR = .moc
    OBJECTS_DIR = .obj
    }

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: No .h or .cpp Files Generated

    Everything seems to be OK here.

    Are you sure that your widget is called "calcLatLongdialog"? Maybe it's "calcLatLongDialog"?

Similar Threads

  1. Problem converting .ui files from Qt3 to 4
    By Amanda in forum Qt Programming
    Replies: 6
    Last Post: 28th October 2006, 04:34
  2. Replies: 5
    Last Post: 22nd September 2006, 08:04
  3. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28
  4. uic not creating seperate .h and .cpp files
    By Kapil in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2006, 10:43
  5. Visual Studio 2003 and .vcproj files
    By mbjerkne in forum General Discussion
    Replies: 2
    Last Post: 1st February 2006, 00:51

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
  •  
Qt is a trademark of The Qt Company.