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
    15 Posts
    23k Views
    D

    I also thought I was experiencing an issue with the glibc toolchain, but our resident toolchain guru set me straight. We quickly built up the "strace" tool and added that to our embedded system. It immediately told us there was a library dependency that was not being met (libQtOpenGL in our case). This may not be your issue, but I wanted to share how we dissected the error to identify the root cause.
    Good Luck!

  • 0 Votes
    11 Posts
    6k Views
    N

    I am having almost the same problem, any updates on the issue? I started believing this is a bug in OpenCV that has something to do with Qt.

  • 0 Votes
    2 Posts
    2k Views
    T

    I think the application output window does not even accept input at all. So far I always tested this with embedded devices that come with their own input methods... I doubt anybody ever wanted stdin redirection so far.

    Please consider to "file a bug report":http://bugreports.qt.nokia.com/ .

  • Install and work with Qt Creator debugger

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    K

    "double posting":http://qt-project.org/forums/viewthread/19387/ is not of advantage.
    You are correct that your post fits better here, but we could have moved it. Please continue where you have already gotten feedback.
    Closing this one

  • 1 Votes
    9 Posts
    5k Views
    M

    Sorry to say that but qt style guide and qt creator style guide are equal in that particular case.

  • Cant Use Qmake

    5
    0 Votes
    5 Posts
    2k Views
    K

    I got it now. I should use Qt Creator and try Qt Tutorials.

    Thank you my friends for help.

  • Problem with "static const" variable in qdoc

    2
    0 Votes
    2 Posts
    2k Views
    F

    In my opinion this is not a qdoc problem but a problem with your code.

    If you write (just for explanation)

    @ static const int dirEsquerdaCima = 1;
    @

    on top of a *.cpp or *.c module (file) then this means, that this variable is only known within that c or cpp module. You can write that code into evey module you want so every module will have its own variable - each not visible from the other modules.

    This is what you do, when you write that code into a header file. Each module that includes this header file will have its own variable.

    But if you write

    @ extern const int dirEsquerdaCima;
    @

    in the mentioned headerfile and

    @ const int dirEsquerdaCima = 1;
    @

    in ONE of your modules it probably will work. This idea does not cover static variables in classes.

  • 0 Votes
    2 Posts
    1k Views
    sierdzioS

    PLease note, that qdoc is an internal Qt documentation generator and is not intended for general use. Qt devs usually recommend using doxygen.

    If you insist on using qdoc, take a look at Qt sources to see how contributors do it.

  • 0 Votes
    8 Posts
    7k Views
    A

    FWIW, I have revisited this issue since I really didn't like having to hard set QT_QMAKE_EXECUTABLE. So, instead, I rely on the fact that I, personally at least, set Qt's path in /etc/profile:

    @EXECUTE_PROCESS(
    COMMAND sh -c ". /etc/profile && which qmake"
    OUTPUT_STRIP_TRAILING_WHITESPACE
    OUTPUT_VARIABLE QT_QMAKE_EXECUTABLE
    )@

  • SIGSEGV Error when debugging with Qt creator.

    5
    0 Votes
    5 Posts
    41k Views
    F

    When you got the SIGSEGV while debugging, click away the debugger message box and look at the stack with the call history. There you'll find the procedure that was last called (as JKSH wrote).

  • The question about configure Qt Creator

    3
    0 Votes
    3 Posts
    1k Views
    N

    My Qt Creator is 2.4.1.My step is as default.Now I create an empty project and compile the code,it works well.

  • Debuging C++ in QT Creator

    3
    0 Votes
    3 Posts
    2k Views
    D

    Press Shift-F11 to run until a function exits. The return value will show up in a separate section in the "Locals and Expressions" view.

  • Can Qt Creator show disassembly?

    4
    0 Votes
    4 Posts
    9k Views
    D

    Pure console stuff on Windows? Put a sleep(1) or equivalent at the top of main()

  • 0 Votes
    8 Posts
    6k Views
    D

    Gdb 6.8 is indeed not supported with Creator 2.5. On Mac, use some of Apple's 6.3 fork, and everywhere else, Python scripting is required. The official lower limit is 7.2 IIRC.

  • Remote Compiler authentication does not work

    1
    0 Votes
    1 Posts
    973 Views
    No one has replied
  • Generating .qhc files from html files

    7
    0 Votes
    7 Posts
    4k Views
    C

    Hey coolhead, could you give us a tip how you have converted the html files using qhelpgenerator. I have a bunch of htmls that i want to combine in one qhc file. Please help

  • [Resolved]qmake i386 vs i386:x86-64

    10
    0 Votes
    10 Posts
    8k Views
    K

    Got it, PEBKAC.

    You were close to right with the problem, franku.

    Thanks for the replies, appreciate the help.

  • Qt Creator 2.5 keeps quitting (?)

    11
    0 Votes
    11 Posts
    4k Views
    T

    Please file a bug report then, providing as much information as possible on how to trigger this behavior.

  • 0 Votes
    4 Posts
    2k Views
    G

    Thanks a lot, I agree with your suggestion

  • Debugger not configured correctly

    31
    0 Votes
    31 Posts
    28k Views
    B

    Hello Everyone:

    I am struggling to get debugging working, and I feel quite "in the dark" about its setup.

    I had the errors that began this thread. I tried everything in this thread and finally made progress by following Uranium-235's checklist.

    I don't understand cloning, but at least I was able to run the debugger without errors. However, all of my breakpoints are ignored!

    There is much that I don't understand about Tools->Options->Debugger:

    Do I need to add something to the Source Path, or the Target Path, in the General sheet?

    In these sheets, what does it mean that there are a bunch of items in a list? Are they all accessed, or do I have to specify the use of one, somehow?

    In the CDB sheet, I added the CDB location folder in Source paths. Should I add something to Symbols paths? There are three paths specified currently, I don't know why.

    There are many items listed in Options->Build & Run-> Tool Chains, (including the clone I made). Is it no problem to have so many items? Should I somehow indicate a priority?

    Background: I inherited a large Qt project. It was created on a different computer; I downloaded Qt 4.8.1 for Desktop - MSVC2010 (Qt SKD).

    Thanks!