hallo,
das compilieren von qt-win-opensource-src-4.0.1 mit installierten patch acs4qt401.zip hat bei mir problemlos funktioniert - aber es gibt probleme bei der darstellung, z.B. im assistant. die buchstaben erscheinen durchgestrichen bzw. seitenverkehrt (woerter in spiegelschrift) -> siehe attachment.
technische daten:
os: winxp mit sp2 + empfohlene sicherheitspatche
compiler: Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
compileroptionen: E:\qt4borland\bin>qconfigure.bat borland -no-style-windowsxp
-no-style-windowsxp war erforderlich, da sonst fehler zum compilerabbruch fuehren:
Loaded pre-compiled headers.
Warning W8073 E:/qt4borland/include\QtCore/../../src/corelib/tools/qshareddata.h 70: Undefined structure 'QTextFormatPri
vate' in function QSharedDataPointer<QTextFormatPrivate>::~QSharedDataPointer()
Warning W8073 E:/qt4borland/include\QtCore/../../src/corelib/tools/qshareddata.h 70: Undefined structure 'QTextCursorPri
vate' in function QSharedDataPointer<QTextCursorPrivate>::~QSharedDataPointer()
text\qtextlist.cpp:
Loaded pre-compiled headers.
Warning W8073 E:/qt4borland/include\QtCore/../../src/corelib/tools/qshareddata.h 70: Undefined structure 'QTextFormatPri
vate' in function QSharedDataPointer<QTextFormatPrivate>::~QSharedDataPointer()
text\qfont_win.cpp:
Loaded pre-compiled headers.
text\qfontengine_win.cpp:
Loaded pre-compiled headers.
styles\qstyle.cpp:
Loaded pre-compiled headers.
....
Loaded pre-compiled headers.
styles\qwindowsxpstyle.cpp:
Loaded pre-compiled headers.
Error E2209 styles\qwindowsxpstyle.cpp 64: Unable to open include file 'uxtheme.h'
Error E2209 styles\qwindowsxpstyle.cpp 65: Unable to open include file 'tmschema.h'
Error E2147 styles\qwindowsxpstyle.cpp 152: 'HTHEME' cannot start a parameter declaration
Error E2257 styles\qwindowsxpstyle.cpp 153: , expected
Error E2303 styles\qwindowsxpstyle.cpp 165: Type name expected
Error E2303 styles\qwindowsxpstyle.cpp 166: Type name expected
Error E2141 styles\qwindowsxpstyle.cpp 177: Declaration syntax error
Error E2141 styles\qwindowsxpstyle.cpp 188: Declaration syntax error
Error E2141 styles\qwindowsxpstyle.cpp 189: Declaration syntax error
Error E2268 styles\qwindowsxpstyle.cpp 378: Call to undefined function 'pOpenThemeData' in function XPThemeData::handle(
)
Error E2451 styles\qwindowsxpstyle.cpp 524: Undefined symbol 'TABP_BODY' in function QWindowsXPStylePrivate::tabBody(QWi
dget *)
Error E2451 styles\qwindowsxpstyle.cpp 525: Undefined symbol 'TS_TRUE' in function QWindowsXPStylePrivate::tabBody(QWidg
et *)
meine frage an die experten: handelt es sich um einen bug (wenn ja, wie kann ich ihn umgehen?) oder falsche/fehlerhafte compiler optionen?
73,
andy.
qt-4.0.1/win: comp. mit bcc32 ok, aber darstellungsprobl.
qt-4.0.1/win: comp. mit bcc32 ok, aber darstellungsprobl.
- Dateianhänge
-
- bug_qt_assistant.jpg (115.32 KiB) 3901 mal betrachtet
-
- Beiträge: 1379
- Registriert: 6. November 2004 12:03
- Kontaktdaten:
-
- Beiträge: 1379
- Registriert: 6. November 2004 12:03
- Kontaktdaten:
Mit dem bcc32 5.6.4 kompiliert funktioniert das wie es soll. Aber der bcc 5.5.x macht irgendwas falsch. Auch im Debug-Modus (also ohne Optimierung) sind die Schriften im bcc32 5.5.x falsch.
Im Fazit würde ich sagen: bcc32 5.5.x wird nicht vom acs4qt401 Patch untersützt, auch wenn er kompiliert, aber eben falsch kompiliert.
Der bcc32 5.6.4 kompiliert übrigens auch etwas schneller und erzeugt schnelleren Code als der bcc32 5.5.1 (merkt man vor allem am moc) und man kann ihn über den C++BuilderX Personal bekommen.
Beim C++BuilderX ist übrigens ein Fehler in der uxthemes.h. Die hat Borland einfach aus dem Win32SDK kopiert ohne die beiden Syntax-Bugs, die der msvc einfach schluggt, zu beheben (typedef enum TAG {};", das typedef muss weg).
Im Fazit würde ich sagen: bcc32 5.5.x wird nicht vom acs4qt401 Patch untersützt, auch wenn er kompiliert, aber eben falsch kompiliert.
Der bcc32 5.6.4 kompiliert übrigens auch etwas schneller und erzeugt schnelleren Code als der bcc32 5.5.1 (merkt man vor allem am moc) und man kann ihn über den C++BuilderX Personal bekommen.
Beim C++BuilderX ist übrigens ein Fehler in der uxthemes.h. Die hat Borland einfach aus dem Win32SDK kopiert ohne die beiden Syntax-Bugs, die der msvc einfach schluggt, zu beheben (typedef enum TAG {};", das typedef muss weg).
Andreas