Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
458 Topics 3.2k Posts
  • Error: Qt to be configured with -opengl

    5
    0 Votes
    5 Posts
    3k Views
    N
    Hello, Thanks for your valuable reply . so you mean to say the specifics of wandboard doesnt allow the open gl (sample code framebuffer2) can't be run at all. if I wanna make it run for wandboard. what do I need to change in the setup so that the framebuffer2 code can run Thanks Nilesh Kokane
  • QByteArray read only 4 Byte from Arduino

    12
    0 Votes
    12 Posts
    7k Views
    jensen82J
    I recommend to use the RS232-Protocol and use STX and EOT to define data packets.
  • Not sure how to get started.

    2
    0 Votes
    2 Posts
    2k Views
    P
    Hi. I'd suggest you to start with the QGLWidget as a viewport. This will allow you to draw your 3d objects. You'll need to implement all the Drag and Drop events (dragEnterEvent, dragLeaveEvent, dragMoveEvent and dropEvent). I also suggest you to use a QMainWindow with dockable widgets from where you can grab your assets and drop them in your 3D viewport. I implemented something similar in my own image editing application: https://www.youtube.com/watch?v=ow8hd_vfUX8 Good luck with your game!
  • Changing Translator source text affects all translation files

    3
    0 Votes
    3 Posts
    2k Views
    J
    Thanks for your reply I will follow your advice and keep all sources in English. Assuming that in most of the cases a change in source code also implies a change in other languages the the use of keywords doesn't bring much advantage...
  • Merging multiple Qt projects into one?

    2
    0 Votes
    2 Posts
    3k Views
    A
    You need to create a "subdir":http://qt-project.org/doc/qt-5/qmake-variable-reference.html#subdirs "project":http://qt-project.org/doc/qt-5/qmake-variable-reference.html#template @ TEMPLATE = subdirs SUBDIRS = MainWindowDir Dialog1Dir Dialog2Dir ... Dialog11Dir if there is a dependency between subproject then CONFIG += ordered @ Put your current .pro files in the corresponding subdirs (MainWindowDir, Dialog1Dir, etc) QtCreator has "New project" wizard to create a "Subdir Project" in the "Other Project" list.
  • Multi Threading, pause and resume?

    2
    0 Votes
    2 Posts
    4k Views
    JKSHJ
    Hi, It really depends on what you want to do in the other thread, and how you've structured your program. I recommend you start by reading "Multithreading Technologies in Qt":http://doc-snapshot.qt-project.org/qt5-release/threads-technologies.html -- it compares all the different ways to use threads in Qt. If your program can use the map/filter/reduce pattern, Qt Concurrent provides pause/resume functionality. [quote author="Jeroi" date="1400188871"]Since I don't seem to find proper knowledge either on google or in IRC[/quote]Did you check Qt's official documentation? http://qt-project.org/doc/qt-5/qtconcurrent.html http://qt-project.org/doc/qt-5/examples-threadandconcurrent.html
  • Transparent & blur

    7
    0 Votes
    7 Posts
    8k Views
    Q
    Thank you deadbird :)
  • QML-How-to? Anonymous Access To TableView From Within Delegates

    3
    0 Votes
    3 Posts
    3k Views
    W
    Thanks, Jens, I posted this same question on StackOverflow. A couple of suggestions from one commenter, (plus about 10 hours of banging my head against my keyboard) and I actually came up with a fairly painless way to achieve this that avoids using the id AND avoids making any assumptions about the internal ancestry of a delegate. Rather than duplicating the solution here, you can read about it there: "Anonymous Access To TableView.":http://stackoverflow.com/questions/23522186/qml-how-to-anonymously-access-to-tableview-from-within-delegates: It's not quite as straightforward as the exposure of the model to the delegate, but it's pretty close. wahynes
  • [solved] Console here

    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    The shadow build directory can be set anywhere you want but not in the sources (that would defeat the purpose) You're welcome ! Since it's all good now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • Newbie Problems - Android Hello World

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [SOLVED]QPixmap on click checking

    7
    0 Votes
    7 Posts
    3k Views
    L
    I see. Thank you for help!
  • [SOLVED]Project something not working

    6
    0 Votes
    6 Posts
    2k Views
    L
    I corrected in the .pro file. Thank you!
  • [SOLVED]QStringList index problem

    3
    0 Votes
    3 Posts
    2k Views
    L
    [quote author="Clochydd" date="1397405737"]Hi, it will work with an integer variable as well. Make sure, your variable has a content which is represented in your QList - you may want to test it with qDebug() << i;[/quote] It's working. The for loop is running 0-5, but the data for QStringList have 0-4. Thank you for helping!
  • [SOLVED]MYSQL query not working

    5
    0 Votes
    5 Posts
    2k Views
    EddyE
    You're welcome, Please edit the title of your first post and prepend [solved] to it so that others can see easily it in the overview.
  • Can I make own file system access with QFileSystemModel?

    10
    0 Votes
    10 Posts
    9k Views
    J
    It looks like this was never answered. It's strange to me that QAbstractFileEngine was taken out considering Android "assets:" was added, "qrc:" has always been around, and it would be a really seamless way to integrate many things that just can't be integrated at the OS level when you don't have full control over the machine. How is it a "design flaw" to have this interface? Is GDAL VSI flawed? I think that's a matter of opinion, but the fact remains that many libraries have to work with both file and memory APIs. If a library is based on Qt, it would be nice to be able to make an abstract file system and be done with integration.
  • [Moved] qteacher or so

    6
    0 Votes
    6 Posts
    5k Views
    G
    Thank you alot. I will write you.
  • [Moved] Web server in Qt

    6
    0 Votes
    6 Posts
    8k Views
    V
    I built one library called Tufão: https://github.com/vinipsmaker/tufao
  • Qt SDK

    12
    0 Votes
    12 Posts
    7k Views
    JKSHJ
    Hi chethan7845, Please post your question in a new thread. It is completely unrelated to this one.
  • Data and Picture viewer tool

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • LGPL licensing questions

    6
    0 Votes
    6 Posts
    4k Views
    SGaistS
    AFAIK currently, on iOS the libraries are built statically. It's at least the result of the default build