Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem using Qt Creator and Git
Qt 6.11 is out! See what's new in the release blog

Problem using Qt Creator and Git

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stvokr
    wrote on last edited by
    #1

    Hi all,

    since a few days we are using Git instead of SVN.
    I imported my project from SVN to Git.

    Compiling the project in the SVN repository works well, but in Git repository Qt Creator (jom.exe particular) has a problem (in German):

    jom: D:\Coding\git\Project\Makefile.Release [bin\Project.exe] Error 31
    jom: D:\Coding\git\Project\Makefile [release] Error 2
    15:52:28: Der Prozess "C:\Qt\Qt5.3.2\Tools\QtCreator\bin\jom.exe" wurde mit dem Rückgabewert 2 beendet.
    Fehler beim Erstellen/Deployment des Projekts Project (Kit: Qt 5.3 MSVC2010 OpenGL 32bit)
    Bei der Ausführung von Schritt "Make"

    The binary file is build but useless since it crashes when started.
    This occurs in 9 of 10 cases.

    But when I remove the ".git" folder and the project is no longer a git repository it's getting compiled correctly.
    The correct binary build has 1 kb more size.

    I have tried this on different PCs with Windows 7 32 Bit and 64 Bit.
    I am using Qt 4.8.1 and 5.3.2, Qt Creator 3.2.1 and VS Compiler 9.0 and 10.0, but the error remains.

    The only way out is removing the ".git" folder and it works.
    Does anyone have similar experiences or a solution for this problem?

    regards
    Oliver

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andrep
      wrote on last edited by
      #2

      Do you really build in the repository, or do you check out/clone from there?

      Can you build your project from the command line (without starting Creator?)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stvokr
        wrote on last edited by
        #3

        Yes, my fault, I have cloned it into a working copy and compiled it there.

        But I don't know how to compile it from the command line. How do I do this?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved