Skip to content

Instantly share code, notes, and snippets.

@shamun
Created July 7, 2011 18:39
Show Gist options
  • Save shamun/1070217 to your computer and use it in GitHub Desktop.
Save shamun/1070217 to your computer and use it in GitHub Desktop.
make: Entering directory `/home/sun/test1-build-desktop'
/usr/lib/qt4/bin/uic ../test1/mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I../test1 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -I../test1 -I. -o mainwindow.o ../test1/mainwindow.cpp
g++ -Wl,-O1 -o test1 main.o mainwindow.o moc_mainwindow.o -lQtGui -lQtCore -lpthread
mainwindow.o: In function `Ui_MainWindow::setupUi(QMainWindow*)':
make: Leaving directory `/home/sun/test1-build-desktop'
/home/sun/test1-build-desktop/./ui_mainwindow.h:43: undefined reference to `QWebView::QWebView(QWidget*)'
/home/sun/test1-build-desktop/./ui_mainwindow.h:46: undefined reference to `QWebView::setUrl(QUrl const&)'
collect2: ld returned 1 exit status
make: *** [test1] Error 1
The process "/usr/bin/make" exited with code 2.
Error while building project test1 (target: Desktop)
When executing build step 'Make'
Running build steps for project test1...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w
make: Entering directory `/home/sun/test1-build-desktop'
/usr/lib/qt4/bin/uic ../test1/mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I../test1 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -I../test1 -I. -o main.o ../test1/main.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I../test1 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -I../test1 -I. -o mainwindow.o ../test1/mainwindow.cpp
/usr/lib/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I../test1 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -I../test1 -I. ../test1/mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I../test1 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -I../test1 -I. -o moc_mainwindow.o moc_mainwindow.cpp
g++ -Wl,-O1 -o test1 main.o mainwindow.o moc_mainwindow.o -lQtGui -lQtCore -lpthread
mainwindow.o: In function `Ui_MainWindow::setupUi(QMainWindow*)':
make: Leaving directory `/home/sun/test1-build-desktop'
/home/sun/test1-build-desktop/./ui_mainwindow.h:43: undefined reference to `QWebView::QWebView(QWidget*)'
/home/sun/test1-build-desktop/./ui_mainwindow.h:46: undefined reference to `QWebView::setUrl(QUrl const&)'
collect2: ld returned 1 exit status
make: *** [test1] Error 1
The process "/usr/bin/make" exited with code 2.
Error while building project test1 (target: Desktop)
When executing build step 'Make'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment