Results 1 to 2 of 2

Thread: MFC to Qt Migration install error

  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default MFC to Qt Migration install error

    I have Qt 4.4.3, qtwinmigratrion 2.8 opensource, MS Visual Studio 6.0 Standard (also another PC with MS VS 2008 Professional Trial ver. - with same error)
    I have already unpacked zip of qtwinmigratrion 2.8 opensource
    I have tried both configuration (configure.bat and configure.bat -library).
    I want to build component and examples
    According INSTALL.TXT:
    After qmake and nmake I have error:
    qmfcapp.h:77: error: base `QApplication' with only non-default constructor

    Qt Code:
    1. D:\MFCzdrojaky\qtwinmigrate-2.8-opensource\buildlib>nmake
    2.  
    3. Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    4. Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
    5.  
    6. NMAKE -f Makefile.Debug all
    7.  
    8. Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    9. Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
    10.  
    11. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_S
    12. UPPORT -D_AFXDLL -DQT_QTWINMIGRATE_EXPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -D
    13. QT_THREAD_SUPPORT -I"c:\Qt\4.4.3\include\QtCore" -I"c:\Qt\4.4.3\include\QtCore"
    14. -I"c:\Qt\4.4.3\include\QtGui" -I"c:\Qt\4.4.3\include\QtGui" -I"c:\Qt\4.4.3\inclu
    15. de" -I"..\src" -I"c:\Qt\4.4.3\include\ActiveQt" -I"debug" -I"." -I"c:\qt\4.4.3\m
    16. kspecs\win32-g++" -o debug\qwinwidget.o ..\src\qwinwidget.cpp
    17. In file included from ..\src\qwinwidget.cpp:57:
    18. ..\src\qmfcapp.h:77: error: base `QApplication' with only non-default constructo
    19. r in class without a constructor
    20. NMAKE : fatal error U1077: 'g++' : return code '0x1'
    21. Stop.
    22. NMAKE : fatal error U1077: '"C:\Program Files\VStudio\Common\Bin\NMAKE.EXE"' : r
    23. eturn code '0x2'
    24. Stop.
    To copy to clipboard, switch view to plain text mode 

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: MFC to Qt Migration install error

    You are compiling using GCC. Are you sure that this MFC-framework works together with GCC?
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  2. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  3. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19
  4. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

Tags for this Thread

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.