Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.4k Topics 34.5k Posts
  • Eclipse with Qt

    6
    0 Votes
    6 Posts
    8k Views
    W

    [quote author="Tobias Hunger" date="1342462363"]I am just guessing since I never used Eclipse on windows: Is there a "make" in your PATH?[/quote]

    I have been trying to figure out what this make is, far as I can tell no. Is it a make file generator, compiler thing or possibly a link to the application that is being compiled.

    [quote author="GrahamL" date="1342445950"]then you should you should be able to see an option to create a Qt project[/quote]

    Qt plugins and lib links work fine. Its just this one thing. I can compile a normal C++ Hello World app with no issues.

  • Squish: general newbie quest.

    2
    0 Votes
    2 Posts
    2k Views
    J

    oh, sorry, and I work with Squish 4.2

  • QtSDK: Still cannot debug into Qt sources

    5
    0 Votes
    5 Posts
    3k Views
    A

    No, it doesn't work with 4.8.2 either.

    It seems to work with Visual Studio 2010, though.

    EDIT: I've tried 4.8.0 in Qt Creator both using CDB and GDB. CDB works, GDB doesn't.

  • UML Round-trip

    27
    0 Votes
    27 Posts
    17k Views
    T

    We don't use UML much. Most changes are pretty small and well contained, so that is not really necessary most of the time.

    We do have some unit tests (some stand alone, others built into Creator) and do squish tests on the whole application.

  • 0 Votes
    18 Posts
    14k Views
    P

    I got stuck in this same problem earlier today. I tried build clean on my project and started getting the "c1xx : fatal error C1083: Cannot open source file: 'Release\moc_xxxx.cpp': No such file or directory" errors.

    After much frustration with vs2010, I figured two things out:

    I could get the moc_xxxx.cpp files to come back using the "Restore previous versions" options that came with my version of Windows. Every time you update windows, it takes a snapshot of your recently changed files and saves it on your harddrive.

    After getting it to that point, I also found another "fix" but this is more of a hack than a fix. For every .h file that you want to force Moc'ing for, (so any of them with a Q_OBJECT macro in them) you can tell visual studio to explicitly build the .h file (right click on the file and choose compile, or press Ctrl-F7 while in the .h file).

    Then the next time you build, it can find the Moc'ed file and the error goes away.

    I hope that helps someone.

    It would be nice if there was an option built into the Qt menu on the VS plug-in that could do that for you (such as "Regenerate All Moc Files") or if it could notice that the moc files don't exist and built them so that you can recover after a build clean.

  • QDoc in QML files issues

    2
    0 Votes
    2 Posts
    2k Views
    F

    Hi again,
    I figured it out - with Qt5's qdoc my mentioned issues were fixed (I had an old version of qt5 still using qdoc3).

    So now everything works as expected and documented in the manuals, and docs can be exported without extra topic commands like \qmlmethod or \internal.

    I can now highly recommend qdoc! We use qdoc for the documentation of our Qt-based 2D game engine for QML and C++ code, which works pretty well because you can export the docs for the integrated help in QtCreator AND to web templates (see here how ours looks like: http://doc.v-play.net/beta/).

  • [SOLVED] Qt Creator 2.6 on QT5 Source

    5
    0 Votes
    5 Posts
    4k Views
    S

    Arg ... I just begin a meteoric career in software development ... I might end too quickly exploded

  • Start debugging subdir executable

    4
    0 Votes
    4 Posts
    3k Views
    T

    Please file a bug report: "The .pro file is currently being parsed" should not stay longer than a couple of seconds while the project structure is scanned.

  • 0 Votes
    3 Posts
    4k Views
    O

    [quote author="Taylor Braun-Jones" date="1342096585"]Are there any updates on this issue? I also experience the problem and would prefer to not need the clunky workaround of closing all Qt Designer views.[/quote]

    None as far as I know - Eclipse Integration is still at 1.6.1 (seems development has ceased?) and the bug still exists under Eclipse Indigo. It causes many other problems too.

    I just use Qt Designer/Creator externally if I need to work with gui stuff as I also found problems using custom widgets with EI.

  • 0 Votes
    14 Posts
    12k Views
    S

    Good news I start the process.

    And...thank you for this and for QT.

  • 0 Votes
    1 Posts
    3k Views
    No one has replied
  • 0 Votes
    2 Posts
    1k Views
    T

    Creator checks all the include pathes listed for the headers. Adding the directories holding the Qt headers into the relevant file (can't remember the name right now, sorry... I think its ends in .includes or similar) should work.

  • Are there any plans for static analysis and CI

    2
    0 Votes
    2 Posts
    1k Views
    T

    The process of getting plugins into Qt Creator is pretty straight forward:

    Set up an account in "our bug tracker":http://bugreports.qt-project.org/ Use this account to log into "gerrit":http://codereview.qt-project.org/ and accept the contributors agreement. set up your git repo of Qt Creator, following the instructions in gerrit. Push your changes into gerrit Follow up on comments and fix your code Have your code merged:-)

    The process is pretty pain free nowadays... all of us have to use exactly the same as everybody else, so it has to work:-) That was not the case before when merge requests were still handled on gitorious...

  • QtCreator 2.5 and QtSDK

    9
    0 Votes
    9 Posts
    3k Views
    D

    I really love the Qt SDK maintenance tool. It seems like a great way to keep my Qt dev enviroment up to date. It's really frustrating, though, that it doesn't keep QtCreator up to date considering that it's the most important part of the SDK... =[

  • Question regarding qmake

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Debugging on MacOS X (XCode) with lldb?

    3
    0 Votes
    3 Posts
    7k Views
    V

    I found that the way to do this is not by using Python scripts, but by using "Set Summary Format" in the pop-up menu when you right-click on a variable name while debugging. You then type in, for QStrings:

    {(const char *)$VAR.toUtf8().constData()}:s

    This crashed in my copy of XCode 4.3, but works in XCode 4.4 developer preview.

  • 0 Votes
    3 Posts
    1k Views
    I

    Something got messed up with the designer, I was unable to change any property. I deleted .designer directory, started it again and now everything works.

    Thank you for your reply.

  • 0 Votes
    7 Posts
    6k Views
    T

    The SubComponentManager is responsible for handling components which are part of the current project.
    Plugins/Components which are installes into Qt are handled by qmlplugindump and the editor's code model.
    See: http://doc.qt.nokia.com/qtcreator-2.3/creator-qml-modules-with-plugins.html

  • Very first newby question( Qt Creator )

    2
    0 Votes
    2 Posts
    1k Views
    T

    Hi, ~santiagorf!

    Welcome to Qt Developer Network!

    No, no. GUI != QML. There are three types of projects you can create in Qt Creator:

    GUI-based (File -> New Project -> Applications -> Qt GUI Application) QML-based (File -> New Project -> Applications -> Qt Quick Application) HTML5-based (File -> New Project -> Applications -> HTML5 Application)

    In book you haven't started to read told about GUI-based development.

  • [SOLVED]Bug in designer in Qt Creator

    4
    0 Votes
    4 Posts
    2k Views
    T

    So, it should be solved? If it is, try to append to your title "[SOLVED] " and add tag - "solved".