Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 551915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:26:41+00:00 2026-05-13T11:26:41+00:00

I wanted to try QScintilla out. So i downloaded and installed it, no problems.

  • 0

I wanted to try QScintilla out. So i downloaded and installed it, no problems.
When i ran the example project it said I was missing QtCored4.dll, so i copied it into the directory, then it said it needed other dll’s aswell so copied them too.

At the end it gives me a Visual C++ Runtime error. It just says it terminated in an unusual way.

I know this is vague, but this is just what is states, no additional error messages. The code is from the website, i didn’t modify it.

Anyone has any clues about this?

Now that i have this problem, i thought maybe i should extend the standard Qt text component. And try to make my own component like QScintilla.

How hard can it be, to write a component like QScintilla? (Without looking at its source)


Update: So i loaded the example project under Qt Creator. Set the default config to release mode and let it run. And it worked. (very weird). If i switch to debug mode Qt Creator says:

Invalid parameter passed to C runtime function.

If i go to the directory in the file system ( not in Qt Creator ) and run the program (release mode), i get the strange errors i told you about in the comment. While if i run it from Qt Creator it works.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:26:42+00:00Added an answer on May 13, 2026 at 11:26 am

    I have no problems with QScintilla. I have Qt 4.6 compiled from sources with VC++ 2008. After downloading QScintilla-gpl-2.4.1 and unpacking I compiled it with:

    cd Qt4
    qmake qscintilla.pro
    nmake
    

    and finally installed with

    nmake install
    copy %QTDIR%\lib\qscintilla2.dll %QTDIR%\bin
    

    And while compiling and running example I have no problems.

    So, first check you environment variables (My Computer, Right Click, Properties -> Advanced tab -> Environment Variables button). Check Path in System Variables section. I have %QTDIR%\bin (c:\Qt\qt-4.6.0\bin) in this variable.

    Secondly I’m wondering about letter “d” in your message:

    QtCored4.dll

    If you made all steps described in documentation you will get release version of libraries and release version of example application linked against release version of Qt libraries. And not debug.

    Finally may be QTextEdit & QSyntaxHighlighter is enough for your tasks. Check out Syntax Highlighter Example.


    Response to comments.

    It’s some sort of well known problem (may be). So, as you can see you have 2 different folders with Qt libs

    C:\Qt\2009.05\bin;C:\Qt\2009.05\qt\bin 
    

    in your path. Libraries in the first folder (…\bin) compiled with VS2008 and libraries in the second one (…\qt\bin) compiled with MinGW. The items in path variable are looked up when your application starts. Suddenly the folder with “wrong” libraries exists before the folder with correct item in your path variable. What you can do is to copy QtCore4.dll, QtGui4.dll and other libraries that you need to folder with your application executable. Hope this helps.

    Some links about this problem:

    • @qtforum.org
    • @some blog post (in Russian =))
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this link and I wanted to try the carousel example out. I
I wanted to try out this example of a self-hosted webservice (originally written in
I wanted to try out an example you can find here: http://php.net/manual/en/function.include.php , but
so I wanted to try my first CLR project in Visual C++. So I
I wanted to try the example here http://www.codeconscious.com/rebol/rebol-net.html#HTTP print read/custom http://babelfish.altavista.com/translate.dyn reduce ['POST {text=REBOL+Rules&lp=en_fr}]
I wanted to try out Cassandra, and thought the easiest way to get up
I wanted to try out some new features in Clang, and I was referred
I just wanted to try out some shaders on a flat image. Turns out
I'm currently using hbase with my Python apps and wanted to try out Amazon
I'm new to android development and as a pet project I wanted to try

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.