Building errors in Qt5



  • Hi, i have done my code before with success and then i changed windows after that i installed Q5 but when i run it i get the following error.
    Can anyone help me to fix it?
    Thanks in advance

    jom: D:\3\navi\navi-build-Desktop-Debug\Makefile.Debug [debug\NaviUI.o] Error 1
    jom: D:\3\navi\navi-build-Desktop-Debug\Makefile [debug] Error 2
    11:34:28: The process "C:\Qt\qtcreator-2.6.2\bin\jom.exe" exited with code 2.
    Error while building/deploying project navi (kit: Qt 4.8.4 (4.8.4))
    When executing step 'Make'


  • Moderators

    Nothing very informative in this output. Clean the build, run qmake and then build again.

    Are you sure you have installed Qt5, when the output clearly states your kit is for Qt 4.8.4?



  • Thanks for reply . i have installed Qt 5 with Qt libraries 4.8.4 for Windows (minGW 4.4, 317 MB) and qt-creator-windows-opensource-2.6.2. i have to say im really new in Qt. i have cleaned the build but how i can run qmake ?

    thanks if you help me to solve this problem


  • Moderators

    In Qt Creator, right click on your project, select "Run qmake" then "Build project".

    No need to install both Qt5 and Qt4 when you are new to Qt. Pick one.



  • i have to say that after cleaning i have run it through desktop but it is the same


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.