Results 1 to 3 of 3

Thread: error while compiling qtbase with mingw32-make

  1. #1

    Default error while compiling qtbase with mingw32-make

    I am trying to compile qtbase from this repo - git://gitorious.org/qt/qtbase.git on win32 machine, with mingw provided with qt creator 2.3 installation (gcc 4.4) and I get the following errors:

    Qt Code:
    1. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:514: error: expected unqualifi
    2. ed-id before numeric constant
    3. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:515: error: expected unqualifi
    4. ed-id before numeric constant
    5. In file included from ..\..\include\QtCore/qtimer.h:1,
    6. from kernel\qt_gui_pch.h:80:
    7. ..\..\include\QtCore/../../src/corelib/kernel/qtimer.h:100: error: expected '}'
    8. at end of input
    9. In file included from ..\..\include\QtGui/qevent.h:1,
    10. from kernel\qt_gui_pch.h:74:
    11. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'const QPo
    12. int& QDropEvent::pos() const':
    13. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:489: error: 'p' was not declar
    14. ed in this scope
    15. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::Mouse
    16. Buttons QDropEvent::mouseButtons() const':
    17. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:490: error: 'mouseState' was n
    18. ot declared in this scope
    19. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::Keybo
    20. ardModifiers QDropEvent::keyboardModifiers() const':
    21. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:491: error: 'modState' was not
    22. declared in this scope
    23. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::DropA
    24. ctions QDropEvent::possibleActions() const':
    25. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:493: error: 'act' was not decl
    26. ared in this scope
    27. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::DropA
    28. ction QDropEvent::proposedAction() const':
    29. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:494: error: 'default_action' w
    30. as not declared in this scope
    31. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'void QDro
    32. pEvent::acceptProposedAction()':
    33. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:495: error: 'drop_action' was
    34. not declared in this scope
    35. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:495: error: 'default_action' w
    36. as not declared in this scope
    37. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::DropA
    38. ction QDropEvent::dropAction() const':
    39. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:497: error: 'drop_action' was
    40. not declared in this scope
    41. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'const QMi
    42. meData* QDropEvent::mimeData() const':
    43. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:501: error: 'mdata' was not de
    44. clared in this scope
    45. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: At global scope:
    46. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:509: error: expected unqualifi
    47. ed-id at end of input
    48. mingw32-make[2]: *** [tmp/obj/debug_shared/qt_gui_pch.h.gch/c++] Error 1
    49. mingw32-make[2]: Leaving directory `D:/oto/qtbase/src/gui'
    50. mingw32-make[1]: *** [debug-all] Error 2
    51. mingw32-make[1]: Leaving directory `D:/oto/qtbase/src/gui'
    52. mingw32-make: *** [sub-gui-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

  2. #2

    Default Re: error while compiling qtbase with mingw32-make

    with gcc 4.7 - http://pastie.org/2492067 -- same with 4.6.2 and 4.6.1

  3. #3

    Default Re: error while compiling qtbase with mingw32-make

    I needed to run configure with option -no-qt3support

Similar Threads

  1. mingw32-make[2]: *** [..\..\lib\QtCored4.dll] Error 1
    By jivanr in forum Installation and Deployment
    Replies: 5
    Last Post: 20th October 2012, 12:04
  2. Solution to qtbase (5.0) build error with mingw32-make
    By ottoshmidt in forum Installation and Deployment
    Replies: 0
    Last Post: 2nd September 2011, 22:07
  3. Replies: 3
    Last Post: 2nd March 2010, 17:52
  4. Error building MySQL pluggin on xp with mingw32-make
    By weziw in forum Installation and Deployment
    Replies: 4
    Last Post: 26th March 2008, 14:36
  5. mingw32-make : multiple target patterns error
    By tsemer in forum Installation and Deployment
    Replies: 2
    Last Post: 6th November 2007, 14: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.