Results 1 to 2 of 2

Thread: Build failed

  1. #1
    Join Date
    Oct 2014
    Posts
    71
    Thanks
    13
    Qt products
    Qt5
    Platforms
    Windows

    Question Build failed

    Hello,

    I have already running Qt code which is working Fine.
    When I copied the same code to my C drive and trying to run I am getting a problem
    Project MESSAGE: Warning: unknown QT: widgets
    Project MESSAGE: Warning: unknown QT: widgets
    Building helper(s) with toolchain 'Microsoft Visual C++ Compiler 10.0 (amd64)'...

    Building helper 'qmldump' in C:/SDK/Qt_471/qtc-qmldump/


    Running C:\SDK\Qt_471\bin\qmake.exe -spec default qmldump.pro -nocache ...
    Error running 'C:/SDK/Qt_471/bin/qmake.exe -spec default qmldump.pro -nocache' in C:/SDK/Qt_471/qtc-qmldump/: The process returned exit code 3:
    Could not find mkspecs for your QMAKESPEC(default) after trying:
    C:/SDK/Qt_471\mkspecs
    Error processing project file: qmldump.pro

    Build failed.
    My .Pro file
    Qt Code:
    1. ######################################################################
    2. # Automatically generated by qmake (2.01a) Wed Feb 5 14:33:17 2014
    3. ######################################################################
    4.  
    5. TEMPLATE = app
    6. TARGET = EMU6
    7. CONFIG += warn_off staticlib
    8. QT += widgets xml
    9.  
    10. LIBS += -L"C:\MyWork\EMU6\remote\ctrl\EMU6\EmuGen6Gui\bin" -lftd2xx
    11.  
    12. DEPENDPATH += . common debug code\include code\source
    13. INCLUDEPATH += .
    14.  
    15. # Input
    16. HEADERS += \
    17. code/include/emu6baseapp.h \
    18. code/include/emu6config.h \
    19. code/include/IEmu6Config.h \
    20. code/include/microcontroller.h \
    21. code/include/asic.h \
    22. code/include/can0.h \
    23. code/include/can1.h \
    24. code/include/customer.h \
    25. code/include/flexray.h \
    26. code/include/D2XXModule.h \
    27. code/include/emuglobaldefination.h \
    28. code/include/ui_logging.h
    29.  
    30. FORMS += \
    31. code/source/emu6config.ui
    32.  
    33. SOURCES += \
    34. code/source/main.cpp \
    35. code/source/emu6baseapp.cpp \
    36. code/source/emu6config.cpp \
    37. code/source/microcontroller.cpp \
    38. code/source/asic.cpp \
    39. code/source/can0.cpp \
    40. code/source/can1.cpp \
    41. code/source/customer.cpp \
    42. code/source/flexray.cpp \
    43. code/source/D2XXModule.cpp \
    44. code/source/ui_logging.cpp
    45. RESOURCES += \
    46. Res_images.qrc
    47.  
    48. OTHER_FILES += \
    49. Readme.txt
    To copy to clipboard, switch view to plain text mode 
    I am not getting why build is failed

  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: Build failed

    Looks like you are trying to build a Qt5 project with Qt4

    Cheers,
    _

Similar Threads

  1. Qt Creator Qt SDK, Remote Compiler "Build Failed: Errors in build"
    By strahlex in forum Qt Tools
    Replies: 0
    Last Post: 10th August 2011, 17:59
  2. Failed to build Qt 4.7.1 in a shadow build with feature tuning
    By myfifth in forum Installation and Deployment
    Replies: 0
    Last Post: 17th February 2011, 04:25
  3. failed to build;is it SP1 problem?
    By Masih in forum Installation and Deployment
    Replies: 14
    Last Post: 27th June 2010, 14:40
  4. Failed build of SDK 2009.3.1
    By jmansion in forum Installation and Deployment
    Replies: 2
    Last Post: 19th October 2009, 01:20
  5. QT 4.5.1 failed to build with gtk/gtk.h: No such file or directory
    By doggrant in forum Installation and Deployment
    Replies: 5
    Last Post: 28th August 2009, 16:55

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.