Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. qmake install detect fail
Forum Updated to NodeBB v4.3 + New Features

qmake install detect fail

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 901 Views 3 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.
  • VRoninV Offline
    VRoninV Offline
    VRonin
    wrote on last edited by VRonin
    #1

    Qt 5.10 x64 Win7 MSVC2013/MSVC2015
    I'm using qmake/nmake/nmake install to deploy a library that is a dependency using jenkins. The problem is that if copy fails (say the file is in use) the build will still be marked as successfull in jenkins. Do you have any idea how to force the failure if a file is not actually copied?

    Jenkis output:

    The process cannot access the file because it is being used by another process.
            0 file(s) copied.
    
    C:\MyProject>exit 0 
    Finished: SUCCESS
    

    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
    ~Napoleon Bonaparte

    On a crusade to banish setIndexWidget() from the holy land of Qt

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      How are you doing that part in Jenkins ? Running a script ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        Yes, just a straight simualtion of the cmd console

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        aha_1980A 1 Reply Last reply
        0
        • VRoninV VRonin

          Yes, just a straight simualtion of the cmd console

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @VRonin

          Just as idea: If you can't get the copy command give you successful failing information, how about checking the result aftewards? E.g. with exists.

          Qt has to stay free or it will die.

          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