Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.9k Posts
  • SQLite to MySQL

    3
    0 Votes
    3 Posts
    2k Views
    J
    Special library Predicate (http://community.kde.org/Predicate) I am developing extends Qt and has switching between MySQL and SQLite set as one of the requirements. It was a part of Kexi, and now isn't technically dependent on KDE or Kexi. If you think it’s all nice and shiny, now the bad news: it is still not production ready. Related post at http://qt-project.org/forums/viewthread/4078/#24749
  • 0 Votes
    9 Posts
    3k Views
    sierdzioS
    Well, I call that good attitude. Learning through practice of setting yourself a goal just above your current level of knowledge and experience. That is how I've learned programming, English, and many other things, too :) Anyway, glad to hear it works for you. Happy further coding!
  • QTimer timeout delay debug mode in MSVC2010

    2
    0 Votes
    2 Posts
    2k Views
    K
    [quote author="tcampos" date="1340035695"] Is this a MSVC2010 issue or do you recommend another type of implementation? Maybe relying on the system time instead of the 20ms value? [/quote] This might depend on your implementation. I guess you simply define a QTimer with a 20 ms interval. It should be fired more or less every 20 ms. There are other thread concentrating on the variations caused by the scheduling of the OS. This should be system time. What should it be? The debug mode compilations are typically requiring more time for processing. If you run your application compiled in debug in the debugger it even more time. If the CPU consumption for slot routine is already close to 20 ms, it is very likely that it take more than 20 ms in the debugger.
  • How to properly cancel QNetworkAccessManager request?

    8
    0 Votes
    8 Posts
    18k Views
    G
    I read this but understood "underlying network interface" not as "network adapter system interface" but as "Qt network interface lying under QNetworkSession" instead. I cannot believe that application can so easy stop all network connections for entire system. I would expect that system-level functions were described with specific warnings. Member stop() would be described clearly as "This will stop all your network connections on entire system". I do not see it stops any one but open in application. Can anybody else familiar with QNetworkSession class comment this?
  • Qt can i set resources programatically?

    7
    0 Votes
    7 Posts
    3k Views
    U
    Thanks i will try it , i hope it will work with Qt
  • Return of uint QDir::count () const

    5
    0 Votes
    5 Posts
    2k Views
    K
    [quote author="BibekKumar" date="1340007257"]Suppose the directory structure is as follows a->b,c and A->a then in this case if i apply the above function , then "." represents a since it holds b and c , whereas ".." represents A which holds a . Am i right ????[/quote] Yes, those are simply some representations. There are some more explanations on how using and handling of those special cases in Qt docs e.g. "relativeFilePath":http://qt-project.org/doc/qt-4.8/qdir.html#relativeFilePath
  • Qt Creator problem

    12
    0 Votes
    12 Posts
    4k Views
    T
    "master" is the branch where all our development happens. So anything build from that branch has all the latest and greatest features and of course bugs;-) Currently the version number used in the master branch is 2.5.81.
  • Shader creation segmentation fault

    2
    0 Votes
    2 Posts
    949 Views
    N
    bump, anyone has a solution for this or got a useful link to read?
  • [Qt][Windows] Listing the contents in an archive (zip, 7z, etc.)

    3
    0 Votes
    3 Posts
    5k Views
    V
    7-Zip (7z.exe) provides a way of listing the contents of archive file - 7z.exe l <archive.zip> will list contents of archive.zip - may be this output could be used to list contents.
  • Find and replace

    6
    0 Votes
    6 Posts
    3k Views
    V
    Thank for ur reply i achieved it by writing the result to the another file thank for ur help
  • Creating server application

    4
    0 Votes
    4 Posts
    2k Views
    Q
    Yes WCF is great thing, i used it few times before. But for now i need some thing which works on Linux(to be exact free-libre system), and the J2EE is best for that. But i would be glad if exist any solution based on Qt. [quote author="Shane Kearns" date="1339764501"] but you would be better off to look for a server toolkit to implement the server side.[/quote] what kind of server toolkit you can recommended?
  • Model View with Nested Collections and Multiple Views / Widgets

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • CPU usage gauge

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Apparent inconsistency with QFontMetrics::width()

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to make the widgets look cool

    3
    0 Votes
    3 Posts
    2k Views
    T
    I prefer QSS. But current tendentions are in direction of Qt Quick, QML (JavaScript-like language). Read about them on DevNet. Here a big Wiki with information.
  • Picking in OpenGL 4.x core

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Cutting down app size

    3
    0 Votes
    3 Posts
    2k Views
    J
    200 Mb seems like a lot. You probably are using debug mode ? Any way you can try upx ro reduce your files size.
  • Macbook trackpad & singer finger events

    4
    0 Votes
    4 Posts
    2k Views
    I
    It seems I've found the issue: widgets which are lied on top of my window receive touch events and since they doesn't have Qt::WA_TouchPadAcceptSingleTouchEvents, just ignore it. Is there a better solution then just set that flag to all descendants recursively?
  • QPropertyAnimation problem

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Using QT widget from cocoa application

    3
    0 Votes
    3 Posts
    2k Views
    T
    QT == QuickTime Qt == Qt. Use Qt instead of QT.