Results 1 to 2 of 2

Thread: C++ Compiling Errors when use Visual Studio 6.0

  1. #1
    Join Date
    Jun 2007
    Posts
    18
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default C++ Compiling Errors when use Visual Studio 6.0

    Hi All,

    I got some C++ source and headers files from client.

    I created a GUI application using .NET 2003 and Qt. I have included those files and built the application successfully. And also I can run the application successfully.

    I created a new project/workspace of type MFC exe (or Win32 Application). And added the same files as in the .NET 2003. When I compile this application, then it is showing the errors like ,

    error C2248: 'numericId' : cannot access private member declared in class 'VariableNameT'
    see declaration of 'numericId'

    I am getting 100's of errors from different classes.

    Can anybody help me in solving this problem?
    I am suspecting that, do I need to do some change in settings / properties to application in VS 6.0.

    Thanks,
    Segu Prasad

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: C++ Compiling Errors when use Visual Studio 6.0

    Quote Originally Posted by seguprasad View Post
    error C2248: 'numericId' : cannot access private member declared in class 'VariableNameT'
    see declaration of 'numericId'
    Well, what does the declaration of 'VariableNameT' of look like? Presumably 'numericId' is private and you try to access it outside. Even if it compiles with another MS compiler doesn't mean the code is correct...
    J-P Nurmi

Similar Threads

  1. Qt 4.4.1 Compile Error with MS Visual C++ 2008 Express SP1
    By BrainB0ne in forum Installation and Deployment
    Replies: 3
    Last Post: 19th August 2008, 15:49
  2. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  3. Compiling Qt with Visual Studio
    By circle in forum Newbie
    Replies: 4
    Last Post: 14th April 2008, 17:04
  4. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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.