Fehler bei Qt4 Installation - configure.exe



  • Hallo,
    ich hatte irgendwann Anfang Oktober schon einmal Qt in Dev-C++ nach der Anleitung von Mosta(unter Artikel) eingebunden und es hatte nach etwas hin und her dann auch funktionert. Dann hatte ich Qt einige Zeit nicht benutzt und bei einer Aufräumaktion versehentlich MinGW gelöscht.
    Daraufhin wollte ich Qt komplett neu installieren. Doch auch nach mehrmaligem neuinstallieren bricht die configure.exe immer nach etwa 10 min mit folgender Fehlermedlung ab:

    mingw32-make[2]: *** [tmp/obj/debug_shared/qtmain_win.o] Error 1
    mingw32-make[2]: Leaving directory C:/Programme/Qt/src/winmain' mingw32-make[1]: *** [debug] Error 2 mingw32-make[1]: Leaving directoryC:/Programme/Qt/src/winmain'
    mingw32-make: *** [debug-C__Programme_Qt_src_winmain] Error 2

    Die PATH Eintgräge, etc. müssten eigentlich alle stimmen.

    Wäre schöne, wenn mir da jemand helfen könnte, da ich nicht so viel Ahnung von der Materie habe!



  • du koenntest die fehlermeldung posten.



  • hellihjb schrieb:

    du koenntest die fehlermeldung posten.

    Ok. Der Fehlermeldungen enstehen wohl beim Kompilieren der Qt-Dateien. Das Lesen funktioniert also. Einen Ausschnitt der Meldungen habe ich angehängt.



  • Einen Ausschnitt der Meldungen habe ich angehängt

    nein, hast du nicht. die meldung besagt lediglich, dass ein fehler aufgetreten ist, die tatsaechliche fehlermeldung findest du irgendwo weiter oben.



  • Ich wollte das ja schon längst gepostet haben. Aber das Forum wollte nicht. Ich hoffe das funktioniert jetzt irgendwann mal. Habe mich jetzt extra registriert.

    Also hier die extrem gekürzte Errorliste.

    ../../include/QtCore/../../src/corelib/tools/qvector.h:729: error: insert' is n ot a type ../../include/QtCore/../../src/corelib/tools/qvector.h:729: error: request for m ember of non-aggregate type before '(' token ../../include/QtCore/../../src/corelib/tools/qvector.h: In member functionbool
    QMutableVectorIterator<T>::findNext(const T&)':
    ../../include/QtCore/../../src/corelib/tools/qvector.h:729: error: constEnd' ha s not been declared ../../include/QtCore/../../src/corelib/tools/qvector.h:729: error: request for m ember of non-aggregate type before '(' token ../../include/QtCore/../../src/corelib/tools/qvector.h:729: error:n' undeclare
    d (first use this function)
    ../../include/QtCore/../../src/corelib/tools/qvector.h:729: error: `i' undeclare
    d (first use this function)



  • vieleicht ist das folgende etwas hilfreicher.
    also die fehler entstehen nicht im conigure-teil, sonder wenn ich mingw32-make aufrufe.
    dann rattert er eine riesen liste von errors in .h und .tcc dateien herunter und am ende davon steht das folgende:

    qtmain_win.cpp: At global scope:
    qtmain_win.cpp:55: error: type/value mismatch at argument 1 in template parameter list for template<int <anonymous> > class QVector' qtmain_win.cpp:55: error: expected a constant of type \int', got `char*'
    qtmain_win.cpp:55: error: ISO C++ forbids declaration of parameter' with no type qtmain_win.cpp: In functionint WinMain(void*, void*, CHAR*, int)':
    qtmain_win.cpp:91: error: type/value mismatch at argument 1 in template parameter list for template<int <anonymous> > class QVector' qtmain_win.cpp:91: error: expected a constant of type \int', got `char*'
    qtmain_win.cpp:91: error: invalid type in declaration before '(' token
    qtmain_win.cpp:118: error: data' has not been declared qtmain_win.cpp:118: error: request for member of non-aggregate type before '(' token c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic\_string.h: In destructorstd::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with int <anonymous> =
    wchar_t, int <anonymous> = std::char_traits<wchar_t>, int <anonymous> = std::allocator<wchar_t>]':
    ../../include/QtCore/../../src/corelib/tools/qstring.h:974: instantiated from here
    c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.h:414: error: \_M_rep' undeclared (first use this function) c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic\_string.h:414: error: 'struct std::basic\_string<wchar\_t, std::char\_traits<wchar\_t>, std::allocator<wchar\_t> >' has no member named 'get_allocator' c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic\_string.h: In member functionint std::basic_string<_CharT, _Traits, _Alloc>::begin() [with int <anonymous> =
    wchar_t, int <anonymous> = std::char_traits<wchar_t>, int <anonymous> = std::allocator<wchar_t>]':
    ../../include/QtCore/../../src/corelib/tools/qstring.h:983: instantiated from here
    c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.h:461: error: \_M_data' undeclared (first use this function) c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic\_string.h: In member functionvoid std::basic_string<_CharT, _Traits, _Alloc>::_M_leak() [with int <anonymous
    > = wchar_t, int <anonymous> = std::char_traits<wchar_t>, int <anonymous> = std::allocator<wchar_t>]':
    c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.h:460: instantiated from int std::basic\_string<\_CharT, \_Traits, _Alloc>::begin() [with int <anonymo us> = wchar\_t, int <anonymous> = std::char\_traits<wchar\_t>, int <anonymous> = std::allocator<wchar\_t>]' ../../include/QtCore/../../src/corelib/tools/qstring.h:983: instantiated from here c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic\_string.h:278: error:_M_rep' undeclared (first use this function)
    c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.h: At global scope:
    c:/programme/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.h:343: warning: inline function std::basic\_string<\_CharT, \_Traits, \_Alloc>::basic\_string() [with int <anonymous> = wchar\_t, int <anonymous> = std::char\_traits<wchar\_t>, int <anonymous> = std::allocator<wchar\_t>]' used but never defined mingw32-make[2]: *** [tmp/obj/debug\_shared/qtmain\_win.o] Error 1 mingw32-make[2]: Leaving directoryC:/Programme/Qt/src/winmain'
    mingw32-make[1]: *** [debug-all] Error 2
    mingw32-make[1]: Leaving directory `C:/Programme/Qt/src/winmain'
    mingw32-make: *** [sub-winmain-make_default-ordered] Error 2


Anmelden zum Antworten