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
  • QSqlDatabase: QPSQL driver not loaded

    2
    0 Votes
    2 Posts
    5k Views
    A

    Set the QT_DEBUG_PLUGINS environment variable (to 1), and re-run. It should give you more info on what is going on with the loading of plugins.

    See "this video":/videos/watch/the-last-mile-effective-debugging-and-profiling-for-qt-and-qt-quick for more details on debug techniques with Qt.

  • Can’t use < or >

    11
    0 Votes
    11 Posts
    4k Views
    C

    I do a lot more stuff than programming (which is the new thing i'm doing) and I do it in several languages (not all language use A to Z letters). I have this massive keyboard that is great for everything else i do which a normal keyboard can't offer, it just doesn't have < and >. It may sound weird but not everyone works the exact same way you are used to.

    I think i'll just try to disable the Alt + shortcuts of Qt so it doesn't interfere with the macros.

    [quote author="Andre" date="1347863782"]Well, to me you don't sound calm, especially with remarks like this:

    [quote author="Cilof" date="1347826075"]Seriously dude? Sounds strange, oh yeah I may be making this up, that's definitely what it is... You got me bro.[/quote]
    So indeed: calm down please.

    I am sorry, but your problem sounds strange. Indeed, to me, it still sounds like the first advice you got is the most valuable: get yourself a cheap-ass US/international keyboard and be done with it. You might even use them side by side.

    Anyway, trying to help you with your current situation. You might try a keyboard remapper. Google for it, or choose one of these http://www.makeuseof.com/tag/remap-keyboard-free-tools-windows/ You could also try to use windows macros. There are plenty of tools for that too. A macro could be just typing your special character, and you can assign it to a hotkey or keycombo. Anyway, both still sound way to complicated to me. I'd just get a keyboard that is useful for programming :-)
    [/quote]

  • Single headers not displayed

    12
    0 Votes
    12 Posts
    4k Views
    G

    Apologies, I didn't quite understand the CMake angle. My bad.

  • [SOLVED] W4 warning level

    10
    0 Votes
    10 Posts
    14k Views
    T

    genefield: - Sorry for the late reply. QMAKE_CXXFLAGS is a qmake variable so it must be written inside your pro/pri files. As these warnings are VS compiler specific I usually use the following:

    @
    win32-msvc2008|win32-msvc2010 {
    # Enable Level 4 compiler warnings
    QMAKE_CXXFLAGS_WARN_ON -= -W3
    QMAKE_CXXFLAGS_WARN_ON += -W4
    # Hush some known Qt warnings
    QMAKE_CXXFLAGS += -wd4127 -wd4512 -wd4189
    }
    @

  • FakeVim .vimrc in Windows

    2
    0 Votes
    2 Posts
    2k Views
    G

    This doesn't answer your question, but maybe it will help to some degree (unfortunately I don't know either :) ):

    http://qt-project.org/forums/viewthread/10132/

  • QtCreator debugging under Linux and OS X

    4
    0 Votes
    4 Posts
    2k Views
    sierdzioS

    Ah yes, I somehow focused on Linux only. Maybe that's my hatred towards Mac showing itself unconsciously ;) I'm not sure about valgrind on Mac, but the rest should work as on linux.

  • 0 Votes
    5 Posts
    2k Views
    I

    Thank you very much friend Andre ... MS-DOS window was right where you said, the exact name is:

    "Qt 4.8.1 for Desktop (MinGW)"

    Thanks to all three for helping.

  • Code formating question [solved!]

    8
    0 Votes
    8 Posts
    2k Views
    M

    bq. Thanks I got it working now!

    Good deal! Be sure and edit your original post and add [Solved] to the thread's title. Thanks!

  • 0 Votes
    3 Posts
    1k Views
    C

    I would like to test a previous version of QtSDK , to see if this warning is only happens in this latest SDK version , but i can not find where download older QtSDk packages , tryed to find in git , but there lots of folders there , i just dont know where and what do I have to download ..

  • Creator 2.5.2/debugger issue

    12
    0 Votes
    12 Posts
    5k Views
    T

    All the settings the SDK does for Qt Creator are stored in QtCreator/share/qtcreator/Nokia. Copying that folder will make those settings available to other versions of Qt Creator.

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    9 Posts
    3k Views
    N

    Now I understand.I correct the path of the .pro file,then it works well.There should be no space and non-English character in the path.

  • How to assign a toolchains to a project

    2
    0 Votes
    2 Posts
    1k Views
    T

    Hover the target and check the tool tip. That should give a hint about why creator thinks the target is fishy.

  • ActiveQt Examples fail with VS2010

    3
    0 Votes
    3 Posts
    3k Views
    Q

    thanks, this solved my errors

  • 0 Votes
    3 Posts
    4k Views
    S

    Kindly Edit your first post and prefix [Solved] to the title.

    Thanks.

  • 0 Votes
    4 Posts
    2k Views
    T

    We are trying hard to have one Qt Creator that is useful for all the platforms Nokia needs supported. To make that possible we need to hide functionality that does not apply (e.g. Symbian development for people caring about the N9 only). That way people won't run into options that do not apply to them.

    So sometimes you need to know where to look to get something enabled (the Qt SDK should do all that for you by the way). But then even if we were not hiding the options a misconfigured creator would cause trouble ("Why doesn't Y work? It shows it right there in the menu!"), so hiding stuff that is not universally useful is the right thing to do.

  • Two instances of g++ delivered with Qt?

    3
    0 Votes
    3 Posts
    1k Views
    mzimmersM

    I need to return to this question, though it's been a few months.

    If I understand the explanation, when I'm using Qt to build an app for the same platform from which I'm running Qt, I want gcc.exe (or, presumably, g++.exe).

    If this assumption is correct, how do I tell my project that I want to choose g++.exe over mingw32-g++.exe? I suspect this is causing me some compile issues.

    Does the solution entail using the QMAKE_CXX variable in my .pro file?

    Thank you.

  • Qmake incorrect target generation

    1
    0 Votes
    1 Posts
    878 Views
    No one has replied
  • Qtcreator/qmake pro reference files

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    4 Posts
    6k Views
    H

    1 - find this file : <qt 4.8.2>/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h
    2 - replace this line : typedef struct _GMutex GMutex;
    with this line : typedef union _GMutex GMutex;