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. /bin/sh: 1: Syntax error: "(" unexpected - now what ?

/bin/sh: 1: Syntax error: "(" unexpected - now what ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 1.3k Views
  • 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by Anonymous_Banned275
    #1

    My project run / executed YESTERDAY as expected .
    TODAY - after power down and fresh power up I get this error.

    WHY and how DO I FIX SOMETHING i did not CONTRIBUTED TO?

    WHAT created this "syntax" error in Makefile I have no control ower at this point?

    WHY
    ( enter your answer here )

    HOW
    ( enter your answer here )

    WHAT
    ( enter your answer here )

    12:08:50: Running steps for project btscanner...
    12:08:50: Configuration unchanged, skipping qmake step.
    12:08:50: Starting: "/usr/bin/make" -j
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic /media/z/DOC_COPY_LABEL/Projects\ /QT_Repository\ (copy)/examples/bluetooth/btscanner/device.ui -o .uic/ui_device.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic /media/z/DOC_COPY_LABEL/Projects\ /QT_Repository\ (copy)/examples/bluetooth/btscanner/service.ui -o .uic/ui_service.h
    Makefile:328: recipe for target '.uic/ui_device.h' failed
    Makefile:331: recipe for target '.uic/ui_service.h' failed
    /bin/sh: 1: Syntax error: "(" unexpected
    make: *** [.uic/ui_device.h] Error 2
    make: *** Waiting for unfinished jobs....
    /bin/sh: 1: Syntax error: "(" unexpected
    make: *** [.uic/ui_service.h] Error 2
    12:08:50: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project btscanner (kit: Desktop)
    When executing step "Make"
    12:08:50: Elapsed time: 00:00.

    Addendum
    Here is SAME problem in another project - unexpected '(" !!!!

    d2d0ffe9-6410-4284-97cd-b5d80f1f95c0-image.png

    How do I access Makefile where the "error" is detected ?

    Answer
    You can access project Makefile here .......

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

      Hi
      WHY
      it seems the auto generated file ui_device.h has some error

      HOW
      Did you change the UI file in Designer ?

      WHAT
      Go to
      alt text
      then RIGHT click on build folder path
      alt text
      Goto folder
      Then press ctrl +a to select all
      then press delete to clean whole build folder.
      leave no files left

      Then go to
      alt text

      and see if error still persists.

      1 Reply Last reply
      2
      • mranger90M Offline
        mranger90M Offline
        mranger90
        wrote on last edited by
        #3

        I'm guessing that it objects to the "(copy)" in the path.

        JonBJ 1 Reply Last reply
        1
        • mranger90M mranger90

          I'm guessing that it objects to the "(copy)" in the path.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @mranger90
          If that is the issue, there is also a space in /Projects / which might cause a problem. But it might be something else.

          1 Reply Last reply
          1

          • Login

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