Veröffentlicht 7. März 201015 j Hallo, wollte nun Netbeans inkl. QT einrichten, normale C++ Konsolenanwendungen klappen, in Verbindung mit QT aber leider nicht. Leider werde ich aus dem Errortext aber auch nicht richtig schlüssig. /bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf make[1]: Entering directory `/c/Users/Killutatis/Documents/NetBeansProjects/HelloQtWorld_1' /C/Qt/4.6.2/bin/qmake.exe VPATH=. -o qttmp-Debug.mk nbproject/qt-Debug.pro mv -f qttmp-Debug.mk nbproject/qt-Debug.mk /bin/make -f nbproject/qt-Debug.mk dist/Debug/MinGW-Windows/HelloQtWorld_1.exe make[2]: Entering directory `/c/Users/Killutatis/Documents/NetBeansProjects/HelloQtWorld_1' c:/Qt/4.6.2/bin/uic.exe HelloForm.ui -o ui_HelloForm.h g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'c:/Qt/4.6.2/include/QtCore' -I'c:/Qt/4.6.2/include/QtGui' -I'c:/Qt/4.6.2/include' -I'c:/Qt/4.6.2/include/ActiveQt' -I'.' -I'.' -I'nbproject' -I'.' -I'c:/Qt/4.6.2/mkspecs/default' -o build/Debug/MinGW-Windows/HelloForm.o HelloForm.cpp g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'c:/Qt/4.6.2/include/QtCore' -I'c:/Qt/4.6.2/include/QtGui' -I'c:/Qt/4.6.2/include' -I'c:/Qt/4.6.2/include/ActiveQt' -I'.' -I'.' -I'nbproject' -I'.' -I'c:/Qt/4.6.2/mkspecs/default' -o build/Debug/MinGW-Windows/newmain.o newmain.cpp C:/Qt/4.6.2/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'c:/Qt/4.6.2/include/QtCore' -I'c:/Qt/4.6.2/include/QtGui' -I'c:/Qt/4.6.2/include' -I'c:/Qt/4.6.2/include/ActiveQt' -I'.' -I'.' -I'nbproject' -I'.' -I'c:/Qt/4.6.2/mkspecs/default' -D__GNUC__ -DWIN32 HelloForm.h -o moc_HelloForm.cpp g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'c:/Qt/4.6.2/include/QtCore' -I'c:/Qt/4.6.2/include/QtGui' -I'c:/Qt/4.6.2/include' -I'c:/Qt/4.6.2/include/ActiveQt' -I'.' -I'.' -I'nbproject' -I'.' -I'c:/Qt/4.6.2/mkspecs/default' -o build/Debug/MinGW-Windows/moc_HelloForm.o moc_HelloForm.cpp windres -i HelloQtWorld_1_resource.rc -o build/Debug/MinGW-Windows/HelloQtWorld_1_resource_res.o --include-dir=. g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o dist/Debug/MinGW-Windows/HelloQtWorld_1.exe build/Debug/MinGW-Windows/HelloForm.o build/Debug/MinGW-Windows/newmain.o build/Debug/MinGW-Windows/moc_HelloForm.o -L'c:/Qt/4.6.2/lib' -lmingw32 -lqtmaind build/Debug/MinGW-Windows/HelloQtWorld_1_resource_res.o -lQtGuid4 -lQtCored4 c:/Qt/4.6.2/lib/libqtmaind.a(qtmain_win.o): In function `WinMain@16': C:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:93: undefined reference to `_Unwind_Resume' C:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:135: undefined reference to `_Unwind_Resume' c:/Qt/4.6.2/lib/libqtmaind.a(qtmain_win.o):C:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:482: undefined reference to `_Unwind_Resume' c:/Qt/4.6.2/lib/libqtmaind.a(qtmain_win.o):C:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:483: undefined reference to `_Unwind_Resume' c:/Qt/4.6.2/lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status make[2]: *** [dist/Debug/MinGW-Windows/HelloQtWorld_1.exe] Error 1 make[2]: Leaving directory `/c/Users/Killutatis/Documents/NetBeansProjects/HelloQtWorld_1' make[1]: *** [.build-conf] Error 2 make[1]: Leaving directory `/c/Users/Killutatis/Documents/NetBeansProjects/HelloQtWorld_1' make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 6s) In den Settings sind alle Pfäde zu qmake & Co richtig eingestellt. Fehler im Quelltest sind übrigens natürlich auch keine. Grüße, tinoo Bearbeitet 7. März 201015 j von tinoo
7. März 201015 j Hat sich nun erledigt. Nachdem ich alles noch einmal deinstaliert habe, die komplette QT SDK (Inkl. Creator & Designer) geladen so wie installiert habe, die Path Variablen hinzugefügt, danach erst Netbeans installiert. Nun funktioniert alles instant!
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.