Results 1 to 5 of 5

Thread: Compiling custom Qt3 Widgets Gives warning in VC++6 Compiler

  1. #1
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Compiling custom Qt3 Widgets Gives warning in VC++6 Compiler

    I have attached the widgets that can be used for Database Operations

    Compiling it in linux Gave me no warning. But it is giving warnings when I tried to compile with VC++ 6 Compiler

    Could you please explain how to eliminate it.

    If useful you may use this in your applications. Or atleast use it for learning purpose
    Attached Files Attached Files
    We can't solve problems by using the same kind of thinking we used when we created them

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

    Default

    Last edited by jacek; 9th June 2006 at 13:24.

  3. #3
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compiling custom Qt3 Widgets Gives warning in VC++6 Compiler

    I thought one could compile the source attached

    These r the warning i get

    D:\Downloads\Qt\Widgets\Widgets\PopupListBox.h(85) : warning C4251: 'm_mapIndexToId' : class 'QMap<int,long>' needs to have dll-interface to be used by clients of class 'PopupListBox'
    D:\Downloads\Qt\Widgets\Widgets\PopupListBox.h(86) : warning C4251: 'm_mapIdToIndex' : class 'QMap<long,int>' needs to have dll-interface to be used by clients of class 'PopupListBox'
    We can't solve problems by using the same kind of thinking we used when we created them

  4. #4
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compiling custom Qt3 Widgets Gives warning in VC++6 Compiler

    Hi Jacek,

    I am getting warning and not errors
    We can't solve problems by using the same kind of thinking we used when we created them

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

    Default Re: Compiling custom Qt3 Widgets Gives warning in VC++6 Compiler

    Quote Originally Posted by sunil.thaha
    I thought one could compile the source attached
    The more work your question requires, the less people will bother to look into it. You can see those warnings without any additional work, while others must download, uncompress and compile your sources (not mentioning booting the windows).

    First link from Google:
    http://www.unknownroad.com/rtfm/Visu...ningC4251.html

Similar Threads

  1. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 06:23
  2. container populated with custom widgets
    By momesana in forum Qt Programming
    Replies: 2
    Last Post: 16th April 2006, 22:02
  3. custom widgets as plugins
    By cwalsh in forum Qt Programming
    Replies: 7
    Last Post: 22nd February 2006, 23:02
  4. warning message on compile not understood
    By impeteperry in forum Qt Programming
    Replies: 13
    Last Post: 24th January 2006, 00:36

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.