Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all 2113 articles
Browse latest View live

Deploying in Windows, missing DLLs

$
0
0
I am having trouble with deploying a Qt application on a target machine, one that doesn’t have VS or Qt installed. Details can be found here – SO [stackoverflow.com]

Qt Examples in Different Directory

$
0
0
I have Qt 4.8 version installed from Linux repository which was installed in the default usr/bin. I also installed the latest version 5.3 via the SDK which resides in the /opt directory. However when I use the new QtCreator, the demos and examples on the Welcome screen still shows the set from the old 4.8 version. How can I have QtCreator point to the new set of examples residing in /opt?

Install QtSerialPort to alternate location?

$
0
0
I have successfully built the (old) ‘stable’ branch of QtSerialPort. Now I would like to install it to a custom prefix. How do I do this? Using ‘qmake PREFIX=/path’ did not work. Note that I’m trying to build it against Qt4 as a stand-alone library, and also that 5.3 currently fails to build¹ in this configuration which is why I’m building the older ‘stable’ instead. ¹ https://bugreports.qt-project.org/browse/QTBUG-41190

Segmentation fault in Ubuntu x64 Setup 5.3.1

$
0
0
Hello, first of all I am not sure if this is a bug or a configuration porblem that is why I posted it here first. I tried to install precompiled Qt Libararies from the website. After I click on Next, it craches with Segmentation fault. My machine is a virtual headless server with 2 GB Ram Single Core CPU Ubuntu x64 14.04.1 LTS Xvfb Display I also tried to use pre build package from apt but from this installation I could not start qtcreator. When I build from Source, qtcreator is able to start but craches when I try to open a project. Interesting is that my project compiles and runs without any problems. I have read many discussions but did not find a solution. It has probably something to do with memory allocation. I was not able to debug qtcreator because gdb threw segmentation fualt, too. Here is a gdb trace of the setup: gdb qt-opensource-linux-x64-5.3.1.run GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7 This GDB was configured as “x86_64-linux-gnu”. Reading symbols from qt-opensource-linux-x64-5.3.1.run…(no debugging symbols found)…done. (gdb) run Starting program: /home/niels/qt/qt-opensource-linux-x64-5.3.1.run [Thread debugging using libthread_db enabled] Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”. [New Thread 0×7ffff3678700 (LWP 1913)] [New Thread 0×7ffff2bc1700 (LWP 1914)] Program received signal SIGSEGV, Segmentation fault. 0×0000000000662223 in QTJSC::ExecutablePool::systemAlloc(unsigned long) () (gdb) where #0 0×0000000000662223 in QTJSC::ExecutablePool::systemAlloc(unsigned long) () #1 0×00000000006b02e3 in QTJSC::JSGlobalData::JSGlobalData(bool) () #2 0×00000000006b0a6c in QTJSC::JSGlobalData::create() () #3 0×0000000000611927 in QScriptEnginePrivate::QScriptEnginePrivate() () #4 0×00000000006127fe in QScriptEngine::QScriptEngine(QObject*) () #5 0×00000000004a9cb8 in QInstaller::ScriptEngine::ScriptEngine(QInstaller::PackageManagerCore*) () #6 0×0000000000455d9c in QInstaller::PackageManagerCorePrivate::componentScriptEngine() const () #7 0×000000000049a5f9 in QInstaller::Component::loadComponentScript(QString const&) () #8 0×000000000049b9bc in QInstaller::Component::loadComponentScript() () #9 0×0000000000468e66 in QInstaller::PackageManagerCorePrivate::buildComponentTree(QHash<QString, QInstaller::Component*>&, bool) () #10 0×000000000044a62e in QInstaller::PackageManagerCore::fetchAllPackages(QList<KDUpdater::Update*> const&, QHash<QString, KDUpdater::PackageInfo> const&) () #11 0×000000000045032e in QInstaller::PackageManagerCore::fetchRemotePackagesTree() () #12 0×000000000042d0f1 in IntroductionPageImpl::validatePage() () #13 0×0000000000d4a8c7 in QWizard::next() () […] last line of strace qt-opensource-linux-x64-5.3.1.run mmap(NULL, 2147483648, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory) why does it try to allocate 2GB memory ? strace qtcreator (own build) […] stat(”/home/niels/qt/qt-creator-opensource-src-3.2.0/share/qtcreator/qml-type-descriptions/qbs-bundle.json”, {st_mode=S_IFREG|0644, st_size=305, …}) = 0 open(”/home/niels/qt/qt-creator-opensource-src-3.2.0/share/qtcreator/qml-type-descriptions/qbs-bundle.json”, O_RDONLY|O_CLOEXEC) = 18 fcntl(18, F_SETFD, FD_CLOEXEC) = 0 fstat(18, {st_mode=S_IFREG|0644, st_size=305, …}) = 0 fstat(18, {st_mode=S_IFREG|0644, st_size=305, …}) = 0 fstat(18, {st_mode=S_IFREG|0644, st_size=305, …}) = 0 read(18, “{\n \“name\”: \“qbs\”,\n \“search”…, 16384) = 305 read(18, “”, 16079) = 0 mmap(NULL, 2147483648, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory) —- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xbbadbeef} —- +++ killed by SIGSEGV (core dumped) +++ Again 2GB ???? strace qtcreator (repository) openat(AT_FDCWD, “/”, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 17 statfs(”/”, {f_type=0×565a4653, f_bsize=4096, f_blocks=12500000, f_bfree=8499470, f_bavail=8499470, f_files=250000, f_ffree=61885, f_fsid={-1280375273, -1264953772}, f_namelen=255, f_frsize=4096}) = 0 getdents(17, /* 27 entries */, 32768) = 704 getdents(17, /* 0 entries */, 32768) = 0 close(17) = 0 openat(AT_FDCWD, “/qch”, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) clock_gettime(CLOCK_MONOTONIC, {2608050, 303164993}) = 0 poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{”\17\0\2\0\17\0\0\1”, 8}], 1) = 8 futex(0×200f0e8, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0×7fff12a438c0, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0×7fff12a438c4, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0×200f0e8, FUTEX_WAKE_PRIVATE, 1) = 0 write(5, “\1\0\0\0\0\0\0\0”, 8) = 8 write(5, “\1\0\0\0\0\0\0\0”, 8) = 8 —- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0×7f075044c000} —- +++ killed by SIGSEGV (core dumped) +++ I hope you can help me or at least provide a workaround for qtcreator.

