qt5.2 webview html5 drag&drop failed
i write a webpage with image drag and drop from a img tag to div…it works fine in chrome and other browser..with Qt4.8.4 webview it works fine too..but with qt5.2.0 webview it failed…i don’t kown why....
View Article[Android] [Qt 5.2] How to get activity object?
I need to get main activity, and I tried: QAndroidJniEnvironment jniEnv; jclass clsAct = jniEnv->FindClass("android/app/Activity"); qDebug() <<...
View Articleqt5.2 webview html5 drag&drop failed
i write a webpage with image drag and drop from a img tag to div…it works fine in chrome and other browser..with Qt4.8.4 webview it works fine too..but with qt5.2.0 webview it failed…i don’t kown why....
View ArticleBuild QT 5.2.0 for embedded Linux platform
Hi, I must start by saying that I am new to this area so please bear with me if the question or information is unclear. Let me know and I will update the question. I downloaded...
View ArticleThe OpenGL pbuffer example appearing blank
I am using Qt 5 cloned from git and build using command, “configure -developer-build -opensource -nomake tests -nomake examples -opengl desktop -mp” When I tried running opengl examples which come with...
View ArticleЧто за библиотеки *.a в $(QTDIR)\lib\ ?
Здравствуйте все! Хочу выяснить этот волнующий вопрос. Долгое время вижу на форумах, как некоторые участники пишут, что у них не получается собрать программу статически. Им отвечают про необходимость...
View ArticleMultiple meshes or different colored vertex sets on a single QQuickItem?
Is it possible to have more than one draw call for a QQuickItem subclass? It seems to only support one QSGGeometry instance, which suggests it cannot. For example, suppose I am drawing a multi-colored...
View ArticleShare data between dialogs
Hi, I have two dialogs with one lineEdit in each, and I wanna pass the text of the one lineEdit to the other lineEdit, but I don’t know how. Any idea?? thanks.
View ArticleError loading Qt applications on Windows when compiled with Qt static libraries
I’ve successfully built Qt as static but, once I run an application using that libraries, I get the following runtime error: “This application failed to start because it could not find or load the Qt...
View Articlehow to update other widget
when I clieck the button,how to update other widget into this program! I want to change the background ! my way is paintevet! thank you everyone!
View ArticleNative appearance of QDialogButtonBox on Android?
Standard buttons in QMessageBox look native in my Android application built using Qt 5.2 (they fill entire width of the window and have only upper horizontal border and vertical borders between them)....
View Articlemake custom keypad
how to make application for device which will map all the key events on keypad to display the correct alphabet/letter in Qtextbox . Map the events like pressing the “a” key once results in writing ‘a’...
View Article[iOS][Qt 5.2]QFile doesnt create new file
Hi, I got a problem i cannot create new file on iPad. There is the code: QFile tf("abc.txt"); tf.open(QIODevice::ReadWrite); tf.write("TEST"); tf.close();...
View ArticleAuto-detected Debuggers
Hello I had the Android NDK in a specific directory before I moved it into the Qt install directory. After I moved the NDK, Qt IDE still auto-detects the debuggers in the original location. The...
View ArticleProblem running QtQuick2 application on windows
I am facing issue while running qml application using Qtquick2 on windows. I am able to execute same application successfully on linux,. My pc supports OpenGL2.1 ,so i suppose it should not be an...
View Article[SOLVED] QSortFilterProxyModel filter whole word.
For my tableView I am using a QSortFilterModel to which a QRegExp is set QRegExp exp; if (isWholeWord) // checkbox for whole words ...
View ArticleHow to replicate the Windows 8 button 'shrink' on mouse 'press'
Is it possible to replicate the button press animation present in Windows 8 using QT? (An example can be found when clicking tabs in “PC Settings”) The mouse press/click has the effect of depressing...
View ArticleProviding absolute/relative file path
File path passed from qml is taken in relative to Build directory qml path.I want it to be relative of source directory paths I am passing it. One option would be to copy given folder path inside qml...
View ArticleOpening Cash Drawer using Qt
Hi we are developing the epos application for that we need to open the cash drawer connected to the printer,,,the printer type is EPSON and along with that printer the cash drawer is connected,,,the...
View ArticleQSqlTableModel: How can I finish adding new row to the table with [Enter] key?
How can I finish adding new row to the table with [Enter] key? Do I have to catch the key event, or is there some settings I missed? In my app, the user can right-click the table and choose “add new...
View Article