Feedback: Working with Qt Applications - NetBeans IDE 6.8 Tutorial

  • From: "alexandrox" < >
  • To:
  • Subject: Feedback: Working with Qt Applications - NetBeans IDE 6.8 Tutorial
  • Date: Fri, 01 Feb 2013 11:29:45 -0500

Hello,

Is it really necessary tu use Qt 4.7 or 4.8? The link soldatov mentioned 
gives only the libraries for Qt 4.8 but there's no Qt/MinGW bundle anymore 
for this version.
 
In fact, there is for Qt 5. I installed this myself in Windows XP, and the 
MinGW works fine (I mean, when I compile old C++ projects, it works), but I 
can't manage to build the HelloForm application for Qt. 
When I try to build the project, it says that the file "ui_HelloForm.h" 
doesn´t exist. According to the tutorial, this should be fixed after the 
first build, but it doesn't.


Code:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk 
QMAKE=/D/Qt/Qt5.0.1/5.0.1/mingw47_32/bin/qmake.exe SUBPROJECTS= .clean-conf
make[1]: Entering directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'
/D/Qt/Qt5.0.1/5.0.1/mingw47_32/bin/qmake.exe VPATH=. -spec win32-g++ -o 
qttmp-Debug.mk nbproject/qt-Debug.pro
mv -f qttmp-Debug.mk nbproject/qt-Debug.mk
/usr/bin/make -f nbproject/qt-Debug.mk distclean
make[2]: Entering directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'
rm -f moc_HelloForm.cpp
rm -f build/Debug/Qt_MinGW-Windows/HelloForm.o 
build/Debug/Qt_MinGW-Windows/main.o 
build/Debug/Qt_MinGW-Windows/moc_HelloForm.o
rm -f build/Debug/Qt_MinGW-Windows/Hello_resource_res.o
rm -f dist/Debug/Qt_MinGW-Windows/Hello.exe
rm -f qttmp-Debug.mk
make[2]: Leaving directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'
make[1]: Leaving directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'


CLEAN SUCCESSFUL (total time: 563ms)

"/usr/bin/make" -f nbproject/Makefile-Debug.mk 
QMAKE=/D/Qt/Qt5.0.1/5.0.1/mingw47_32/bin/qmake.exe SUBPROJECTS= .build-conf
make[1]: Entering directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'
/D/Qt/Qt5.0.1/5.0.1/mingw47_32/bin/qmake.exe VPATH=. -spec win32-g++ -o 
qttmp-Debug.mk nbproject/qt-Debug.pro
mv -f qttmp-Debug.mk nbproject/qt-Debug.mk
"/usr/bin/make" -f nbproject/qt-Debug.mk dist/Debug/Qt_MinGW-Windows/Hello.exe
make[2]: Entering directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'
g++.exe -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra 
-fexceptions -mthreads -DUNICODE -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 
-DQT_OPENGL_ES_2_ANGLE -DQT_NEEDS_QMAIN -Inbproject 
-I'../../../../../Qt/Qt5.0.1/5.0.1/mingw47_32/include' 
-I'../../../../../Qt/Qt5.0.1/5.0.1/mingw47_32/include/QtGui' 
-I'../../../../../Qt/Qt5.0.1/5.0.1/mingw47_32/include/QtCore' -I'.' -I'.' 
-I'../../../../../Qt/Qt5.0.1/5.0.1/mingw47_32/mkspecs/win32-g++' -o 
build/Debug/Qt_MinGW-Windows/HelloForm.o HelloForm.cpp
In file included from HelloForm.cpp:8:0:
HelloForm.h:11:26: fatal error: ui_HelloForm.h: No such file or directory
compilation terminated.
make[2]: *** [build/Debug/Qt_MinGW-Windows/HelloForm.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'
make[1]: Leaving directory `/d/Documents and Settings/Alejandro/Mis 
documentos/NetBeansProjects/Hello'


BUILD FAILED (exit value 2, total time: 594ms)



Does anyone know what could be wrong?






Feedback: Working with Qt Applications - NetBeans IDE 6.8 Tutorial

alexandrox 02/01/2013

Feedback: Working with Qt Applications - NetBeans IDE 6.8 Tutorial

soldatov 02/01/2013

Feedback: Working with Qt Applications - NetBeans IDE 6.8 Tutorial

soldatov 02/01/2013

Feedback: Working with Qt Applications - NetBeans IDE 6.8 Tutorial

alexandrox 02/01/2013

Feedback: Working with Qt Applications - NetBeans IDE 6.8 Tutorial

soldatov 02/02/2013

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close