Unable to build standalone executable on Windows 7, Qt5.3.1

$
0
0
I’ve been trying to follow this: https://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows But recently discovered that because I used the online installer and did NOT build from source, that the directions weren’t originally relevant. I now have 5.3.1 source downloaded and get the following error: > cd <path>\qt-everywhere-opensource-src-<version> > configure -static -release -platform win32-msvc + cd qtbase + C:\Users\me\Desktop\qt-everywhere-opensource-src-5.3.1\qtbase\configure.bat -top-level -static -release -platform win32-msvc Invalid option “win32-msvc” for -platform. See the README file for a list of supported operating systems and compilers. I’ve tried this in the following command prompts: VS2013 ×86 Native Tools Command Prompt VS2013 ×64 Native Tools Command Prompt VS2013 ×64 Cross Tools Command Prompt Qt 5.3.1 Windows 7, 64-bit VS2013 compiler

Setting up 32bit crosscompile from 64bit Ubuntu

$
0
0
Hi, I’ve been attempting to setup a 32bit Qt5 crosscompile from 64bit Ubuntu 14.04. I’ve installed the 32bit qmake package, the necessary versions of 32bit modules and so on. Everything is dandy until 32bit uic command is needed – installing qtbase5-dev-tools:i386 wipes out qtbase5-dev-tools, so I can’t have 32bit and 64bit Qt5 dev side by side. Is there any proper way to go about setting this up? I haven’t found relevant documentation.

[Solved] Problem with UPDATE query (QSQLITE)

$
0
0
Hi, This is my code:       reference=ui->reference->text();     pseudo=ui->label_3->text();     QSqlQuery qry("QSQLITE");     qry.prepare("UPDATE candidates SET reference= :areference WHERE pseudo= :apseudo;");     qry.bindValue(":areference",reference);     qry.bindValue(":apseudo",pseudo);     if (!qry.exec())       {              qDebug() << qry.lastError();              qDebug()<< qry.executedQuery();       } When running, I get these messages: *QSqlError(”“, “Parameter count mismatch”, “”) “UPDATE candidates SET reference= ? WHERE pseudo= ?;” * Can someone help me and thank you.

Qt 5.4 Alpha from source, fatal error: private/qcoreglobaldata_p.h

$
0
0
Building 5.4 Alpha from source on Ubuntu 14.04 gives me following: ../../corelib/codecs/qtextcodec.cpp:55:39: fatal error: private/qcoreglobaldata_p.h: No such file or directory #include “private/qcoreglobaldata_p.h” ^ compilation terminated. What is missing?

