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
  • [SOLVED] qmake subdirs odd behaviour on OSX

    2
    0 Votes
    2 Posts
    2k Views
    R

    The UTF-8 BOM was present in my pro files and qmake doesn't seem to like it.

    I removed them with option in QtCreator.
    All is fine now

  • Can i use html5 coding in Qt?

    4
    0 Votes
    4 Posts
    2k Views
    M

    Be sure and mark the thread as [Solved]. Thanks!

  • Clang toolchain configuration

    3
    0 Votes
    3 Posts
    5k Views
    S

    I'm using fully updated Qt SDK on windows so it's Qt 4.7.4 atm. I just wanted to try Clang, so I can wait for a stable Qt 4.8 and working version of Clang for windows. There's no rush :). Thanks for answer.

  • New 4.7.4 Update Includes MySQL Plugin?

    5
    0 Votes
    5 Posts
    3k Views
    B

    My path includes a mysql driver. Peppe wins :(

  • [SOLVED] linking errors in Qt

    32
    0 Votes
    32 Posts
    12k Views
    O

    Oops, i forgot to add the solution to my original problem in this thread. Its as follows:
    if getting errors: undefined reference to `snd_pcm_open etc
    Solution:
    Add the following line to the .pro file:
    @LIBS += -lasound@

  • Debug steps

    2
    0 Votes
    2 Posts
    2k Views
    L

    The debugger stops at the first breakpoint found. If it stops earlier, there is either another breakpoint or an application error which forces the debugger to halt the application.

    In addition, you cannot "jump" to a specific breakpoint. Your application will have to follow the program flow until it reaches to code triggering the breakpoint.

  • [Moved] Qt creator error

    4
    0 Votes
    4 Posts
    3k Views
    A

    i did uninstalled it and reinstalled it in another drive and it work fine now :D...thank u :D

  • Share my qmake project file

    2
    0 Votes
    2 Posts
    2k Views
    T

    Why don't you just use shadow building?

    Just do create a directory "linux" next to the directory holding your sources, change into it and do qmake ../sources/myprofile.pro and you have all your linux stuff nicely separated from the sources. Of course you can have several other build directories in parallel, each with their own settings.

  • [SOLVED] QtCreator 2.2.1 crashes when debugging

    12
    0 Votes
    12 Posts
    10k Views
    S

    Removing all assert statements in the code solved the problem, sorry for the very long delay in updating the thread.

  • [moved] Adding an extra tool to the tool chain

    7
    0 Votes
    7 Posts
    4k Views
    R

    I solved my problem, in probably an ugly way. I discovered that Qt Creator offers extra build steps, that you can place before or after the supplied build steps. In case it helps somebody else, here's the entry I made. Click the Project tab.

    Enable custom process step. (checked)
    Command: "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\nmake" -f m4.mak
    Working directory: C:\Users\Rick\bazaar_repository\data_struct
    Command arguments: (empty)

    Rick

  • 0 Votes
    4 Posts
    3k Views
    T

    Sorry, I am no expert in that area:-( I think you will find better answers to such Symbian specific questions on developer.nokia.com (note the missing Qt in the URL).

  • About Qt Creator code completion

    2
    0 Votes
    2 Posts
    3k Views
    T

    Are the relevant C++ header files set up correctly for your project (e.g. by using QT += network or whichever module you are using)? That is needed for both building the stuff as well as using it, so if your project does run fine then the code completion should also work.

  • 0 Votes
    3 Posts
    2k Views
    T

    sorry, my english is very little.

    what is compiler for Opengles 2.0 vertex and fragment shader on N9, N950?

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

    The trick is this:

    In your form, place two QWidgets, one for each of the pannels. Put those two widgets in a horizontal layout. now, set the size policies of the widgets, so that the left one is fixed, and the right one is minimumExpanding. Next, put the contents of your form sides inside these widgets, and again apply a layout to each of the created "panels". Note that you can also use some other widget (like QFrame or QGroupbox) instead of QWidget if that suits your needs better.

  • 0 Votes
    2 Posts
    5k Views
    L

    A common solution is to build the application using the libraries and headers files found within the source directory. If you want that your application can be built using both (system-wide and local) just add a conditional to your .pro file.
    @
    // toplevel.pro

    SUBDIRS += lib app
    CONFIG += ordered // make sure lib is built before app

    // app.pro

    exists(/usr/include/yourproject.h) { // system-wide includes installed
    INCLUDEPATH += /usr/include
    LIBS += -L/usr/lib
    }
    else {
    INCLUDEPATH += ../include
    LIBS += -L../lib
    }
    @
    Brain to terminal. Not tested.

    make install then copies the includes and libraries to their system-wide places, so that other applications can use it as well.

    A more sophisticated solution would be using "qmake features":http://doc.qt.nokia.com/latest/qmake-advanced-usage.html#adding-new-configuration-features as for example "QCA":http://delta.affinix.com/qca/ does.

  • 0 Votes
    6 Posts
    3k Views
    T

    I do think we mention the need to have the debugging tools installed in the installation as well as the documentation.

  • 0 Votes
    13 Posts
    6k Views
    L

    If you think about it, there is no way for Qt Creator to add anything useful for you in that situation. What you normally put there are a number of variable names or constants, but Qt Creator cannot possibly know which ones.

  • 0 Votes
    4 Posts
    2k Views
    T

    Or just ask for a status update in the bug report directly.

  • [solved] Creator detecting a WinCE ABI

    2
    0 Votes
    2 Posts
    2k Views
    K

    You should mark your post with [Solved] in the subject line.