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.6k Topics 35.3k Posts
  • Debugging with cdb

    6
    0 Votes
    6 Posts
    4k Views
    G
    I am having the same issue. Qt types don't display properly while debugging in Qt Creator. Any solution? Win7 64-bit win 7 SDK (msvc 2010 + CDB) Qt 4.8.5 Qt Creator 2.8.1
  • Creator: Exception for "tabs to spaces"

    1
    0 Votes
    1 Posts
    460 Views
    No one has replied
  • Qt IFW - Operation (exe) not executed

    1
    0 Votes
    1 Posts
    854 Views
    No one has replied
  • Qt Creator unable to see my Android device!

    12
    0 Votes
    12 Posts
    7k Views
    Z
    [quote author="mbnoimi" date="1378814184"][code]mbnoimi@mbnoimi-pc:~/android-sdk-linux/platform-tools > ./adb devices List of devices attached ???????????? no permissions[/code][/quote] You can try to fix the problem the next way: Execute "lsusb" to find out your device vendor ID (to me it was: "Bus 003 Device 003: ID 0fce:5194 Sony Ericsson Mobile Communications AB") Create a file /etc/udev/rules.d/51-android.rules with such a content: SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct} =="5194", MODE="0666", OWNER="your_user_name" execute "/etc/init.d/udev reload" Unplug/plug the device execute "adb devices" (It should answer something like: "List of devices attached CB5Axxxxxx device" If the answer still has "?????", execute: sudo ./adb kill-server sudo ./adb start-server sudo ./adb devices
  • ActiveQt: IDC tool won't quit

    1
    0 Votes
    1 Posts
    941 Views
    No one has replied
  • Project specific help in Qt Creator

    2
    0 Votes
    2 Posts
    886 Views
    T
    No, there is no way to do that currently. As a work-around you could start with different configurations for each project by passing "-settingspath /some/dir". That is not really convenient, but that way you could register the correct documentation for that project.
  • [Solved] Problem with Qt Resource System

    13
    0 Votes
    13 Posts
    4k Views
    SGaistS
    You're welcome ! That's why I use png for images other than the required application icon, no plugin needed :)
  • [solved] search and replace within selection

    8
    0 Votes
    8 Posts
    4k Views
    SGaistS
    Right ! I forgot about this little detail, a single line selection works the same as a single word selection. You'll need to have at least a "new line" char to activate the "inside this line" search
  • Issue on add cpp definition from header

    3
    0 Votes
    3 Posts
    980 Views
    F
    Hi SGaist, and thank-you. In my case its a template struct, not a function. And I relate an issue of qt creator code assistance. For the shortcut I request, it is for the action on the contextual menu of the text editor, "Refactor" -> "Add definition to xxxx.cpp".
  • [RESOLVED] Qt Creator 2.8.1 shuts down when I try to open a Session.

    3
    0 Votes
    3 Posts
    976 Views
    V
    I fixed the problem by using "Import Existing Project" instead of "Load" project into a new session. When I imported, for all the projects I overwritten existing project files *.config, *.creator, *.includes, *.files. I have to say I am not using any of Qt, I have C++ projects using my own make files. Should I still report a bug? How do I generate a backtrace? I've already deleted the Sessions that I couldn't load.
  • QWorkspace for Qt 5

    5
    0 Votes
    5 Posts
    5k Views
    JKSHJ
    I see. Thank you for sharing your work with the community. P.S. Please don't apologize for your English; it is clear and understandable :)
  • How to locate C/C++ macros?

    7
    0 Votes
    7 Posts
    3k Views
    JKSHJ
    Ah, you're right. I'm not aware of a dedicated feature for macro searching in Qt Creator yet. You can submit a feature request at https://bugreports.qt-project.org/ In the meantime, you can try using Ctrl+Shift+F to search for macros in your project.
  • Qt Designer - assign action to widget

    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, You can check the "bug report system":http://bugreports.qt-project.org to see whether there's already something. If not you can open a feature request.
  • QBS and ui in StaticLibrary

    2
    0 Votes
    2 Posts
    1k Views
    J
    Ok, i found working solution: @Export { Depends { name: "cpp" } cpp.includePaths: product.buildDirectory + "/GeneratedFiles/" + product.name }@ But it is looks ugly, because of hardcoded "GeneratedFiles". Does anybody know better way?
  • Visual Studio 2012 support for QT4

    4
    0 Votes
    4 Posts
    2k Views
    P
    Hi A. Verbenko Take a look at Qt Creator. It is a nice tool, has lots of bugs, but it works. I switched from Visual Studio + Add In 1.1.11 (the last for Qt 4) to Qt Creator, because this Addin is horrible... It takes about three days to have the pro file ready to compile my 26 applications with four dependend DLLs. The good thing of creator is shadow builds and a good kit management, which allows me, to add all my 32- Bit and 64 - Bit versions of Qt 4 and 5 put in Creator and use also Visual C++ 2008 to 2012 (and I guess, also 2013 or 2014, what ever microsoft offers in the future). You have all you need, clear structures.. Lack is: you can not compile a single file (this is real bad!), debugging request a complete check of the project and all things must fit to start the debug. Lack is: Debugging with CDB is slow and lots of debug helper are missing, but it works. The good: No big overhead, fast compile, much faster than with Visual Studio projects... Kind regards from germany, Peter
  • What are the repositories for OSX

    3
    0 Votes
    3 Posts
    1k Views
    W
    Well that explains it! Thanks
  • QT Creator's .pro file - where is the debug/release intelligence

    8
    0 Votes
    8 Posts
    21k Views
    Z
    don't use @debug: TARGET = appnameD@ The correct thing to do is @CONFIG(debug, debug | release): TARGET = appnameD@ see http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#config
  • Possible Bug In QMake

    5
    0 Votes
    5 Posts
    2k Views
    J
    That package does not exist in my repos, I'll see if I can find a ppa
  • Custom menu bar

    1
    0 Votes
    1 Posts
    814 Views
    No one has replied
  • QML and Tabs

    8
    0 Votes
    8 Posts
    14k Views
    B
    Thanks for the solution. it works well.