Results 1 to 3 of 3

Thread: Qt5

  1. #1
    Join Date
    Jul 2012
    Posts
    123
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt5

    Hi,
    I just downloaded Qt5 i have setup the compiler and so but when i try compile GUI app it don't work
    Qt Code:
    1. 19:05:50: Running steps for project untitled6...
    2. 19:05:50: Configuration unchanged, skipping qmake step.
    3. 19:05:50: Starting: "/usr/bin/make" -w
    4. make: Entering directory `/home/igor/untitled6-build-Desktop_Qt_5_0_0_GCC_64bit_SDK-Release'
    5. /home/igor/Qt5.0.0/5.0.0/gcc_64/bin/qmake -spec linux-g++-64 -o Makefile ../untitled6/untitled6.pro
    6. make: Leaving directory `/home/igor/untitled6-build-Desktop_Qt_5_0_0_GCC_64bit_SDK-Release'
    7. make: Entering directory `/home/igor/untitled6-build-Desktop_Qt_5_0_0_GCC_64bit_SDK-Release'
    8. /home/igor/Qt5.0.0/5.0.0/gcc_64/bin/uic ../untitled6/widget.ui -o ui_widget.h
    9. g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Qt5.0.0/5.0.0/gcc_64/mkspecs/linux-g++-64 -I../untitled6 -I../Qt5.0.0/5.0.0/gcc_64/include -I../Qt5.0.0/5.0.0/gcc_64/include/QtWidgets -I../Qt5.0.0/5.0.0/gcc_64/include/QtGui -I../Qt5.0.0/5.0.0/gcc_64/include/QtCore -I. -I. -I. -o main.o ../untitled6/main.cpp
    10. g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Qt5.0.0/5.0.0/gcc_64/mkspecs/linux-g++-64 -I../untitled6 -I../Qt5.0.0/5.0.0/gcc_64/include -I../Qt5.0.0/5.0.0/gcc_64/include/QtWidgets -I../Qt5.0.0/5.0.0/gcc_64/include/QtGui -I../Qt5.0.0/5.0.0/gcc_64/include/QtCore -I. -I. -I. -o widget.o ../untitled6/widget.cpp
    11. /home/igor/Qt5.0.0/5.0.0/gcc_64/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Qt5.0.0/5.0.0/gcc_64/mkspecs/linux-g++-64 -I../untitled6 -I../Qt5.0.0/5.0.0/gcc_64/include -I../Qt5.0.0/5.0.0/gcc_64/include/QtWidgets -I../Qt5.0.0/5.0.0/gcc_64/include/QtGui -I../Qt5.0.0/5.0.0/gcc_64/include/QtCore -I. -I. -I. ../untitled6/widget.h -o moc_widget.cpp
    12. g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Qt5.0.0/5.0.0/gcc_64/mkspecs/linux-g++-64 -I../untitled6 -I../Qt5.0.0/5.0.0/gcc_64/include -I../Qt5.0.0/5.0.0/gcc_64/include/QtWidgets -I../Qt5.0.0/5.0.0/gcc_64/include/QtGui -I../Qt5.0.0/5.0.0/gcc_64/include/QtCore -I. -I. -I. -o moc_widget.o moc_widget.cpp
    13. g++ -m64 -Wl,-O1 -Wl,-rpath,/home/igor/Qt5.0.0/5.0.0/gcc_64 -Wl,-rpath,/home/igor/Qt5.0.0/5.0.0/gcc_64/lib -o untitled6 main.o widget.o moc_widget.o -L/usr/X11R6/lib64 -L/home/igor/Qt5.0.0/5.0.0/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
    14. /usr/bin/ld: cannot find -lGL
    15. make: Leaving directory `/home/igor/untitled6-build-Desktop_Qt_5_0_0_GCC_64bit_SDK-Release'
    16. collect2: error: ld returned 1 exit status
    17. make: *** [untitled6] Error 1
    18. 19:05:52: The process "/usr/bin/make" exited with code 2.
    19. Error while building/deploying project untitled6 (kit: Desktop Qt 5.0.0 GCC 64bit (SDK))
    20. When executing step 'Make'
    To copy to clipboard, switch view to plain text mode 
    My system Linux 64-bit
    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5


  3. #3
    Join Date
    Jul 2012
    Posts
    123
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt5

    thanks i try it

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.