Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. windows7
    Log in to post
    • All categories
    • MasterBLB

      Unsolved Mysterious QMutex destroying locked mutex
      General and Desktop • qthread qmutex crash windows7 • • MasterBLB

      14
      0
      Votes
      14
      Posts
      1818
      Views

      kshegunov

      Humor me, will you?

      constexpr int poolSize = 16; QVector<QThread *> threadPool(poolSize); QCoreApplication * app = QCoreApplication::instance(); for (size_t i = 0; i < poolSize; i++) { QThread * thread = new QThread(app); thread->start(); QObject::connect(thread, &QThread::finished, thread, &QThread::deleteLater); } QObject::connect(app, &QCoreApplication::aboutToQuit, [threadPool] () -> void { for (QThread * thread : threadPool) { thread->quit(); thread->wait(); } }); int index = 0; for (const QString &video : videoFiles) { ThumbnailExtractor *extractor = new ThumbnailExtractor(counter, folderPath + '/' + video); extractor->moveToThread(threadPool[index++ % poolSize]); QObject::connect(extractor, &ThumbnailExtractor::finished, extractor, &QObject::deleteLater); QMetaObject::invokeMethod(extractor, &ThumbnailExtractor::generateThumbnail, Qt::QueuedConnection); }

      A note here:
      QMediaPlayer and related classes don't seem to be reentrant so you can't use them from different threads. Stick to the main one.

    • QuentinJanuel

      Unsolved QMediaPlayer stays in UnknownMediaStatus on Windows 7
      General and Desktop • qmediaplayer windows 7 windows7 video • • QuentinJanuel

      4
      0
      Votes
      4
      Posts
      629
      Views

      QuentinJanuel

      Here is pretty much the commands I use to deploy the app:

      qmake videoplayer/videoplayer.pro -o build/MakeFile -r -spec win32-msvc2010 -nocache jom -f Makefile -s windeployqt --release release
    • S

      Unsolved No compiler found in kit error Qt5.8 on windows
      Installation and Deployment • qt5.8 msvc2015 windows7 • • Script22

      6
      0
      Votes
      6
      Posts
      2804
      Views

      SGaist

      Strange, i'd check if the Windows SDK is installed.

    • CAD_coding

      Unsolved Develop Qt MinGW application for deploying to Windows 10 from a Windows 7 host?
      General and Desktop • deploymet windows10 windows7 mingw crash • • CAD_coding

      2
      0
      Votes
      2
      Posts
      969
      Views

      Flotisable

      @CAD_coding
      form the official document, I think you can do it

    • M

      Solved Qt installation and dual booting
      Installation and Deployment • windows7 ubuntu dual booting • • michelson

      4
      0
      Votes
      4
      Posts
      1015
      Views

      M

      Alright if you say it may couse some problems I think I will install it twice.

    • the_

      Unsolved QStandardPath::writeableLocation() Permission denied?
      General and Desktop • qstandardpath writeablelocati windows7 • • the_

      3
      0
      Votes
      3
      Posts
      1349
      Views

      the_

      @mrjj

      The QMessageBox shows the same temp. location as i can see when i run set in the commandline. Its the default TempLocation used by Windows ("C:/Users/<USER>/AppData/Local/Temp").
      And this piece of code always fails to write to this location on this PC.

      I will check for antivirus issues next time when i have access to this PC.

    • J

      Solved Why is moc so slow when moving from qt 5.4 to qt 5.6?
      General and Desktop • moc qt5.4 qt5.6 windows7 64bit • • Jakob

      7
      0
      Votes
      7
      Posts
      3684
      Views

      J

      @SGaist So, last week our integrator had a moment of lucidity, and realized that we were actually using a debug-version of moc.exe instead of a release-build...........

      I did a quick test with a release build of moc.exe, which took the exact same measurement I mentioned above back to 1m10s, so indeed faster than with the 5.4-version, as you expected.

    • C

      BOOST link problem related to the migration of Qt4 to Qt5 using MinGW on Windows
      General and Desktop • boost migration qt5.5 linker errors windows7 desktop mingw32 • • Claude

      11
      0
      Votes
      11
      Posts
      5273
      Views

      SGaist

      For b, check whether the library has other dependencies. You might be missing one.

    • D

      How to compile qt source on Windows7 platform?
      General and Desktop • compile source code windows7 opengl mingw • • dhuta

      5
      0
      Votes
      5
      Posts
      1922
      Views

      SGaist

      Hi,

      To add to @koahnig, it's not a Qt specific problem. Compilers on Windows are not compatible one with the other, so basically you have to ensure that all components of your software are built using the same compiler.

    • B

      QMediaPlayer fails to play on a specific computer
      General and Desktop • qmediaplayer 5.2 windows7 codec missing formaterror playback • • Budiulik

      7
      2
      Votes
      7
      Posts
      2616
      Views

      B

      Hi, 32bit Windows 7 Home Edition.

      Anyway maybe I found a workaround. In case an error occurs when trying to play the movie, there is a maximum number of retries...
      I have done this because my suspect is that, due to the CF-19 "poor" performances, the libraries aren't (fully) loaded when the movie is played.

      I will keep you up to date whether this is or this is not THE solution, for anyone else's benefit.

      Thanks to everybody!

    • T

      Qt Creator 3.3.2 white text in search tools
      Tools • qt creator 3.3 windows7 • • theunsheydenrych

      2
      0
      Votes
      2
      Posts
      762
      Views

      T

      @theunsheydenrych I rebooted the Windows machine and it was fine again.

    • enjoysmath

      Win 7, Qt installer doesn't work
      General and Desktop • windows7 installation • • enjoysmath

      2
      0
      Votes
      2
      Posts
      1126
      Views

      JKSH

      Hi @enjoysmath, and welcome to the Qt Dev Net!

      Your download mirror might be having problems. You can use this tool to choose a different mirror: https://forum.qt.io/topic/43349/

    • MeerMusik

      [Partly Solved] [QtCreator+GitLab] SSH-Agent: Timeout and unable to do anything
      General and Desktop • gitlab qtcreator ssh windows7 • • MeerMusik

      4
      0
      Votes
      4
      Posts
      3333
      Views

      MeerMusik

      @SGaist Morning.

      Yes I know that this Forum is more Community driven. When I find the time, I will propably ask that on the Mailing List. [Thanks for the direct Link btw]

      Have a nice weekend.