跳到內容

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 主題 35.3k 貼文
  • QtCreator the problem with popup components.

    2
    0 評價
    2 貼文
    810 瀏覽
    sierdzioS
    [quote author="shav" date="1400665667"]Where I can get the last version of QtCreator which based on Qt 5.3? In Snapshots all version is based on 5.2.1. Thanks for any help![/quote] Right now you can only compile Qt Creator yourself using Qt 5.3.0. Or wait for next release of Qt Creator.
  • How do I start using qbs with QtCreator to build Qt apps?

    2
    0 評價
    2 貼文
    944 瀏覽
    sierdzioS
    The standard wizards are still based on qmake, as QBS remains a "smaller brother" here ;) Check out "the docs":http://qt-project.org/doc/qbs-1.2/index.html, they are generally getting better. The developers of QBS are very active and helpful on the QBS mailing list, too. Also, there is a wiki "here":http://qt-project.org/wiki/QBS.
  • 0 評價
    5 貼文
    1k 瀏覽
    T
    I finally just used a std::ostringstream and put in quotes HTML syntax to handle the items to be printed.... It is working now - thanks
  • [Solved] QImage works different on windows.

    9
    0 評價
    9 貼文
    2k 瀏覽
    M
    Thanks for your great advise mcosta. The problem was solved. The problem is completely related to my platforms (mac 64-bit and win 32-bit), I wrote a function that generate random numbers between 1 and N using qrand() like this: @ int random (int a){ double rndgen; int rand; rndgen = qrand(); rndgen/=(0x7fffffff); rndgen*=a; rndgen+=1; rand=rndgen; return rand; } @ And after that i decided how to manipulate data, in my mac it works great but in The Windows random function always return 1 because of RAND_MAX definition, RAND_MAX in 32-bit platforms is equal to 0x7fff but in 64-bit platforms is equal to 0x7fffffff. I've changed above code to this: @ int random (int a){ double rndgen; int rand; rndgen = qrand(); rndgen/=(RAND_MAX); rndgen*=a; rndgen+=1; rand=rndgen; return rand; } @ So the problem get solved :-) There isn't any problem with QImage :-)
  • .pro CONFIG: what to do with a third configuration?

    3
    0 評價
    3 貼文
    1k 瀏覽
    N
    It seems to me very strange that one can't introduce a third configuration behaviour. Also because you can write something like @CONFIG += "localRelease"@ in the .pro, so why can't you define a "localRelease" behaviour?
  • Some QtGui libraries that are in docs , compiler doesn't see [solved]

    6
    0 評價
    6 貼文
    1k 瀏覽
    SGaistS
    That can happen ;) You're welcome ! If this answers your question, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • Custom deployment

    4
    0 評價
    4 貼文
    1k 瀏覽
    M
    Ok, I found two distinct solutions... FIRST SOLUTION: @ mypackage.files = /path/to/my/files/on/my/pc mypackage.path = /home/root @ In this case the folder "pc" (together with its content) is copied to the target device. SECOND SOLUTION: It is also possible to exploit some undocumented QMAKE functions (as explained "here":http://www.qtcentre.org/wiki/index.php?title=Undocumented_qmake#Replace_functions): @ mypackage.files = $$files(/path/to/my/files/on/my/pc/*) mypackage.path = /home/root @ In this case only the files contained in "pc" are copied to the target device (as requested by me).
  • QT Creator 2.8 and custom project folders

    5
    0 評價
    5 貼文
    1k 瀏覽
    SGaistS
    No there's not Currently most people use the shadow build option and don't play with this stuff anymore except when they have old not yet ported projects. However I would recommend using shadow builds, this way you don't have any generated files in your source tree and you can simplify your project structure
  • [SOLVED / missing feature] Qt Creator - control which Qt version Help (F1) works for

    4
    0 評價
    4 貼文
    1k 瀏覽
    F
    Thank you very much for pointing me there, I added a comment and a vote.
  • Debug doesn't work : inferior stopped, unknown signal

    14
    0 評價
    14 貼文
    12k 瀏覽
    D
    disable reverse debugging and you're gonna be ok
  • Qt Creator - "Build Adapter for current Qt"

    5
    0 評價
    5 貼文
    2k 瀏覽
    E
    I got the same issue, any update about this ???
  • Addition/Increment in .pro file

    2
    0 評價
    2 貼文
    875 瀏覽
    A
    I am only aware of platform dependent method lilke @NUM = 42 NUM = $$system(expr $$NUM + 1) message($$NUM) @
  • QTableWidget items

    已鎖定
    2
    0 評價
    2 貼文
    768 瀏覽
    sierdzioS
    Please do not double-post. I am closing this thread. Please use this "thread":https://qt-project.org/forums/viewthread/42688/ instead.
  • Debugger

    2
    0 評價
    2 貼文
    596 瀏覽
    A
    It depends on debugger. In gdb you can type "backtrace" to see a call stack and "list" to print a code. I don't know about VS debugger. If you use QtCreator then you should see all info in Debug mode.
  • IsItQt to check if a program is Qt-based and which version Qt was used

    1
    0 評價
    1 貼文
    854 瀏覽
    尚無回覆
  • QtCreator temporarily adds additional include paths?

    4
    0 評價
    4 貼文
    2k 瀏覽
    sierdzioS
    Same is true for building. Open your project, go to "Projects" pane, then open build settings, and see the last section on the bottom: "Build environment" it contains all the variables that Qt Creator uses to build your project.
  • Squish is not able to access/display some members in Qt/QML class objects

    2
    0 評價
    2 貼文
    1k 瀏覽
    SGaistS
    Hi and welcome to devnet, For that question, you should contact froglogic directly since they are the authors of this software.
  • [REQUEST] Nokia Symbian SDK v1.1.2

    1
    0 評價
    1 貼文
    578 瀏覽
    尚無回覆
  • QtCreator Deployment: Why sftp and not scp

    3
    0 評價
    3 貼文
    4k 瀏覽
    G
    on embedded systems it's usually disabled for size reasons. any actual answer to this?
  • [Solved] Qt Creator search: Regular expressions

    3
    0 評價
    3 貼文
    5k 瀏覽
    A
    Yes, this is what I want. Thanks for clarifying.