Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Japanese
  4. Qxtのインストール
QtWS25 Last Chance

Qxtのインストール

Scheduled Pinned Locked Moved Japanese
1 Posts 1 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shimoden
    wrote on last edited by
    #1

    windows7 Qt5.7を使っています

    Qxtを利用しようと思い”libqxt-~”をダウンロードしました。

    ↓ここなどを参照して
    https://bitbucket.org/libqxt/libqxt/pull-requests/37/fixed-incorrect-qxt_install_features/diff
    QMAKESPEC,qmake,mingw32-makeのパスを通しconfigure.batを起動
    ここまではうまく動作しているようなのですが
    mingw32-makeを実行するとエラーが出てしまいます

    C:\Qt\libqxt-Qt5>mingw32-make
    cd tools\3rdparty\qdoc3\ && ( if not exist Makefile C:\Qt\5.7\msvc2015_64\bin\qmake.exe C:\Qt\libqxt-Qt5\tools\3rdparty\qdoc3\qdoc3.pro -o Makefile ) && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory 'C:/Qt/libqxt-Qt5/tools/3rdparty/qdoc3'
    mingw32-make -f Makefile.Release
    mingw32-make[2]: Entering directory 'C:/Qt/libqxt-Qt5/tools/3rdparty/qdoc3'
    compiling apigenerator.cpp
    ~
    compiling codemarker.cpp
    codemarker.cpp: In static member function 'static QString CodeMarker::stringForNode(const Node*)':
    codemarker.cpp:179:60: error: cast from 'const Node*' to 'ulong {aka long unsigned int}' loses precision [-fpermissive]
    return QString::number(reinterpret_cast<ulong>(node));
    ^
    Makefile.Release:742: recipe for target 'release/codemarker.o' failed
    mingw32-make[2]: *** [release/codemarker.o] Error 1
    mingw32-make[2]: Leaving directory 'C:/Qt/libqxt-Qt5/tools/3rdparty/qdoc3'
    Makefile:34: recipe for target 'release' failed
    mingw32-make[1]: *** [release] Error 2
    mingw32-make[1]: Leaving directory 'C:/Qt/libqxt-Qt5/tools/3rdparty/qdoc3'
    Makefile:45: recipe for target 'sub-tools-3rdparty-qdoc3-make_first' failed
    mingw32-make: *** [sub-tools-3rdparty-qdoc3-make_first] Error 2

    CXXFLAGS+=-fpermissiveをつけても
    無視して続行された後、エラーで終了します

    どうすればいいのでしょうか?
    それとも、Qt5.7ではqxtを利用できないのでしょうか?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved