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. 'SOLVED' Unable to add 'File' option to menubar
QtWS25 Last Chance

'SOLVED' Unable to add 'File' option to menubar

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 124 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.
  • D Offline
    D Offline
    Dyenhen
    wrote on last edited by Dyenhen
    #1

    Hey,
    I'm following the Qt 6 C++ Programming Cookbook to get a bit more familiar with Qt.
    In one section we try to add a 'File' option to a menubar, and a 'Save as SVG' action.

    However, I can't find either in my qt creator 15.0.1 on Linux. Has this been deprecated? Is it preferred to add these via code?

    Thanks

    Screenshots:
    https://imgur.com/a/8J79fvy

    jsulmJ 1 Reply Last reply
    0
    • D Dyenhen

      Hey,
      I'm following the Qt 6 C++ Programming Cookbook to get a bit more familiar with Qt.
      In one section we try to add a 'File' option to a menubar, and a 'Save as SVG' action.

      However, I can't find either in my qt creator 15.0.1 on Linux. Has this been deprecated? Is it preferred to add these via code?

      Thanks

      Screenshots:
      https://imgur.com/a/8J79fvy

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Dyenhen Well, if you add a menu bar you will have "Enter text" (or what ever it is in English). So, enter File there. Then you can do the same inside the new File menu to add "Save as SVG". Just play a bit with it...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      3
      • jsulmJ jsulm

        @Dyenhen Well, if you add a menu bar you will have "Enter text" (or what ever it is in English). So, enter File there. Then you can do the same inside the new File menu to add "Save as SVG". Just play a bit with it...

        D Offline
        D Offline
        Dyenhen
        wrote on last edited by
        #3

        @jsulm Thank you! Haven't figured it out completely, but I can progress further :)

        Pl45m4P 1 Reply Last reply
        0
        • D Dyenhen

          @jsulm Thank you! Haven't figured it out completely, but I can progress further :)

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by
          #4

          @Dyenhen

          To be clear, you have to add the options yourself to the menu. There is no preset configuration which says "Save as SVG", in case you were looking for something like that...


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          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