Results 1 to 2 of 2

Thread: QtGui/QApplication : No such file or directorty

  1. #1
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Exclamation QtGui/QApplication : No such file or directorty

    Hello
    I've downloaded this project https://github.com/owncloud/sync-qt and followed the steps mentioned below but when i compile i get this error QtGui/QApplication : No such file or directorty

    Any help please
    I'am using Qt creator 2.6.2
    based on Qt 5.0.1 (32 bit)
    My os is XP SP 2 and the creation and compilation of any created project is working well

    This is my compile Output:
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    12:12:18: Running steps for project sync_qt...
    12:12:18: Starting: "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" "C:\Documents and Settings\sliver\Desktop\sync-qt-master\sync-qt-master\sync_qt.pro" -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug" "DEFINES += OCS_USE_KWALLET"
    'getconf' is not recognized as an internal or external command,
    operable program or batch file.
    'getconf' is not recognized as an internal or external command,
    operable program or batch file.
    'getconf' is not recognized as an internal or external command,
    operable program or batch file.
    12:12:20: The process "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" exited normally.
    12:12:20: Starting: "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe"
    C:/Qt/Qt5.0.1/Tools/MinGW/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'C:/Documents and Settings/sliver/Desktop/sync-qt-master/sync_qt-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug'
    g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DOCS_USE_KWALLET -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NEEDS_QMAIN -I..\sync-qt-master -I"..\sync-qt-master\qwebdav" -I"\usr\include" -I"..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\in clu de" -I"..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\in clu de\QtSql" -I"..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\in clu de\QtXml" -I"..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\in clu de\QtNetwork" -I"..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\in clu de\QtGui" -I"..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\in clu de\QtCore" -I"debug" -I"." -I"..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\mk spe cs\win32-g++" -o debug\main.o ..\sync-qt-master\main.cpp
    ..\sync-qt-master\main.cpp:19:30: fatal error: QtGui/QApplication: No such file or directory
    compilation terminated.
    Makefile.Debug:693: recipe for target 'debug/main.o' failed
    mingw32-make[1]: *** [debug/main.o] Error 1
    mingw32-make[1]: Leaving directory 'C:/Documents and Settings/sliver/Desktop/sync-qt-master/sync_qt-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug'
    mingw32-make: *** [debug] Error 2
    makefile:34: recipe for target 'debug' failed
    12:12:20: The process "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project sync_qt (kit: Desktop Qt 5.0.1 MinGW 32bit)
    When executing step 'Make'
    compilation terminated.
    Last edited by sliverTwist; 25th February 2013 at 12:57. Reason: reformatted to look better
    Sliver_Twist

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QtGui/QApplication : No such file or directorty

    It is because the source code is probably for 4.8.X. So you have to port it to Qt5 which isn't such a big deal. See the documentation about it. There is also a script to fix the #include's.

  3. The following user says thank you to Lykurg for this useful post:

    sliverTwist (26th February 2013)

Similar Threads

  1. Loading a TabLib .a File into project
    By Atais in forum Newbie
    Replies: 6
    Last Post: 9th February 2011, 23:22
  2. Qt Creator - problem loading project
    By Ferric in forum Newbie
    Replies: 1
    Last Post: 7th January 2010, 23:25
  3. problems loading an image .jpg
    By maider in forum Qt Programming
    Replies: 3
    Last Post: 14th December 2009, 12:57
  4. Problems with loading ui files on windows
    By tyrdal in forum Qt Programming
    Replies: 2
    Last Post: 5th August 2009, 12:42
  5. Problems loading static plugins
    By Rodrigo in forum Qt Programming
    Replies: 2
    Last Post: 11th July 2007, 13:42

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.