Results 1 to 3 of 3

Thread: Help to build a binary (Win32)

  1. #1
    Join Date
    Nov 2016
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Help to build a binary (Win32)

    I'm trying to build a binary (v. 1.2) from here: https://github.com/zhangshine/MdCharm/releases

    It's markdown editor, the best for Windows (from my point of view)

    - fast
    - BSD 3-Clause License
    - side-by-side instant preview
    - it can parse Markdown inside HTML blocks (if you choose MultiMarkdown in the preferences)
    - you may specify your own CSS styles
    - projects
    - TOC (in version 1.2)

    Unfortunately, the development was discountinued in 2014 year.

    The version 1.0.0 doesn't have TOC functionality. But, it was added in next 1.2 release. Unfortunately, version 1.2 exist only as source files, no Windows binaries are presented in project's page.

    Here is quote from project's page:

    > **Build:**
    > - check out `git checkout git@github.com:zhangshine/MdCharm.git`
    > - Open "MdCharm.pro" by Qt Creator and click "Build"

    I tried to download QT Creator and build myself, but since I'm not a programmer, I just lost 2 days. (I know something about HTML/CSS/JS, but nothing about C++ and QT).

    If it really easy deal for anybody here, maybe you can create Win32 binary and place it on GitHub or anywhere else?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,075
    Thanks
    234
    Thanked 649 Times in 639 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Help to build a binary (Win32)

    I know something about HTML/CSS/JS, but nothing about C++ and QT
    To be blunt, if you don't know anything about C++ software development, why are you even trying to build a C++ / Qt project from source code?

    > **Build:**
    > - check out `git checkout git@github.com:zhangshine/MdCharm.git`
    > - Open "MdCharm.pro" by Qt Creator and click "Build"
    This assumes you are a Qt developer and have a properly-configured Qt development environment. Simply downloading and installing Qt Creator and not the whole Qt distribution (if that's what you did when you say "I tried to download QT Creator and build myself") is not sufficient.

    I looked at just the main.cpp file from this distribution and can already see problems. In particular, the source code contains hard-coded references to linux file names and paths. This won't work on Windows without changes. There are probably other issues in the code which will require time and understanding to fix or work around. If you aren't a C++ and Qt developer and don't know how to recognize and fix problems, you probably aren't going to be able to build this on your own.

    Maybe someone else here is willing to take this on. I don't have any use for a markdown editor, so I can't take the time to try to build a binary for you. There is more to it than that, though. Not only do you need the binaries for the project (and there is more than just the executable - the project looks like it contains DLLs as well), you also need an installer that will install those binaries along with all of the Qt and Windows dependencies on your system. This is not as simple as "click Build".
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. The following user says thank you to d_stranz for this useful post:

    john_cj (4th November 2016)

  4. #3
    Join Date
    Nov 2016
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Help to build a binary (Win32)

    Thank you very much for excellent explanation, now I understand that it is not so easy, as I thought before. However, it would be very awesome if someone take some care of this opensource project. It really worth it!

Similar Threads

  1. Replies: 0
    Last Post: 13th December 2013, 19:39
  2. Replies: 2
    Last Post: 3rd October 2011, 23:04
  3. Replies: 1
    Last Post: 13th January 2010, 23:35
  4. Trying to build Qt4.5.1 static for win32-msvc2008
    By bnilsson in forum Installation and Deployment
    Replies: 2
    Last Post: 11th June 2009, 21:44
  5. Shadow build QT for the win32-g++ (MinGw) platform.
    By Avrohom in forum Installation and Deployment
    Replies: 0
    Last Post: 20th January 2009, 23:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.