Installation Framework Language Selection

$
0
0
Hello , I have two questions below I need to add a language selection page on my application installer wizard . But I can not. How can I add this page before actual install pages and retranslate my ui by selected language.? Also I need to know installer frameworks pages text names to create translate files for another languages. Where can I learn these titles. I searched examples , only tutarial example contains translation files and the file contains dummy records. For example : for germany; <?xml version=“1.0” encoding=“utf-8”?> <!DOCTYPE TS> <TS version=“2.0” language=“de_DE”> <context> <name>Dummy</name> <message> <source>Dummy message.</source> <translation>Dummy Nachricht.</translation> </message> </context> </TS> I need to translate “Setup – Your application” text . So what can I write to name section for germany? I typed “Setup – Your application” to name and source sections , but it did not work, Best Regards,

installing multiple kits on windows

$
0
0
Hi, I need some help installing multiple kits on a qt-creator windows installation. I successfully installed the Windows x64 version of QT and got everything working using the Microsoft compilers. I now would like to add the 32-bit kit to the installation. How do I do that? I currently have a single version installed /Qt/Qt5.3.1/5.3/msvc2013_64_opengl I assume that the 32-bit version would need to be added as /Qt/Qt5.3.1/5.3/msvc2013_opengl If I try to install the complete Qt for 32-bit windows package I cannot install it into the same directory as the already existing installation, essentially leaving me with 2 completelt independent qt-creator installations. I’m sure that’s not the desired solution. If I then manually copy the msvc2013_opengl kit into the /Qt/Qt5.3.1/5.3/ directory and manually add the kit to the qt-creator configuration I still get makefiles that are generated with old path information. I guess the question is, how can I install additional build kits to a Windows qt installation such that the kits is properly registered and auto-detected by qt? Thank you

Windows All target hell (qt5.3 C++/QML)

