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
  • 0 Votes
    3 Posts
    2k Views
    A

    Ok, thanks. I'm a linux novice, the package system took a little getting used to.

  • Unsure on status of bug fix for Creator

    6
    0 Votes
    6 Posts
    2k Views
    mzimmersM

    I'm sorry that I wasn't clear. I am running 2.6.1, and 5.0, and I still have the problem.

    EDIT:

    Just as other data points, in case this helps anyone, my copy of Creator also gives an error message on startup, stating that it cannot load the Help plugin. Also, the up/down arrow keys don't seem to work in the editor.

  • Qmake without qt

    2
    0 Votes
    2 Posts
    3k Views
    L

    [quote author="AlricDoRei" date="1356385570"]I am planning to use QtCreator+qmake without Qt libraries.
    Is it possible to install/compile qmake without Qt on Windows platform?[/quote]

    Yes, you can use Qt Creator as well as qmake without Qt. "Qmake":http://qt-project.org/doc/qt-4.8/qmake-manual.html processes .pro files and automatically creates makefiles (or Visual Studio, or XCode project files). For details check "qmake documentation":http://qt-project.org/doc/qt-4.8/qmake-manual.html :

    bq. qmake can be used for any software project, whether it is written in Qt or not.

  • QSettings location for plugins

    7
    0 Votes
    7 Posts
    3k Views
    K

    Enjoy xmas. Let's continue after the holidays. ;)

  • Qmake 5.0 not finding include files on OSX

    4
    0 Votes
    4 Posts
    8k Views
    sierdzioS

    I see. This indeed seems to be a bug. I don't use the -project flag myself, so I had not hit it. Please consider filling a bug report on "JIRA":https://qt-project.org/wiki/ReportingBugsInQt and/ or pinging the development mailing list.

  • 0 Votes
    4 Posts
    2k Views
    P

    I don't know how is this related to ptrace but no, protection is disabled

    @$ cat /proc/sys/kernel/yama/ptrace_scope
    0@

    I'm running Ubuntu 12.10 x86_64 and QtCreator 2.6.81 (Qt 4.8.3)

  • 0 Votes
    1 Posts
    687 Views
    No one has replied
  • 0 Votes
    3 Posts
    3k Views
    D

    I believe you have to recompile the Qt library with different configuration of libfreetype options, since QtCreator highly depend on Qt library. You might take a look on src/3rdparty/freetype and make change on /include/freetype/config/ftoption.h.

    uncomment #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING, if you want to force the qt cleartype.

  • Qt Creator - Linking in 2.6.0

    8
    0 Votes
    8 Posts
    5k Views
    K

    The only things I would try is to make sure that:

    qmake was run after changes to .pro. Making sure that the same MinGW version was used for compilation of the lib and the my code. Since the project is still rather small, you can easily do a complete rebuild. It looks like there is only a release version of the lib available. AFAIK you may mix debug and release version, but I do not myself. So I would try to avoid.

    Otherwise I am lost here.

  • 0 Votes
    2 Posts
    2k Views
    G

    I remember reading somewhere (sorry, but I can't find it now) that the Qt lib versions that QtCreator was compiled against has to match the Qt lib versions you are compiling your plugin against. In other words, if QtCreator 2.4.1 wasn't compiled against Qt 4.8.0, I don't think it will work if your plugin IS compiled against 4.8.0. I hope that makes sense...Not sure if that may perhaps be the issue here.

    EDIT: I just realised that you said you compiled QtCreator from source. Sorry!

  • Qt Creator Toggle PushButton

    2
    0 Votes
    2 Posts
    3k Views
    G

    Hi erm15.

    Welcome to Qt :)

    With no code to go on, I suggest you read up on signals and slots (it seems that you already have, but it looks like you haven't connected the buttons' output signals to your processing slots).

    Also important is layouts and for your particular case, I suggest you have a look at QButtonGroup (if you need buttons to be exclusive in case they are checkable).

    Hopefully "this":http://qt-project.org/doc/qt-4.8/how-to-learn-qt.html will get you going! :)

  • Tools and Standards

    2
    0 Votes
    2 Posts
    968 Views
    sierdzioS

    You turn on compiler flags per Qt project - in your .pro file (using QMAKE_CXXFLAGS and such, see "qmake variable reference":http://doc.qt.digia.com/qt/qmake-variable-reference.html).

    I have not used clang yet, but once you have it installed, it should show up in Qt Creator. If not, you need to point QtC to the c++ binary.

  • QT Creator 2.6.1 Manually add msvc compiler

    6
    0 Votes
    6 Posts
    4k Views
    T

    Cross-compiling from linux to windows works for me, using the mingw packages in my distribution of choice.

  • 0 Votes
    7 Posts
    6k Views
    V

    Could someone help on this?

    Anyone else is running Qt Creator 2.6 under Linux?

  • 0 Votes
    6 Posts
    5k Views
    K

    [quote author="Tobias Hunger" date="1355846235"]
    Build systems already are really good at dependency handling... so we prefer to use those where possible.[/quote]
    That is exactly the reason why I was wondering about the trouble I had.

    It is certainly also clear that independent project handling cannot solve my problem.
    Therefore, I agree that it would be better to remove the functionality from creator. At the moment it seem to deliver something which is actually impossible. It wastes a lot of time and it creates too much frustration.

  • 0 Votes
    2 Posts
    1k Views
    T

    I think Qt 4.8.4 is not part of any SDK right now, so I assume you are installing Qt Creator and Qt 4.8.4 next to each other in independent steps.

    If that is the case then Qt Creator most likely does not know you have Qt installed. Without Qt it will not offer to set up Qt projects. Go to Tools>Options>Build & Run>Qt versions and make sure your Qt is registered there. Go to Tools>Options>Build & Run>Kits (if you are using version 2.6 or later;-) and make sure the Kits are actually using that Qt version. Afterwards you should be set to go.

  • QTcreator editor - cursor past end of line

    2
    0 Votes
    2 Posts
    1k Views
    M

    Because the end of line IS the end of the line. By definition there is nothing past it. There is a physical Carriage Return character present. Otherwise, the editor would have to keep track of magically inserting and removing spaces randomly at the ends of the line to allow you to click beyond it.

  • Best tutorial

    6
    0 Votes
    6 Posts
    4k Views
    C

    For beginners, I think "zetcode":http://zetcode.com/ is more simplified.

    Cheers!

  • Open documents sorting

    8
    0 Votes
    8 Posts
    3k Views
    T

    @life4iran: Files are sorted by last-use in Ctrl-Tab popup.

  • How To Restore default layout

    2
    0 Votes
    2 Posts
    4k Views
    Q

    Hi there!

    Is "this":http://doc.qt.digia.com/qtcreator-2.2/creator-faq.html what you were looking for? If not, try with the Window menu. There may be some options to show/hide layouts. And again if not, post here a screenshot so we can see your qtcreator's new look.

    Be careful about where you click... Good luck!