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. Please suggest where to start...
Qt 6.11 is out! See what's new in the release blog

Please suggest where to start...

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

    I am no expert troubleshooting "make'
    any help would be greatly appreciated.

    mainwindow.cpp
    /bin/sh: 1: Syntax error: "(" unexpected
    make[1]: *** [Makefile:1062: main.o] Error 2
    make[1]: *** Waiting for unfinished jobs....
    /bin/sh: 1: Syntax error: "(" unexpected
    make[1]: Leaving directory '/media/qe/TSET_QT_LABEL/QT_6/QT6_PRO/CAT/build-SUB_PRO-Desktop_Qt_6_1_0_GCC_64bit-Debug/MAIN_MDI'
    make[1]: *** [Makefile:1197: mainwindow.o] Error 2
    make: *** [Makefile:47: sub-MAIN_MDI-make_first] Error 2
    19:27:36: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project SUB_PRO (kit: Replacement for "Desktop Qt 6.1.0 GCC 64bit")
    When executing step "Make"
    19:27:36: Elapsed time: 00:01.
    
    VRoninV 1 Reply Last reply
    0
    • VRoninV VRonin

      @AnneRanch said in Please suggest where to start...:

      Syntax error: "(" unexpected

      Looks like you have a misplaced ( in your code. If you post the contents of mainwindow.cpp we might be more specific

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

      @VRonin
      The error line reads:

      /bin/sh: 1: Syntax error: "(" unexpected
      

      That is an error from the Linux shell, not whatever might be in source being compiled?
      If I didn't know better, I'd say it looks like the OP is trying to execute mainwindow.cpp, during make, as a shell script...?

      1 Reply Last reply
      1
      • A Anonymous_Banned275

        I am no expert troubleshooting "make'
        any help would be greatly appreciated.

        mainwindow.cpp
        /bin/sh: 1: Syntax error: "(" unexpected
        make[1]: *** [Makefile:1062: main.o] Error 2
        make[1]: *** Waiting for unfinished jobs....
        /bin/sh: 1: Syntax error: "(" unexpected
        make[1]: Leaving directory '/media/qe/TSET_QT_LABEL/QT_6/QT6_PRO/CAT/build-SUB_PRO-Desktop_Qt_6_1_0_GCC_64bit-Debug/MAIN_MDI'
        make[1]: *** [Makefile:1197: mainwindow.o] Error 2
        make: *** [Makefile:47: sub-MAIN_MDI-make_first] Error 2
        19:27:36: The process "/usr/bin/make" exited with code 2.
        Error while building/deploying project SUB_PRO (kit: Replacement for "Desktop Qt 6.1.0 GCC 64bit")
        When executing step "Make"
        19:27:36: Elapsed time: 00:01.
        
        VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #2

        @AnneRanch said in Please suggest where to start...:

        Syntax error: "(" unexpected

        Looks like you have a misplaced ( in your code. If you post the contents of mainwindow.cpp we might be more specific

        "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

        JonBJ 1 Reply Last reply
        0
        • VRoninV VRonin

          @AnneRanch said in Please suggest where to start...:

          Syntax error: "(" unexpected

          Looks like you have a misplaced ( in your code. If you post the contents of mainwindow.cpp we might be more specific

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

          @VRonin
          The error line reads:

          /bin/sh: 1: Syntax error: "(" unexpected
          

          That is an error from the Linux shell, not whatever might be in source being compiled?
          If I didn't know better, I'd say it looks like the OP is trying to execute mainwindow.cpp, during make, as a shell script...?

          1 Reply Last reply
          1
          • A Offline
            A Offline
            Anonymous_Banned275
            wrote on last edited by Anonymous_Banned275
            #4

            Thanks for the replies.
            I am sure I know where the problem is and it is not in my code.
            ( I have done this before....)
            I need couple of hours before I can work on it - just wanted to let you know I am not ignoring you.
            Cheers

            here is the source of the error - me

            59aa2a26-1425-4b08-b989-c678cbac5b99-image.png

            Ubuntu file manager does great job when copying file ,
            and adds "( copy ) " to the file name ....

            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