Qmake_info_plist keyword. As Jiangzi below:QMAKE_INFO_PLIST += MultiWindow.plistWell, about the configuration items in the pro file that are related to mixed use of OC. Next we look at how to write Objective C code.Mix with objective C codeDear, very frightened, this is my weakness, did not write how many OC code. So, please don't ask me about OC questions, I really don't know ...BackgroundMy example is to overlay the iOS native interface on the QML interface, i.e. UIView, UIWindow and the like
Because the previous use of Ubuntu under the Qtcreator development, now want to install a system on Mac, because it has not been installed, or spent a little time, rather than write a blog, the next time installed faster. With QT development under Mac OS X, QT libraries and compilers need to be configured. The compiler can only use clang that Apple has developed on its own.The first is:Download: Command_lin
. OpenGL is the core and is the basis of the latest QtQuick2 and QtWebkit; the first class is a general graphics display class based on the auxiliary access and input mode. They are the basis of the classic QWidget component class and QtQuick1.
IV. If the QtQml and QtQuick frameworks need to ask what is the biggest update and feature of Qt 5, they are not QtQml and QtQuick. In fact, QtQuick was already available in
QT is a cross-platform, C + + graphical user interface application framework. (not just C + +, but also QML,QQUICK,HTML5) it provides the functionality that application developers need to build an art-level graphical user interface. QT is completely object-oriented, easy to scale, and allows for true component programming.QT Creator cross-platform Qt IDE,
Download Qt-opensource-windows-x86-mingw482_opengl-5.3.1.exe (http://qt-project.org/downloads) website. This executable program has encapsulated QT libraries, QT Creator for us. So we just need this one executable program just fine.Qt-opensource-windows-x86-msvc2013_64_opengl-5.3.1.exe This version, with the above vers
QWidget and OpenGL, Which is QGLWidget.
3. The QQuick class uses OpenGL for rendering and supports multi-threaded rendering. Qt only provides the qml interface for ease of use, the exposed QQuickItem class is used for custom controls. In practice, in a unix-like environment, all the controls in QQuick also provide C ++ interfaces for programming, except that the Qt document does not contain or corresponds
Through the use of Qt Creator, we can quickly design the interface with designer (interface designer).This example UI content is as follows (simply adding a button):The code directory structure of the project is as follows:Eventually a UI file is generated in the directory where the project is located:This UI file is actually an XML file:when we compile QT program code,
QT was first developed by caused by parity, who was later acquired by Nokia and then bought by Digia. So some people would mistakenly think that Qt was born for the Symbian system, which is a product of backwardness.
But many embedded software and desktop tools are developed using QT, including Quartus and cadence, which are also useful to
management, and browse tools.QT Quick is an advanced user interface technology introduced in QT 4.7 that developers and designers can use to collaborate to create animated touch-enabled user interfaces and applications . QT Quick is the main content of QT 5, which is not co
QT Portal access: Any QT user can view this feature when you are a group master or group Administrator of one or more groups, you can turn on/off the QT portal for the corresponding group
Introduction to the function of the QT Portal: It is a quick access to the
Original address:: http://bbs.csdn.net/topics/280013448
Related articles
1, Novice ask QT call dynamic library so file----http://bbs.csdn.net/topics/391542908?page=1
In the. Pro file, add:LIBS + +-lyourlibpath-lyourlibnameFor example, if your library name is/usr/lib/libtt/libtt.so, you should add:LIBS + +-L/USR/LIB/LIBTT-LTTIn the. cpp file, add the extern "C" and compile the
//==========================================================
Qt thread Summary (1) Qt simple thread and qt thread Summary
This series is a summary of the use of a period of time, including thread creation, inter-thread communication, etc., write a little bit every day.
The first section describes how to create and use a thread.
First of all, these articles are mainly intended for newcomers. Because
folder, open the command line, input windeployqtproject.exe, this time most of the DLL files are automatically copied, but if the project is also used Some other SDK, such as opencv,chartdir51 and so on, you need to manually copy the required DLLs, if you do not know which software you need, you can use Dependency walker to see which DLL files are missing.
The list of files under the folder after the copy is complete is as follows:
Note: If the published app is a
Qt has rich built-in dialogs, such as color settings, font settings, and file selection. Let's take a look at the overall interface:
Next, let's take a look at the implementation code of the color selection dialog box:
1: qpalette palette = displaytextedit-> palette ();/* Obtain the palette in textedit */ 2: 3:/* Open a color dialog box and obtain the selected color */ 4:ConstQcolor color = 5: qcolordialog: getcolor (palette. color (qpalette:
compilation, you can delete all files not on the current compilation date in the bin directory. We recommend that you remove all files in the examples and Demos folders before compilation to avoid re-compiling these two folders and speed up compilation. In addition, Please configure the compilation command according to your actual situation. The above configuration is (take vs2005 static compilation as an example ): -Platform win32-msvc2005 target platform-release disable debugging information-
When porting qml-related code from QT 4.8 to QT 5, application developers should is aware that the QML infrastructure have Undergone considerable changes in Qt 5. The sections below describe these changes and the impact they has on your existing code.This article describes the changes that affect your existing code. If you is interested in the summary of all new
; "alt=" 966613e0afbaf6d48452e69793ba36be.png "/>
Running C++/QT Example
2. QT API Reference -you get also Qt API documentation completely. Need Internet to read it. For examples, if-use-a Qt Class in your source code, say it Qpushbutton, just put your cursor on the that text, and press F1.
Phone OS, Sailfish OS. and GTK only reluctantly support three big desktop (Linux/unix basically can only X11, framebuffer Support Limited, Eglfs completely does not support).6. OtherQt-creator has gradually been called the best C + + IDE outside of VS, Qt and the open source community very rare beautiful rich document, QT framework covers a wide range, not limited to the GUI, this is to take
Copyright:
Original Works are allowed to be reprinted. During reprinting, please mark the article in hyperlink form
Original source, author information, and this statement. Otherwise, legal liability will be held. Http://alwayzy.blog.51cto.com/2109731/387464
Name: Download, installation, and configuration of qt sdk, one of QT learning notesAuthor: alwayzyEmail: alwayzy@gmail.comTime: 2010.09.04
Disclaimer:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.