Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5325

Qt Eclipse plugin side effect with Carbide project wizard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.5.3
    • None

    Description

      To implement Carbide bug 9816 (https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=9816), in the Qt template .pro files, I moved the Symbian .loc,.rss, and *_reg.rss files into a symbian: block. E.g., for the Console template, the attached changed file looks like:

      TEMPLATE = app
      TARGET = $(baseName)

      $(modulesText)

      HEADERS +=
      SOURCES += main.cpp
      FORMS +=
      RESOURCES +=

      symbian: {
      TARGET.UID3 = $(uid3)

      HEADERS += $(baseName).loc
      SOURCES += $(baseName).rss \
      $(baseName)_reg.rss
      }

      Scenario 1) I opened a new workspace and selected File > New > Qt Project > Qt Console to create a console app.

      The Qt Project wizard noticed that I had not set a default Qt version in Window > Preferences > Qt, so it prompted me for a Qt version. When project creation continued, I said not to do a full rebuild (which makes no difference since there are no projects yet). Then I got a dialog.

      If I just hit OK, then it copies my Symbian *.rss and *.loc files (though not the *_reg.rss file) into global scope of my .pro file - duplicating what is in the Symbian block. If I hit Cancel, no duplication is done, but the Console view warns me that the *.rss and *.loc files cannot be found.

      The next time I created a new Qt project of any sort, the above dialog did not appear, and my Symbian-only files appeared just in the Symbian block, as desired.

      Scenario 2) I created a new workspace, set my Qt preference, and created a console app. Again, on the first Qt project, and only the first project, I got the above dialog. The next time I created a new Qt project of any sort, the above dialog did not appear, and my Symbian-only files appeared just in the Symbian block, as desired.

      How do I do either of these project creation scenarios either without the above dialog appearing, or with it appearing with no boxes checked by default? Thanks.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            dpodwall Dan Podwall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes