Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0 RC 1
-
None
-
Ubuntu x64
Installer: 363
-
2dc6ad8adf7f98d55aca5def8ee3f9c12934fb7b
Description
Trying to run the Affine Transformations demo from the QtCreator Examples page gives a Linker error for the demo_shared library
/home/holger/Betas/Qt5.0.0-rc1/5.0.0-rc1/gcc_64/bin/moc -DQT_OPENGL_SUPPORT -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/linux-g++-64 -I../affine -I../shared -I../../../../include -I../../../../include/QtOpenGL -I../../../../include/QtWidgets -I../../../../include/QtGui -I../../../../include/QtCore -I. -I. ../affine/xform.h -o moc_xform.cpp
g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -fPIE -DQT_OPENGL_SUPPORT -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/linux-g++-64 -I../affine -I../shared -I../../../../include -I../../../../include/QtOpenGL -I../../../../include/QtWidgets -I../../../../include/QtGui -I../../../../include/QtCore -I. -I. -o moc_xform.o moc_xform.cpp
g++ -m64 -Wl,-rpath,/home/holger/Betas/Qt5.0.0-rc1/5.0.0-rc1/gcc_64 -Wl,-rpath,/home/holger/Betas/Qt5.0.0-rc1/5.0.0-rc1/gcc_64/lib -o affine main.o xform.o qrc_affine.o moc_xform.o -L../shared -L/usr/X11R6/lib64 -ldemo_shared -L/home/holger/Betas/Qt5.0.0-rc1/5.0.0-rc1/gcc_64/lib -lQt5OpenGL -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
/usr/bin/ld: cannot find -ldemo_shared
make: Leaving directory `/home/holger/Betas/Qt5.0.0-rc1/5.0.0-rc1/gcc_64/examples/widgets/painting/affine-build-Desktop_Qt_5_0_0_rc1_GCC_64bit_SDK-Debug'
collect2: ld returned 1 exit status
make: *** [affine] Error 1
10:42:22: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project affine (kit: Desktop Qt 5.0.0-rc1 GCC 64bit (SDK))
Attachments
Issue Links
- relates to
-
QTBUG-28656 Deform, Affine and other demos don't work out of the box when loaded in Creator
- Closed