Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. documentation
    Log in to post

    • UNSOLVED How to resolve LNK2019 error obtained after initializing the web engine and writing code to load a web page?
      QtWebEngine • qtquick documentation webengineview lnk2019 • • gouneken  

      1
      0
      Votes
      1
      Posts
      28
      Views

      No one has replied

    • UNSOLVED How to resolve LNK2019 error obtained after initializing the web engine and writing code to load a web page?
      QML and Qt Quick • documentation webengineview lnk2019 • • gouneken  

      5
      0
      Votes
      5
      Posts
      79
      Views

      @jsulm I wrote the error message
    • SOLVED Peut-on utiliser la documentation de QWebEngineView pour savoir comment développer une application avec QtWebView?
      French • qwebengineview qwebview documentation • • gouneken  

      2
      0
      Votes
      2
      Posts
      29
      Views

      Bonsoir, Non, de plus sur Android et iOS, ce sont les composants systèmes qui sont utilisés.
    • SOLVED Conflict in Qt Doc on the usage of foreach keyword and range-based for?
      General and Desktop • documentation containers foreach for loop container • • Xeonacid  

      7
      0
      Votes
      7
      Posts
      288
      Views

      @sierdzio Many thanks!
    • SOLVED How to use Qt documentation?
      C++ Gurus • documentation qtendian • • Please_Help_me_D  

      16
      0
      Votes
      16
      Posts
      614
      Views

      I have written the following code: if (fileEndian == "Little"){ for(quint32 i = 0; i < nTrc; i++){ FFID(i) = *util::bit_cast<qint32*>(qFromLittleEndian(qFile->map(3608+i*bytesPerTrc, 1))); } } else if (fileEndian == "Big"){ for(quint32 i = 0; i < nTrc; i++){ FFID(i) = *util::bit_cast<qint32*>(qFromBigEndian(qFile->map(3608+i*bytesPerTrc, 1))); } } It gives me errors: readsegy.obj:-1: ошибка: LNK2019: unresolved external symbol "unsigned char * __cdecl qbswap<unsigned char *>(unsigned char *)" (??$qbswap@PEAE@@YAPEAEPEAE@Z) referenced in function "unsigned char * __cdecl qFromBigEndian<unsigned char *>(unsigned char *)" (??$qFromBigEndian@PEAE@@YAPEAEPEAE@Z) debug\ReadSegy.exe:-1: ошибка: LNK1120: 1 unresolved externals The compilator output: jom: C: \ Users \ tasik \ Documents \ Qt_Projects \ build-ReadSegy-Desktop_x86_windows_msvc2017_pe_64bit-Debug \ Makefile.Debug [debug \ ReadSegy.exe] Error 1120 jom: C: \ Users \ tasik \ Documents \ Qt_Projects \ build-ReadSegy-Desktop_x86_windows_msvc2017_pe_64bit-Debug \ Makefile [debug] Error 2 19:05:31: The process "C: \ Qt \ Tools \ QtCreator \ bin \ jom.exe" ended with code 2. Error during assembly / deployment of ReadSegy project (bundle: Desktop (x86-windows-msvc2017-pe-64bit)) During the execution of the "Assembly" Actually the problem was that I didn't know the line which throws these errors but by intuation I just commented the BigEndian part of the code and it works: if (fileEndian == "Little"){ for(quint32 i = 0; i < nTrc; i++){ FFID(i) = *util::bit_cast<qint32*>(qFromLittleEndian(qFile->map(3608+i*bytesPerTrc, 1))); } } else if (fileEndian == "Big"){/* for(quint32 i = 0; i < nTrc; i++){ FFID(i) = *util::bit_cast<qint32*>(qFromBigEndian(qFile->map(3608+i*bytesPerTrc, 1))); }*/ } I use little endian Windows 10 x64, Qt 5.14.0, MSVC 2017 x64. Why do I can use qFromLittleEndian but I can't qFromBigEndian?? By the way the endian of my file is LITTLE now I think I just found a solution. If I change the order of performing bit_cast and qFromBigEndian it works: if (fileEndian == "Little"){ for(quint32 i = 0; i < nTrc; i++){ FFID(i) = qFromLittleEndian(*util::bit_cast<qint32*>(qFile->map(3608+i*bytesPerTrc, 1))); } } else if (fileEndian == "Big"){ for(quint32 i = 0; i < nTrc; i++){ FFID(i) = qFromBigEndian(*util::bit_cast<qint32*>(qFile->map(3608+i*bytesPerTrc, 1))); } } I don't understand why but that works fine
    • SOLVED Is there somewhere a list with all Qt macros in the documentation?
      General and Desktop • documentation macros macro docs • • koahnig  

      7
      0
      Votes
      7
      Posts
      675
      Views

      @JKSH Thanks, yes I am aware of this possibility in creator. IIRC I had encouraged you to publish the browser extension for Chrome. Great tool! Basically use it all the time. I have stumbled across a couple of macros without a trace of documentation. Personally I consider as a pity.
    • UNSOLVED Checking documentation around CMake commands for Qt software builds
      General and Desktop • cmake documentation components manual software builds • • elfring  

      4
      0
      Votes
      4
      Posts
      502
      Views

      I am curious on how the clarification will evolve for the topic “Describing build components for CMake support with Qt”.
    • UNSOLVED Checking the API status for the variable “Private d” of the QVariant class
      General and Desktop • qvariant documentation api private evolution • • elfring  

      31
      0
      Votes
      31
      Posts
      2941
      Views

      Sorry mate but I see no point in continuing this conversation. Some software developers agreed that they need the class “variant” for working with type-safe unions. They chose another useful programming interface. These software design decisions might influence other class libraries, don't they? The Qt software library is using also a variant class for the support of the meta-object protocol, isn't it?
    • SOLVED javascript documentation
      QML and Qt Quick • qml qt quick javascript documentation qt widget • • tansgumus  

      5
      0
      Votes
      5
      Posts
      1229
      Views

      @tansgumus said in javascript documentation: Is there any plan to cover JavaScript docs by Qt? Currently not. As I mentioned, the Qt Project has no control over the JavaScript API, so it will not document the JavaScript API either. However, QML classes and methods are fully documented -- if you find something missing, please file a bug report.
    • UNSOLVED Documentation Tool Recommendation Required
      General and Desktop • documentation tool • • Vader  

      8
      0
      Votes
      8
      Posts
      1495
      Views

      Hi, Yes, it's still qdoc that's used, it's also been updated for the QML documentation.
    • UNSOLVED Doc > Qt 4.8 > Mandelbrot Example
      General and Desktop • thread documentation syncronization docs • • dm_kiselev  

      10
      0
      Votes
      10
      Posts
      2591
      Views

      You're welcome ! Since it's all clear now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know an answer has been found :)
    • UNSOLVED The doc says "null central widget is not supported", but it's actually possible
      General and Desktop • mainwindow documentation dockwidget central widget • • Zylann  

      2
      0
      Votes
      2
      Posts
      837
      Views

      Hi, That might be something that have changed between Qt versions. You should go to the bug report system and see if there's already something about it. If not please consider opening a bug for the documentation to be updated on that aspect.
    • How to document QML and C++ code?
      QML and Qt Quick • documentation qdoc c++ and qml cod qt documentatio qml documentati • • vishnu  

      5
      0
      Votes
      5
      Posts
      1607
      Views

      @vishnu In a project called RBIMS, I created a text docuemt called RBIMS.qdocconf which contained the following text: include(compat.qdocconf) project = RBIMS outputdir += ./html headerdirs += . sourcedirs += . exampledirs = . imagedirs = ./images headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx" sources.fileextensions = "*.cpp *.qdoc *.mm *.qml" I used the following command (executed from within my project folder) at the command line: ~/Qt/5.15.0/gcc_64/bin/qdoc /home/jim/Qt_Projects/RBIMS/RBIMS.qdocconf This produced an XML file in the html folder inside my project. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE QDOCINDEX> <INDEX url="" title="RBIMS Reference Documentation" version="" project="RBIMS"> <namespace name="" status="active" access="public" module="rbims"> ... ... Code removed for brevity ... virtual="non" const="false" static="false" final="false" override="false" type="bool" signature="bool createDatabase()"/> <function name="database" fullname="database::database" href="database.html#database" status="active" access="public" location="database.h" filepath="/home/jim/Qt_Projects/RBIMS/database.h" lineno="36" documented="true" meta="constructor" virtual="non" const="false" static="false" final="false" override="false" type="" brief="Database::database test constructor doc parent" signature="database(int *parent)"> <parameter type="int *" name="parent" default="nullptr"/> </function> You can see (toward the end) that .... brief="Database::database test constructor doc parent" is created, which was a /*! * \brief database::database test constructor doc * \param parent */ Qdoc comment in my code.
    • Qt creator 5.4 or 5.5 and python(UI) applications
      General and Desktop • python pyqt5 documentation python support • • esekyere  

      4
      0
      Votes
      4
      Posts
      2042
      Views

      @esekyere after a very short search on google i got this : loader = QUiLoader() file = QFile(":/forms/myform.ui") file.open(QFile.ReadOnly) myWidget = loader.load(file, self) file.close()
    • Could not verify Hash during installation
      Installation and Deployment • installation documentation setup hash • • Jay Turner  

      3
      0
      Votes
      3
      Posts
      2299
      Views

      Hi and welcome to devnet, You can use QtSdkRepoChooser to try another mirror. Hope it helps
    • Qt3D camera control documentation
      General and Desktop • qt3d documentation • • pauljurczak  

      2
      0
      Votes
      2
      Posts
      1308
      Views

      Camera control is not fully implemented yet. There's just a little workaround for this problem for now.
    • [SOLVED] QOpenGLTexture method createTextureView. Is maximumMipmapLevel and maximumLayer inclusive?
      General and Desktop • opengl documentation texture qopengltexture • • HarryLong  

      4
      0
      Votes
      4
      Posts
      1073
      Views

      @HarryLong said: I would set this as solved but cannot figure out how... Edit your first message's title to start with [SOLVED].
    • Zero-size files in Qt 5.5.0 and Qt Creator installation.
      Installation and Deployment • documentation examples qt 5.5.0 qt creator 3.4 • • jnguetsop  

      1
      0
      Votes
      1
      Posts
      575
      Views

      No one has replied

    • Qt3D documentation in Qt 5.5
      General and Desktop • qt5 qt5.5 qt3d documentation • • kshots  

      2
      0
      Votes
      2
      Posts
      827
      Views

      Hi, Qt3D is a tech-preview, rest assured that the documentation will be there when it's officially integrated.
    • returning size values as int instead of unsigned
      The Lounge • documentation bytesavailable documentation u int vs unsigned • • koahnig  

      6
      0
      Votes
      6
      Posts
      2115
      Views

      I don't think the fix for this situation is sprinkling the docs with "is always greater than or equal to 0". I don't really think there is a doubt in someones head about whether or not a size or length function returns negative value no matter if it's unsigned int, qint64 or size_t. I think the opposite is more reasonable - document cases where it can actually return negative value and what it means, which Qt docs are doing pretty consistently (correct me if I'm wrong).
    • QRegExp vs QRegularExpression is always a question, but why is a cross-reference missing in docs?
      General and Desktop • documentation qregexp qregularexpress qtbug-46816 • • koahnig  

      3
      0
      Votes
      3
      Posts
      1419
      Views

      You are probably right. I have added a report on JIRA
    • How to automatically add breakpoints to all methods in a cpp file or whole project?
      General and Desktop • qtcreator qt creator desktop debug debugging documentation gdb break point • • Tusharh  

      2
      0
      Votes
      2
      Posts
      1049
      Views

      @Tusharh Hi and welcome to devnet A featrure as you request may be latest with larger projects too much for the debugger to handle. The closest to get such a behaviour is to use F11 and Shift+F11. F11 will enter every possible method and Shift+F11 will help you to run the remainder of the method. IMO sufficient enough to get a really detailed anaylsis of source code.
    • [SOLVED] MOC documentation claims to support class templates, but actually it doesn't
      General and Desktop • bug documentation • • Jakob  

      3
      0
      Votes
      3
      Posts
      1174
      Views

      Hi, Technically putting the Q_OBJECT macro without using any signals or slots does not really make sense. Anyway, you can create a templated QObject without using the Q_OBJECT macro. The Qt Quarterly number 15 talks about that. Hope it helps
    • QProcess documentation is inconsistent
      Qt.io webservices • qprocess documentation qtwebsite-648 • • koahnig  

      11
      0
      Votes
      11
      Posts
      2597
      Views

      @koahnig thanks, closed those as requested.
    • Qdoc, Doxygen and QML types implemented with C++
      Tools • qml c++ documentation doxygen • • tdunn  

      3
      0
      Votes
      3
      Posts
      3844
      Views

      Thank you for sharing this info