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. 'Start Menu' widget?
Qt 6.11 is out! See what's new in the release blog

'Start Menu' widget?

Scheduled Pinned Locked Moved General and Desktop
20 Posts 5 Posters 4.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.
  • N Offline
    N Offline
    nicky j
    wrote on last edited by
    #9

    Unfortunately I can't open a .7z file on my computer (OS X)

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #10

      Here is zip: "Example":https://www.dropbox.com/s/bsxyiz3nhenygev/MenuExperiment.zip

      also you can find 7z archivers for OS X "here":http://www.7-zip.org/download.html .

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nicky j
        wrote on last edited by
        #11

        qxoz,

        reading through the code it looks like what I'm looking for, however I can't compile it. It gives me this error:

        /Users/XXXX/Qt5.2.0/5.2.0/clang_64/lib/QtCore.framework/Headers/qobject.h:222: error: no member named 'Value' in 'QtPrivate::HasQ_OBJECT_Macro<FormMenu>'
        Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro<typename SignalType::Object>::Value,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

        not sure what to do to fix this.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #12

          qxoz, thank you for the example, I was looking for something like this.

          nicky j, I'm able to build it using Qt 5.3.0 and Qt5.2.1 on Linux and MacOSX
          The error message looks like there is some wrong in an environment.

          Did you build it using command line or QtCreator?

          @
          $ cd tmp
          $ unzip ~/Downloads/MenuExperiment.zip
          $ mkdir build-menu-5.2.1
          $ cd build-menu-5.2.1/
          $ ~/Qt5.2.1/5.2.1/clang_64/bin/qmake ../MenuExperiment/
          $ make
          $ ls -l ./MenuExperiment.app/Contents/MacOS/MenuExperiment
          -rwxr-xr-x 1 user staff 120324 Jun 18 23:46 ./MenuExperiment.app/Contents/MacOS/MenuExperiment
          @

          Could you install and try 5.3

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nicky j
            wrote on last edited by
            #13

            I built it in Qt creator. I just hit the configure button and opened it up

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andreyc
              wrote on last edited by
              #14

              No errors in QtCreator either. Qt 5.2.1 Linux.
              Try to create a simple Widget project and build it in QtCreator.

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nicky j
                wrote on last edited by
                #15

                Thats what I did

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  qxoz
                  wrote on last edited by
                  #16

                  [quote author="andreyc" date="1403150141"]... I was looking for something like this.[/quote]
                  You're welcome. I am always glad to help.

                  [quote author="nicky j" date="1403158757"]Thats what I did[/quote]
                  You mean, you can't build any project?

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nicky j
                    wrote on last edited by
                    #17

                    Sorry, I haven't been clear. I can build my own projects, but I don't know how to run someone else's project after I download it. Qxoz, I unzipped you program with Keka. Then I opened Qt Creator, hit 'Open Project', navigated to the MenuExperiment folder, and double clicked the .pro file. The Qt Creator had me click through a short config wizard thing. Thats all I did, and I can't compile it.
                    Could you or someone give me the steps for downloading and compiling someone else's Qt project? I'm sure I'm doing something wrong. Thank you for all your help, your project seems to be what I'm looking for.

                    1 Reply Last reply
                    0
                    • Q Offline
                      Q Offline
                      qxoz
                      wrote on last edited by
                      #18

                      Strange, seems everything is correct, maybe this issue somehow related to OS. But there are another way to make it work. Create simple app which builds ok, then move my code to it(part by part). I think it should work.

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        nicky j
                        wrote on last edited by
                        #19

                        How would I copy the form file?

                        1 Reply Last reply
                        0
                        • Q Offline
                          Q Offline
                          qxoz
                          wrote on last edited by
                          #20

                          Just copy [form].ui, [form].cpp, [form].h files or recreate form and copy code lines.

                          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