Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved] After compiling I have no /include/QtDesigner, Why?

    Installation and Deployment
    2
    6
    4813
    Loading More Posts
    • 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
      DropDeadCreative last edited by

      Hi there. I appreciate any assistance.

      I'm compiling Qt 4.6.3 on Mac OS X 10.4.11 with the following configuration:

      ./configure -static -no-fast -stl -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -nomake examples -nomake demos -nomake tools -universal

      It compiles fine. However my app looks for include/QtDesigner/ and the files contained in that directory, the trouble is, this directory does not exist after I compile.

      Is this because of -nomake tools? I've had to add this because of the known error regarding the assistance.app and static compiling. And I tried compiling with both -shared & -static, no luck.

      Can someone tell me how to make sure /include/QTdesigner gets created when I compile with my configuration?

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • A
        anselmolsm last edited by

        Designer is not built with '-nomake tools'. You can compile it separated, the code is in QT_SRC_DIR/tools/designer (qmake && make && make install should be enough).

        I didn't understand one thing: why do your app need include/QtDesigner?

        (N.B.: Since I develop more stuff with Graphics Widgets and QML, I'm not that familiar with designer, so sorry if it is a dumb question =)

        Anselmo L. S. Melo (anselmolsm)

        1 Reply Last reply Reply Quote 0
        • D
          DropDeadCreative last edited by

          Thank you for the reply. I'm not entirely sure why we link to /include/QtDesigner, I think it's because there are a lot of custom widgets.

          So I'm recompiling right now with ./configure -static -no-fast -stl -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -nomake examples -nomake demos -nomake tools -universal

          At what point would I invoke QT_SRC_DIR/tools/designer make && make install? After the current make is complete, or do I need to restart? And doing this will create a directory /usr/local/Trolltech/QT-4.6.3/include/QtDesigner and the files QDesignerCustomWidgetCollectionInterface, QDesignerCustomWidgetInterface etc.. will be in there?

          Thanks again.

          1 Reply Last reply Reply Quote 0
          • A
            anselmolsm last edited by

            [quote author="DropDeadCreative" date="1284308219"]
            At what point would I invoke QT_SRC_DIR/tools/designer make && make install? After the current make is complete, or do I need to restart?

            [/quote]

            You can run it after the current make. But remember, that isn't a 'command', QT_SRC_DIR is the path to your Qt source, enter that directory then run qmake && make && make install

            [quote author="DropDeadCreative" date="1284308219"]
            And doing this will create a directory /usr/local/Trolltech/QT-4.6.3/include/QtDesigner and the files QDesignerCustomWidgetCollectionInterface, QDesignerCustomWidgetInterface etc.. will be in there?
            Thanks again. [/quote]

            I think so.

            Anselmo L. S. Melo (anselmolsm)

            1 Reply Last reply Reply Quote 0
            • D
              DropDeadCreative last edited by

              Thanks again, will give this a shot, a couple of hours left I would say on the current build.

              1 Reply Last reply Reply Quote 0
              • D
                DropDeadCreative last edited by

                Thank you. Worked like a charm!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post