$
0
0
Hi, My questions are: 1)Is there any success stories that C++/QML application is working on any Windows machine (XP/Vista/7/8) or we initially failed choosing Qt5 and QML and we had to choose something else (like C# + WPF or should use Qt 4.8 + Widgets and draw everything on canvas)? 2) If yes, do you have any tips and tricks that you used making your app to work on WinAll? Problem description: My team is developing freeware application that should run on any windows platform. We were planning to make nice-looking interface. Unfortunately we chose Qt5.3 (C++/QML QtQuick 2) framework for developing. When all Windows(XP/Vista/7/8) platform testing was started (several hundred installations) we faced real problems that I’ve never ever had before (20 years of programming experience from assembler to C#). Parts of problems with WinXP were solved when we changed MSVS 2012 compiler to MinGW 4.8.2 32bit(we found that it was the only way to overcome getTickCount64 issue on dll for win XP). Parts of problems were solved when copied ALL dlls from qt bin directory, copied all folders from plugins (according to http://qt-project.org/wiki/Deploy_an_Application_on_Windows). But about 30% of testers are experiencing problems that they see blank window, when they start a program (a lot of them have Windows XP, some of them Vista), and one of them has Windows 7 Starter (last one has fatal error in ig4icd32.dll). App is normally started by other 70% testers which are using PC, laptops, XP,Vista,7,8, a half of them 32 bit and the other 64 bit. I tried to start program by myself on one of WinXP PCs (with blank window) – reinstalled drivers, installed last DirectX 9.0c, but all was useless. Now I understand that there are some problems with OpenGL 2.0(no support or partial support on that hardware). So we are trying to build Qt 5.3 with Angle support using MinGW 4.8.2 32 bit, but unsuccessful for now. There is no such safe toolchain in downloads on qt-project.org, but as I see that is the only option that should be for Qt 5.3 by default. I hope we’ll make it, but I can’t understand what is the right solution.

Failed to compile qtwebengine - missing file

$
0
0
Hi, I was following instructions on https://qt-project.org/wiki/Building-Qt-5-from-Git#0cc5cbb2903cf6911ac1b6e3aa032572 to get the source code and build qt5 on my mac (10.9). However, after running ‘make’, i get the error below: /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.gyp_run.Debug all /Users/rharchandani/Documents/gitstuff/qt5/qtwebengine/src/3rdparty/ninja/ninja -C /Users/rharchandani/Documents/gitstuff/qt5/qtwebengine/src/core/Debug ninja: Entering directory `/Users/rharchandani/Documents/gitstuff/qt5/qtwebengine/src/core/Debug’ ninja: error: ‘../../../src/3rdparty/chromium/base/test/expectations/expectation.cc’, needed by ‘obj/src/3rdparty/chromium/base/test/expectations/test_support_base.expectation.o’, missing and no known rule to make it make5: *** [invoke_ninja] Error 1 make4: *** [debug-all] Error 2 make3: *** [sub-gyp_run-pro-make_first] Error 2 make2: *** [sub-core-make_first] Error 2 make1: *** [sub-src-make_first] Error 2 make: *** [module-qtwebengine-make_first] Error 2 Is there something i am missing? Thanks, Rohit

Code signing Qt frameworks: is it legal?

$
0
0
Hi everyone! I’m developing an app for OS X and I would like to know if it’s legal to sign the Qt frameworks included in the bundle with my personal certificate. Thanks.

SOLVED: Failed to compile / run a Qt demo on Mac OSX

$
0
0
I’ve been using Qt on the PC for a while, and now installed it on a Mac (I am not very familiar with Macs but am learning) I installed XCode 5 from the app store and command line tools, then installed Qt5.3.1 using the online installer. I restarted, opened QtCreator, selected the “DirView” example and tried to build it to run. It failed with what you see below. Any ideas what I’ve not setup right? (again, very much a Mac newbie) Starting /Users/me/Qt/Examples/Qt-5.3/widgets/itemviews/build-dirview-Desktop_Qt_5_3_clang_64bit-Release/dirview.app/Contents/MacOS/dirview… dyld: Library not loaded: /work/build/______________________________PADDING______________________________/lib/QtWidgets.framework/Versions/5/QtWidgets Referenced from: /Users/me/Qt/Examples/Qt-5.3/widgets/itemviews/build-dirview-Desktop_Qt_5_3_clang_64bit-Release/dirview.app/Contents/MacOS/dirview Reason: image not found The program has unexpectedly finished. /Users/me/Qt/Examples/Qt-5.3/widgets/itemviews/build-dirview-Desktop_Qt_5_3_clang_64bit-Release/dirview.app/Contents/MacOS/dirview crashed

project layout OSX/Win8.1 Parallels

$
0
0
This is more of an organizational approach question. I’ve been working on a Qt5.3.1 app on the PC side for a while now, all is good. The OpenCV library is also used extensively by the program. I’ve now upgraded myself to a MacBook Pro running Win8.1 in Parallels so that I can compile a Mac version. I know I have to install Qt independently on each side, as well as OpenCV. But I want a single code-base so that changes I make in the actual CPP/H files are immediately reflected on the other side. How would you approach organizing everything without making a mess of the project file or needing multiple project files? (I am only 4 months in to my Qt experience, and about 4 days into my Mac experience!)

Assert errors when building Qt 4.8.6

$
0
0
When I try to build Qt 4.8.6 on my Ubuntu 14.04 LTS (64 bits), by typing “sudo make install” I get a lot of errors like the following: ../../JavaScriptCore/wtf/PassOwnPtr.h: In member function ‘bool WTF::PassOwnPtr<T>::operator!=(const WTF::OwnPtr<U>&)’: ../../JavaScriptCore/wtf/Assertions.h:326:47: warning: typedef ‘dummyOwnPtrs_should_never_be_equal’ locally defined but not used [-Wunused-local-typedefs]  #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]                                                ^ ../../JavaScriptCore/wtf/PassOwnPtr.h:98:66: note: in expansion of macro ‘COMPILE_ASSERT’          template<typename U> bool operator!=(const OwnPtr<U>&) { COMPILE_ASSERT(!sizeof(U*), OwnPtrs_should_never_be_equal); return false; }                                                                   ^ To put everything into context, here’s my sequence of problems: I have a Qt project working fine in Qt Creator with Qt 5 and I wanted to make it backward-compatible for Qt 4, but I discovered my Qt 4.8.6 kit configuration that the Qt version was invalid. I clicked Manage to sort that out. There was written “qmake location: /usr/bin/qmake-qt4” and “Qt version is not properly installed, please run make install”. I found on the Internet that this error could mean some Qt variables are not properly configured, like QT_INSTALL_BINS or QT_INSTALL_HEADERS. Indeed, my QT_INSTALL_HEADERS was pointing to /usr/include/qt4 which doesn’t exist. I downloaded the Qt 4.8.6 source and ran the install sequence: configure, sudo make, sudo make install, then I got the error mentioned above. I found a bug report with similar errors, saying that it worked with gcc-4.7 but not with gcc-4.8 anymore. So I installed gcc-4.8, and tried again, with no luck. How can I get a functioning Qt 4?

Linking external static library in Qt creator - executable keeps trying to find .so

$
0
0
I made a Qt Project with two sub-projects. One is a static library, the other is the GUI app that uses the static library. Since this is a sub-project project I have specified the order in which the two parts are built. Starting with the static library in the project tree and then the app in the project tree. Done with the CONFIG+=ordered option. I also require a third external static library. Which is in a separate directory on my system. This library can be used statically or dynamically. Normally to use this third external library with g++ you’d do: g++ biohello.cpp \     -o biohello \     --static \     -I$bpp_dir/include \     -L$bpp_dir/lib \     -lbpp-seq -lbpp-core strip biohello for static compilation or for dynamic: g++ biohello.cpp \     -o biohello \     -I$bpp_dir/include \     -L$bpp_dir/lib \     -lbpp-seq -lbpp-core I’d like to include the library statically. I’ve tried using the add library wizard of Creator which resulted in the addition of: win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../local/bpp/dev/lib/release/ -lbpp-seq else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../local/bpp/dev/lib/debug/ -lbpp-seq else:unix: LIBS += -L$$PWD/../../local/bpp/dev/lib/ -lbpp-seq   INCLUDEPATH += $$PWD/../../local/bpp/dev/include DEPENDPATH += $$PWD/../../local/bpp/dev/include   win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/release/libbpp-seq.a else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/debug/libbpp-seq.a else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/release/bpp-seq.lib else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/debug/bpp-seq.lib else:unix: PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/libbpp-seq.a   win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../local/bpp/dev/lib/release/ -lbpp-core else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../local/bpp/dev/lib/debug/ -lbpp-core else:unix: LIBS += -L$$PWD/../../local/bpp/dev/lib/ -lbpp-core   INCLUDEPATH += $$PWD/../../local/bpp/dev/include DEPENDPATH += $$PWD/../../local/bpp/dev/include   win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/release/libbpp-core.a else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/debug/libbpp-core.a else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/release/bpp-core.lib else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/debug/bpp-core.lib else:unix: PRE_TARGETDEPS += $$PWD/../../local/bpp/dev/lib/libbpp-core.a To the .pro files, hitting run makes the app run fine, but when I leave Creator and try to start the executable from my desktop or command line I’m told: error while loading shared libraries: libbpp-seq.so.9: cannot open shared object file: No such file or directory I haven’t – to my knowlege, tried to include any shared objects, what I’m looking to do is include the external library statically using Qt Creator to the same result as you would with the g++ snippet above. Thanks, Ben W.

Qt 4.8.6 VS2010 only works in Release Mode, needs QApplication before QPaintDevice for QWidget

$
0
0
Hello Qt Qomrades, Let me spin you a tale about the developer who tried to play God. I’m working on a project that requires use of some plotting functionality, and figured Qt and QCustomPlot would be a great addition. I worked on creating a “Qt Patch” that would only include the files needed for basic functionality of Qt and, moreover, exactly what QCustomPlot needed to operate-as the project already includes a wrapped version of Qt to push GUI. After some trial and error, consternation, and more than my fair share of swearing, I got to the point where my console would display the error: QWidget: Must construct a QApplication before a QPaintDevice while in Debug mode. On a whim (and after several days of that error message haunting my dreams) I flipped over to Release mode and glory glory hallelujah it compiled, ran, and showed me a plot. Like an idiot, I took this as the Deus Ex Machina it seemed like it was and pushed forward with my project. But now the dark times are upon me again-and I need NEED debug functionality. Here’s my process: 1.) Develop the code in QtCreator. Get the graph working there. 2.) Take the functionality that allowed for my graph logic and render from QtC and move it into VS2010, aka my project. Move the moc_qcustomplot.cpp file as well. No ui_, .pro, or anything else come with, as the UI and such are handled locally, and I don’t ever need to rebuild qcustomplot.cpp/.h 3.) Render the graph, using the wrappers from my project: Wrapper::Widget *pWidget = new Wrapper::Widget(this); /*The below is part of my project's libraries, which returns a QWidget from its own Widget object*/ QWidget *pWid = new QWidget(pWidget->GetQWidget()); customplot = new QCustomPlot(pWid); //Fiddly bits that use customplot to render my magnificent graphs In release, this works. In debug, I get the aforementioned error. My true question is-are there qXXX_debug.h files somewhere? Am I missing something from my “QTPatch” file? Included is some relevant (and basically all of my) QT code inside my project as well as the list of my “QTPatch” included files, both .h and .lib files. I am unable to create a “new” qt project using the VSplugin or anything of the sort, and this has to be within the confines of my project’s existing structure. Any help would be greatly appreciated and if you can get me set on the right path I will forever inscribe your name on the wall of my heart of hearts, as well as shout it from the rooftops and probably name a variable after you. A really important one. Perhaps a vector. THANK YOU IN ADVANCE!!! INCLUDES FOR QTPATCH /*QTPatch means that I cut these out of Qt/4.8.6/src(or gui), and then put them in a new file in my project and redid the dependencies so they linked to each other properly.  this was done for QCustomPlot functionality.*/ •SRC    o CoreLib       Kernel                • qobject.h                • qobjectdefs.h                • QCoreEvent.h                • QPointer.h                • Qmimedata.h                • Qvariant.h                • Qmetatype.h                • Qmath.h       Global                • qnamespace.h                • qglobal.h                • qconfig.h                • qfeatures.h       Tools                • Qstring                • Qchar.h                • Qbytearray.h                • QScopedPointer.h                • Qlist.h                • Qiterator.h                • Qalgorithms.h                • Qmargins.h                • Qrect.h                • Qsize.h                • Qpoint.h                • Qpointf.h                • QSharedPointer.h                • Qshareddata.h                • Qsharedpointer_impl.h                • Qpair.h                • Qstringlist.h                • Qregexp.h                • Qstringmatcher.h                • Qline.h                • Qmap.h                • Qhash.h                • Qset.h                • Qdatetime.h                • Qlocale.h                • Qcontiguouscache.h                • Qstack.h                • Qcache.h                • Qhash.h                • qvector.h       Thread                • Qatomic.h                • Qbasicatomic.h       I/O                • Qdatastream.h                • qIODevice.h                • qfile.h                • qdebug.h                • qtextstream.h       Arch                • Qatomic_arch.h                • Qatomic_windows.h                • Qatomic_x86_64.h o GUI       Kernel                • Qwidget.h                • Qwindowdefs.h                • Qpalette.h                • Qsizepolicy.h                • Qcursor.h                • Qkeysequence.h                • Qevent.h                • Qmime.h                • Qdrag.h       Painting                • Qpainter.h                • Qtransform.h                • Qpen.h                • Qpaintdevice.h                • Qregion.h                • Qbrush.h                • Qcolor.h                • Qrgb.h                • Qmatrix.h                • Qpolygon.h                • Qpainterpath.h                • Qprinter.h                • Qprintengine.h                • Qprintengine_win.h       Text                • Qfont.h                • Qfontmetrics.h                • Qfontinfo.h       Image                • Qimage.h                • QPixmap.h       Math3d                • Qvector2d.h

