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 Problems with a project in design view breaking
QtWS25 Last Chance

SOLVED Problems with a project in design view breaking

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

    Hey guys,

    First post! I'm trying to get comfortable with Qt Creator by running through the tutorials. The first tutorial is fine, the program compiles and exits with error code 0. But now I'm onto the second tutorial and I'm running into an interesting problem:

    I add the icon to my canvas and change the location (this being done in the design tab). Then when I go to change the ID to "icon" as instructed everything seems to break. The background color I set on my parent rectangle disappears and the box in the canvas turns white. Also my image that I dragged onto the canvas turns into a blue dot.

    After a few tries it seemed to be caused by changing the ID, so I decided to just leave the ID as it was set by default. But then a few steps later I found that switching between the edit and the design tab (to see the tutorial but making NO changes) caused the design tab view of my project to "break" once again. The rectangle goes from the grey background to white, and the image disappears with a blue dot in it's stead. None of the code changes and the values are all still set in the design tab 'correctly'

    I'm guessing this problem is most likely system related, but I was wondering if anyone had any thoughts as to things I might be able to try.

    Qt Creator 2.7.2, VS2010Pro

    Thanks,

    Don

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      • Which tutorial is this? (There are many)
      • Which version of Qt do you have? (Qt Creator is just an IDE -- it is separate from the Qt libraries themselves)
      • Which version of Windows are you running?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

        Hey JKSH,

        1. Creating a Qt Quick
        2. Qt 5.1.0 (x86)
        3. Win7Pro
        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          I just realized it could be a bug with the Qt Quick Designer (which is part of Qt Creator).

          Qt Creator 2.8.1 has just been released along with Qt 5.1.1 (see "here":http://blog.qt.digia.com/blog/2013/08/28/qt-creator-2-8-1-installer-framework-1-4-0-released/ and "here":http://blog.qt.digia.com/blog/2013/08/28/qt-5-1-1-released/). Try updating your SDK, and see if that fixes the problem for you. Updating also gives you the latest features and bugfixes.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

            Yeah that seemed to solve my problem, thanks for the help JKSH.

            Also the following bug report popped up after setting my kit to 5.1.1. As described in the bug, restarting Qt Creator solved the issue.

            https://bugreports.qt-project.org/browse/QTCREATORBUG-9906

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              Glad to hear :) Happy coding!

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              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