Results 1 to 6 of 6

Thread: ui_....h issue

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default ui_....h issue

    Hi,

    I've started a new Qt library project in Visual Studio 2005 and Qt 4.3.2.
    I've create a new solution with a Qt library template, created a Qt Gui class and put the macro for exporting the class I want to expose to the win32 world. I'm getting a .lib with my dll and everything's cool in that respect.

    I also created a tester gui application to test out my dll's ui controls.
    The dll exports 'ProcessDesigner' which is defined in 'processdesigner.h'.
    As soon as I #include this header in my tester application, I get the following error 3 times:
    Error 1 fatal error C1083: Cannot open include file: 'ui_processdesigner.h': No such file or directory D:\SourceRepository\Imaging Tools\ImagingSystemTools\ProcessDesigner\processde signer.h 7
    Given that the ui_ file is auto generated and linked into the dll, why is the gui application running a muck?

    I've used this structure a few times, but it was a while ago now, so my memory on things might be lacking a little.

    I've attached the solution for your examination.

    Thanks
    Attached Files Attached Files
    Last edited by jacek; 15th November 2007 at 13:29. Reason: changed [code] to [quote]

Similar Threads

  1. Qt layout issue
    By bunjee in forum Qt Programming
    Replies: 6
    Last Post: 15th August 2007, 19:43
  2. QSocketNotifier Issue
    By TheGrimace in forum Qt Programming
    Replies: 6
    Last Post: 18th July 2007, 21:29
  3. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 02:59
  4. Database access issue
    By Gayathri in forum Newbie
    Replies: 3
    Last Post: 23rd November 2006, 07:41
  5. Replies: 5
    Last Post: 22nd September 2006, 08:04

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.