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. How to handle "arthurwidgets.h" & friends ?

How to handle "arthurwidgets.h" & friends ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 2.0k 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
    deleted28
    wrote on last edited by
    #1

    Hello,

    I have problems to run e.g. Gradients example on Qt 5.5.1 gcc 64 on Linux.
    How to handle examples containing :
    #include "arthurwidgets.h"
    #include "hoverpoints.h"

    Do I need to copy/paste these headers and definitions manually to the gradients project or is there a smarter way to get it built ?

    thank you
    wally

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

      Hi
      On windows, those file are in a sub project called shared
      which is included in the gradients project and I can just run it.

      http://postimg.org/image/fe3qijii5/

      So I wonder if u do something else in linux as the project / example should be the same?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted28
        wrote on last edited by
        #3

        Yes, seems I need to copy the folder "shared" in the same directory where the "gradients" project folder exists or change the path in .pro file. I used the option "Copy project and open" because I do not run as root and the original path is in /opt/Qt/Examples/Qt-5.5/widgets/painting/gradients/ which requires root privileges.

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

          I guess so since normally shared is living in
          Qt-5.5\widgets\painting\shared
          but if u copy the Gradient project im not sure it will copy shared too or
          if it can still work in original location.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            deleted28
            wrote on last edited by
            #5

            it does not copy the shared folder, that's was what I have not seen on first trial.

            mrjjM 1 Reply Last reply
            1
            • D deleted28

              it does not copy the shared folder, that's was what I have not seen on first trial.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @wally123
              Ok . thanks. that is good to know. I never tried copy and open. :)

              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