Qt online installer in non-interactive mode?

$
0
0
I would like to provide a script to my IT department allowing them to deploy Qt from qt-project.org on to developer workstations in a non-interactive fashion. Is that feasible? I do not want to install qt packages from a particular distro, since we have users on a variety of distros and versions, and want a consistent Qt environment. I do not want to build from source since the binaries are available from the qt-project website already. I have noticed that the online installer has a few command line options but I cannot find any documentation of those options. Thanks in advance.

Qt 5.3.2 [linux] No particles when running examples

$
0
0
Hello, I have been messing around with Qt for school on windows 8 and in visual studio without any issues. I have started to take an interest in linux and wanted to begin using it to develop my applications through vmware on my windows machine. I installed Qt with the online installer in several versions of linux that I use – however when I run any example that contains particles the particles don’t appear. I don’t get any errors – it is just blank. Here is an example: http://i.imgur.com/cTft6ln.png It was the emitters example in Qt creator in Linux Mint 17 Here is a list of linux distros that I use in Vmware Workstation that I installed Qt and experience the same problem: xubuntu 14.04 lts xubuntu 13.10 ubuntu 14.04 mint 17 cinnamon crunchbang 11 elementary OS freya beta In elementary OS Luna the particle examples work just fine. I have made an effort to figure out why particles don’t work in the above distros that I have – however I don’t know enough about Linux and Qt to fix this and I haven’t been able to get anywhere with google. Any help would be appreciated.
Viewing all 2113 articles
Browse latest View live