Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Buildproblem [Netbeans + QT + MinGW]

Empfohlene Antworten

Veröffentlicht

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 von tinoo

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.