Results 1 to 7 of 7

Thread: Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

  1. #1
    Join Date
    Feb 2006
    Location
    La Chorrera, Panamá
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X

    Default Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

    Hi. I have an eMac G4 which have OS X 10.2.8 in one partition and LFS 6 PPC in another. I want to install Qt/Mac 4.1 in OSX 10.2, according to trolltech Qt 4.1 have been tested in OSX 10.2.8 and later and is known to work in those versions of OSX. But now trying to install it I keep stumbling in errors during the ./configure or make (I have tried all known switches and always fails in one of those steps). And since I'm installing Qt/Mac to install KDE 3.5.1 and koffice 1.5b1 on my Mac, I wanted to ask.

    Is Qt/Mac 4.1 really installable/compilable on Jaguar?
    Is KDE 3.5.1/Koffice 1.5b1 compatible with Qt 4+?
    And if it isn't which Qt does KDE 3.5.1/Koffice 1.5b1 requires? can it be compiled in Jaguar?

    Note: I want to have cups support b/c my printer only works thorugh gimp-print (no OSX or Linux native drivers, only Windoze and OS9 native ones exist).
    "Some people says that if you play a Windows XP install CD backwards you will hear demon voices commanding you to worship Satan". But that's nothing. If you play it forward it will install Windows XP.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

    Quote Originally Posted by Ptero-4
    Is Qt/Mac 4.1 really installable/compilable on Jaguar?
    If it is mentioned as "supported" on Trolls' page, it is installable and compilable, otherwise it's a wild luck and patching. What errors are you getting?

    Is KDE 3.5.1/Koffice 1.5b1 compatible with Qt 4+?
    And if it isn't which Qt does KDE 3.5.1/Koffice 1.5b1 requires? can it be compiled in Jaguar?
    No. KDE 3 requires Qt3 (version 3.3 AFAIR).
    The full requirement list is here: http://www.kde.org/info/requirements/3.5.php

  3. #3
    Join Date
    Feb 2006
    Location
    La Chorrera, Panamá
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X

    Default Re: Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

    Since KDE/Koffice isn't compatible with Qt 4 I decided to go with Qt 3.3.5 but still have problems.
    I used this parameters in the ./configure script:
    Qt Code:
    1. [PirateBook:/Developer/qt] ptero_4% ./configure -qt-sql-sqlite -no-style-windows -cups -v -no-tablet
    To copy to clipboard, switch view to plain text mode 
    And the ./configure went well but then when I do make I got this:
    Qt Code:
    1. c++ -c -pipe -Wall -W -Os -fPIC -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -DQT_NO_DEBUG -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQMAC_ONE_PIXEL_LOCK -DQT_SQL_SQLITE -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/Developer/qt/mkspecs/macx-g++ -I. -I3rdparty/sqlite -I3rdparty/libpng -I3rdparty/dlcompat -I../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared/ -o .obj/release-shared/qpixmap_mac.o kernel/qpixmap_mac.cpp
    2. c++ -c -pipe -Wall -W -Os -fPIC -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -DQT_NO_DEBUG -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQMAC_ONE_PIXEL_LOCK -DQT_SQL_SQLITE -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/Developer/qt/mkspecs/macx-g++ -I. -I3rdparty/sqlite -I3rdparty/libpng -I3rdparty/dlcompat -I../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared/ -o .obj/release-shared/qprinter_mac.o kernel/qprinter_mac.cpp
    3. In file included from kernel/qprinter_mac.cpp:47:
    4. ../include/qmacstyle_mac.h:58: parse error before `{' token
    5. ../include/qmacstyle_mac.h:59: virtual outside class declaration
    6. ../include/qmacstyle_mac.h:59: non-member function `const char* className()'
    7. cannot have `const' method qualifier
    8. ../include/qmacstyle_mac.h:59: virtual outside class declaration
    9. ../include/qmacstyle_mac.h:59: virtual outside class declaration
    10. ../include/qmacstyle_mac.h:59: virtual outside class declaration
    11. ../include/qmacstyle_mac.h:59: virtual outside class declaration
    12. ../include/qmacstyle_mac.h: In function `QObject* qObject()':
    13. ../include/qmacstyle_mac.h:59: invalid use of `this' in non-member function
    14. ../include/qmacstyle_mac.h: At global scope:
    15. ../include/qmacstyle_mac.h:59: parse error before `private'
    16. ../include/qmacstyle_mac.h:62: destructors must be member functions
    17. ../include/qmacstyle_mac.h:62: virtual outside class declaration
    18. ../include/qmacstyle_mac.h:71: non-member function `void drawItem(QPainter*,
    19. const QRect&, int, const QColorGroup&, bool, const QPixmap*, const QString&,
    20. int, const QColor*)' cannot have `const' method qualifier
    21. ../include/qmacstyle_mac.h:73: `PrimitiveElement' was not declared in this
    22. scope
    23. ../include/qmacstyle_mac.h:73: parse error before `,' token
    24. ../include/qmacstyle_mac.h:78: non-member function `void drawPrimitive(...)'
    25. cannot have `const' method qualifier
    26. ../include/qmacstyle_mac.h:80: `ControlElement' was not declared in this scope
    27. ../include/qmacstyle_mac.h:80: parse error before `,' token
    28. ../include/qmacstyle_mac.h:86: non-member function `void drawControl(...)'
    29. cannot have `const' method qualifier
    30. ../include/qmacstyle_mac.h:88: `ComplexControl' was not declared in this scope
    31. ../include/qmacstyle_mac.h:88: parse error before `,' token
    32. ../include/qmacstyle_mac.h:96: non-member function `void
    33. drawComplexControl(...)' cannot have `const' method qualifier
    34. ../include/qmacstyle_mac.h:99: `PixelMetric' was not declared in this scope
    35. ../include/qmacstyle_mac.h:99: parse error before `,' token
    36. ../include/qmacstyle_mac.h:100: non-member function `int pixelMetric(...)'
    37. cannot have `const' method qualifier
    38. ../include/qmacstyle_mac.h:103: `ComplexControl' was not declared in this scope
    39. ../include/qmacstyle_mac.h:103: parse error before `,' token
    40. ../include/qmacstyle_mac.h:106: virtual outside class declaration
    41. ../include/qmacstyle_mac.h:106: non-member function `QRect
    42. querySubControlMetrics(...)' cannot have `const' method qualifier
    43. ../include/qmacstyle_mac.h:108: `SubRect' was not declared in this scope
    44. ../include/qmacstyle_mac.h:108: parse error before `*' token
    45. ../include/qmacstyle_mac.h:108: virtual outside class declaration
    46. ../include/qmacstyle_mac.h:108: non-member function `QRect subRect(...)' cannot
    47. have `const' method qualifier
    48. ../include/qmacstyle_mac.h:110: `ComplexControl' was not declared in this scope
    49. ../include/qmacstyle_mac.h:110: parse error before `,' token
    50. ../include/qmacstyle_mac.h:115: `StyleHint' was not declared in this scope
    51. ../include/qmacstyle_mac.h:115: parse error before `,' token
    52. ../include/qmacstyle_mac.h:116: virtual outside class declaration
    53. ../include/qmacstyle_mac.h:116: non-member function `int styleHint(...)' cannot
    54. have `const' method qualifier
    55. ../include/qmacstyle_mac.h:118: `ContentsType' was not declared in this scope
    56. ../include/qmacstyle_mac.h:118: parse error before `,' token
    57. ../include/qmacstyle_mac.h:121: non-member function `QSize
    58. sizeFromContents(...)' cannot have `const' method qualifier
    59. ../include/qmacstyle_mac.h:131: parse error before `protected'
    60. ../include/qmacstyle_mac.h:137: syntax error before `&' token
    61. ../include/qmacstyle_mac.h:59: warning: `bool qt_static_property(QObject*, int,
    62. int, QVariant*)' declared `static' but never defined
    63. ../include/qmacstyle_mac.h:59: warning: `QMetaObject* staticMetaObject()'
    64. declared `static' but never defined
    65. ../include/qmacstyle_mac.h:59: warning: `QString tr(const char*, const char*)'
    66. declared `static' but never defined
    67. ../include/qmacstyle_mac.h:59: warning: `QString trUtf8(const char*, const
    68. char*)' declared `static' but never defined
    69. ../include/qmacstyle_mac.h:124: warning: `void setFocusRectPolicy(QWidget*,
    70. FocusRectPolicy)' declared `static' but never defined
    71. ../include/qmacstyle_mac.h:125: warning: `FocusRectPolicy
    72. focusRectPolicy(QWidget*)' declared `static' but never defined
    73. ../include/qmacstyle_mac.h:128: warning: `void setWidgetSizePolicy(QWidget*,
    74. WidgetSizePolicy)' declared `static' but never defined
    75. ../include/qmacstyle_mac.h:129: warning: `WidgetSizePolicy
    76. widgetSizePolicy(QWidget*)' declared `static' but never defined
    77. make[2]: *** [.obj/release-shared/qprinter_mac.o] Error 1
    78. make[1]: *** [sub-src] Error 2
    79. make: *** [init] Error 2
    80. [PirateBook:/Developer/qt] ptero_4%
    To copy to clipboard, switch view to plain text mode 
    And that's how far I get.
    What I can do to make it build?
    "Some people says that if you play a Windows XP install CD backwards you will hear demon voices commanding you to worship Satan". But that's nothing. If you play it forward it will install Windows XP.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

    Maybe you should try a different compiler?

  5. #5
    Join Date
    Feb 2006
    Location
    La Chorrera, Panamá
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X

    Default Re: Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

    I'm using gcc 3.1 which is the one included in OSX 10.2.8
    "Some people says that if you play a Windows XP install CD backwards you will hear demon voices commanding you to worship Satan". But that's nothing. If you play it forward it will install Windows XP.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

    What happens if you don't provide any arguments to configure?

  7. #7
    Join Date
    Feb 2006
    Location
    La Chorrera, Panamá
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X

    Default Re: Qt 4.1 and KDE 3.5.1 on OSX 10.2.8

    ran configure without arguments. It goes well but make fails with this:
    Qt Code:
    1. c++ -c -pipe -Wall -W -Os -fPIC -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQMAC_ONE_PIXEL_LOCK -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/Developer/qt/mkspecs/macx-g++ -I. -I3rdparty/libpng -I3rdparty/dlcompat -I../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared/ -o .obj/release-shared/qsocket.o network/qsocket.cppc++ -c -pipe -Wall -W -Os -fPIC -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQMAC_ONE_PIXEL_LOCK -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/Developer/qt/mkspecs/macx-g++ -I. -I3rdparty/libpng -I3rdparty/dlcompat -I../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared/ -o .obj/release-shared/qsocketdevice.o network/qsocketdevice.cpp
    2. c++ -c -pipe -Wall -W -Os -fPIC -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQMAC_ONE_PIXEL_LOCK -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/Developer/qt/mkspecs/macx-g++ -I. -I3rdparty/libpng -I3rdparty/dlcompat -I../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared/ -o .obj/release-shared/qsocketdevice_unix.o network/qsocketdevice_unix.cpp
    3. network/qsocketdevice_unix.cpp:46: type specifier omitted for parameter `
    4. socklen_t'
    5. network/qsocketdevice_unix.cpp:46: parse error before `*' token
    6. network/qsocketdevice_unix.cpp: In function `int qt_socket_accept(...)':
    7. network/qsocketdevice_unix.cpp:47: `s' undeclared (first use this function)
    8. network/qsocketdevice_unix.cpp:47: (Each undeclared identifier is reported only once for each function it appears in.)
    9. network/qsocketdevice_unix.cpp:47: `addr' undeclared (first use this function)
    10. network/qsocketdevice_unix.cpp:47: `addrlen' undeclared (first use this
    11. function)
    12. network/qsocketdevice_unix.cpp: At global scope:
    13. network/qsocketdevice_unix.cpp:53: type specifier omitted for parameter `
    14. socklen_t'
    15. network/qsocketdevice_unix.cpp:53: parse error before `)' token
    16. network/qsocketdevice_unix.cpp:60: type specifier omitted for parameter `
    17. socklen_t'
    18. network/qsocketdevice_unix.cpp:60: parse error before `)' token
    19. network/qsocketdevice_unix.cpp: In member function `QSocketDevice::Protocol
    20. QSocketDevice::getProtocol() const':
    21. network/qsocketdevice_unix.cpp:129: `socklen_t' undeclared (first use this
    22. function)
    23. network/qsocketdevice_unix.cpp:129: parse error before `=' token
    24. network/qsocketdevice_unix.cpp:132: `sz' undeclared (first use this function)
    25. network/qsocketdevice_unix.cpp: In member function `int
    26. QSocketDevice::option(QSocketDevice::Option) const':
    27. network/qsocketdevice_unix.cpp:325: `socklen_t' undeclared (first use this
    28. function)
    29. network/qsocketdevice_unix.cpp:325: parse error before `;' token
    30. network/qsocketdevice_unix.cpp:326: `len' undeclared (first use this function)
    31. network/qsocketdevice_unix.cpp: In member function `virtual bool
    32. QSocketDevice::connect(const QHostAddress&, short unsigned int)':
    33. network/qsocketdevice_unix.cpp:412: `socklen_t' undeclared (first use this
    34. function)
    35. network/qsocketdevice_unix.cpp:412: parse error before `;' token
    36. network/qsocketdevice_unix.cpp:424: `aalen' undeclared (first use this
    37. function)
    38. network/qsocketdevice_unix.cpp: In member function `virtual int
    39. QSocketDevice::accept()':
    40. network/qsocketdevice_unix.cpp:598: `socklen_t' undeclared (first use this
    41. function)
    42. network/qsocketdevice_unix.cpp:598: parse error before `=' token
    43. network/qsocketdevice_unix.cpp:602: `l' undeclared (first use this function)
    44. network/qsocketdevice_unix.cpp: In member function `virtual Q_LONG
    45. QSocketDevice::readBlock(char*, long unsigned int)':
    46. network/qsocketdevice_unix.cpp:787: parse error before `;' token
    47. network/qsocketdevice_unix.cpp: In member function `virtual Q_LONG
    48. QSocketDevice::writeBlock(const char*, long unsigned int, const
    49. QHostAddress&, short unsigned int)':
    50. network/qsocketdevice_unix.cpp:970: `socklen_t' undeclared (first use this
    51. function)
    52. network/qsocketdevice_unix.cpp:970: parse error before `;' token
    53. network/qsocketdevice_unix.cpp:980: `slen' undeclared (first use this function)
    54. network/qsocketdevice_unix.cpp: In member function `void
    55. QSocketDevice::fetchConnectionParameters()':
    56. network/qsocketdevice_unix.cpp:1058: parse error before `;' token
    57. make[2]: *** [.obj/release-shared/qsocketdevice_unix.o] Error 1
    58. make[1]: *** [sub-src] Error 2
    59. make: *** [init] Error 2
    60. [PirateBook:/Developer/qt] ptero_4%
    To copy to clipboard, switch view to plain text mode 
    "Some people says that if you play a Windows XP install CD backwards you will hear demon voices commanding you to worship Satan". But that's nothing. If you play it forward it will install Windows XP.

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.