Strange behavior when reading text file line by line with QTextStream
I have this basic program: QFile file("h:/test.txt"); file.open(QFile::ReadOnly | QFile::Text); QTextStream...
View ArticleManaging cross-platform code repositories
Hi everyone, This thread was lost during the server crash so if you’re reading this again, you aren’t experiencing deja vu :P I’ve been developing an application predominantly on Windows, but now want...
View ArticleTo create a new dialogue box using QML
Dear guys, I’m a beginner in QT.Just before 5 days i have started to work on it.Now i was working in QML…In that,my task is to create a new dialogue box by disabling the parent control..That is,if we...
View Articleplaying video with Qt’s QtWebKit module
playing video with Qt’s QtWebKit module if you’re using Google Chrome ,When you open the following link https://d2pq0u4uni88oo.cloudfront.net/projects/79786/video-87361-h264_high.mp4 you’ll see a video...
View ArticleRunning QWS application with OpenVG (Mesa)
hi there I’ve have cross-compiled the Mesa library in order to have operational 2D/3D acceleration on my Intel Atom (Pineview with GMA3150) machine. I have a simple question regarding how to run a QWS...
View ArticleQtabelwidget in a qvboxlayout
Hi, i am doing a project to show chart. I have a qvboxlayout with a table that is a my class sublassing from qtablewidget and a canvas for draw chart. But in my layout the table expand in all the...
View ArticleMake a Anti Virus with Qt
Hi, I want to make anti virus using Qt Qt is the ability to do this? Whether it is appropriate for Qt
View ArticleQt-Creator + MAC + Spanish keyboard: I can't write curly brackets!
Hello there! I’m developing in a Mac Mini with Qt-Creator 5.0.1 as my IDE. I have found that I can’t write the “{” symbol anymore! I was able to do it before,but I can’t do it now. I don’t know how to...
View ArticleQSqlTableModel - table name issue in Postresql
Hi All, Recently I noticed that I’ve to add double quotes to table’s name for calling Postgresql’s table while it’s not required for MySQL or SQLite tables!! how can I make QSqlTableModel works in same...
View Articleqt creator with subdirs template
I am using qt creator with subdirs template. Actually I have a all_projects.pro based on subdirs template. I am listing in there a libs.pro and a couple of application .pro files. The libs.pro is again...
View ArticlePerformance issue with multi QQuickView
I am working on Mac OS, in my app, there will be two QQuickViews, one is an editor, the other one is an animation player which will play the content of the editor. When the player runs in another...
View ArticleQCamera reports no support for QCamera::CaptureVideo mode
I am trying to work with Qt 5.0.1 using a ViewFinder and to capture video from a webcam similar to that of the Camera multimedia example. Both in my application AND in the Camera example, the Camera...
View Articleمشکل وبسایت
همونطور که وبسایت qt-project.org اعلام میکنه، سرور ها با مشکل مواجه شدند و بک آپ مربوط به چند روز پیش تونسته که restore بشه. بخاطر همین یکسری از اطلاعات از بین رفته. این رو گفتم چونکه بعضی از پیغام ها...
View ArticleQwt - Plotting Problem
Hello guys. I want to plot functions with Qwt. I found a example about this. But example is complicated. I dont understand. I have datas (x and y). How can i plot x and y line this ptoho? Photo link:...
View ArticleUnneeded folders in compiled Qt source? Also, alternative to MT flag?
According to this [qt-project.org], compiling Qt with the static flag and the MT flag will cause “memory problems.” One thing that I definitely do NOT need is extra headaches. So I’m trying to...
View Articleساختار گرافیکی QtQuick2 و کتابخانه Angle
سلام بچه ها مدت زیادیه با QtQuick2 و Qt5 کار میکنم ولی هنوز دقیقا متوجه نشدم QtQuick2 چطور کار میکنه و نقش کتابخانه Angle چیه و اصلا خود Angle چیه و به چه درد میخوره!!؟؟؟ ممنون میشم کسی در موردش توضیح...
View ArticleBuilding Qt fails for OS X and C++11
I’m trying to build Qt from source and am invoking configure as follows: ./configure -opensource -optimized-qmake -c++11 This results in an error saying that my compiler (clang) doesn’t support C++11....
View Articlehow to create installer including QODBC
Hy to all I wrote a program that uses QODBC driver, everything works fine on my PC where I have Qt installed. But then I create an installer to export my program to an other computer. but when I open...
View ArticleHow to Configure for cross compilation?
Hi, I am using QT Creator 2.7 on Ubuntu and want to cross compile/debug on the Beaglebone. I have downloaded and run make on qt-everywhere-opensource-src-4.8.4. I have also downloaded and set up the...
View ArticleQGLWidget offscreen rendering and GL_MAX_TEXTURE_SIZE
Dear Qt-ers, I wrote a small application displaying an heightmap with a texture and I would like to export a snapshot bigger than my screen. I found the convenient QGLWidget::renderPixmap() but...
View Article