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. Building QT Embedded Widgets on Windows 7
Forum Updated to NodeBB v4.3 + New Features

Building QT Embedded Widgets on Windows 7

Scheduled Pinned Locked Moved General and Desktop
10 Posts 4 Posters 6.5k 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.
  • R Offline
    R Offline
    RickF
    wrote on last edited by
    #1

    I installed Qt C:\Qt\2010.04 and I can build the example projects with Qt Creator.

    I downloaded withe QT embedded widgets

    C:\Projects\qt_embedded-widgets-1.1.0

    And I cannot build.

    In file included from ../../../embedded-widgets-1.1.0/src/basicgraph/qtbasicgraph.cpp:9:
    ../../../embedded-widgets-1.1.0/src/basicgraph/qtbasicgraph.h:13:17: error: QtGui: No such file or directory
    ../../../embedded-widgets-1.1.0/src/basicgraph/qtbasicgraph.cpp:10:25: error: QtCore/QDebug: No such file or directory
    ../../../embedded-widgets-1.1.0/src/basicgraph/qtbasicgraph.cpp:11:30: error: QStandardItemModel: No such file or directory
    ../../../embedded-widgets-1.1.0/src/basicgraph/qtbasicgraph.cpp:14:18: error: QDebug: No such file or directory

    I have seen other people report this problem but have not seen a solution. Any help appreciated.

    Rick

    1 Reply Last reply
    0
    • H Offline
      H Offline
      harryF
      wrote on last edited by
      #2

      Please send the full output from the compiler log

      // happy hacking

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RickF
        wrote on last edited by
        #3

        I had to put it on the web, as it is greater than the text allowed in these posts.

        Here's a link:

        htp://www.dominionsw.com/Compiler.html

        1 Reply Last reply
        0
        • H Offline
          H Offline
          harryF
          wrote on last edited by
          #4

          bq. Configuration unchanged, skipping qmake step.

          This looks fishy, I suggest to manually run "qmake" again. The include pathes for Qt are missing, which seems to be the error.

          Note that for pasting temporary things, you can use "pastebin":http://qt.pastebin.com

          // happy hacking

          1 Reply Last reply
          0
          • R Offline
            R Offline
            RickF
            wrote on last edited by
            #5

            I notice in the basicgraph.pri file there is

            INCLUDEPATH += $$PWD
            DEPENDPATH += $$PWD
            SOURCES += $$PWD/qtbasicdialgauge.cpp
            HEADERS += $$PWD/qtbasicdialgauge.h

            Is this a unix thing? That might explain why this stuff builds on my mac and not on my pc.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              harryF
              wrote on last edited by
              #6

              $$PWD is a qmake thing and is replaced with the current working dir.

              You can try running "qmake -d -d -d -d" to get full debug output from qmake, maybe you see something fishy. In any case, the "-I" parameters for the Qt includes are missing, which I haven't seen happening before...

              // happy hacking

              1 Reply Last reply
              0
              • R Offline
                R Offline
                RickF
                wrote on last edited by
                #7

                What's strange is that it builds "out of the box" on the mac but not the PC.

                I'll try your suggestion and see what I find.

                Thx

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  RickF
                  wrote on last edited by
                  #8

                  Well if anyone wants to take a look at this, I'm stumped. Here's verbose compiler output:

                  http://www.dominionsw.com/compileroutput.txt.zip

                  Anyone from Nokia Out There?

                  Thanks

                  Rick

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    lgm42
                    wrote on last edited by
                    #9

                    Any news on a solution a got the same problem ?

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      glafauci61
                      wrote on last edited by
                      #10

                      Hi to all.
                      I've noticed that, if I lock the instruction

                      DEPENDPATH += $$PWD

                      in the basicgraph.pri files, using a # instruction, it compiles well.

                      #DEPENDPATH += $$PWD // line modified

                      I don't know why (I'm studying it), but this instruction, ONLY IN PC ENVIRONMENT, resolves the compiling operation in an error.

                      This is to be made also in the multislider.pri file.

                      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