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 7165457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:15:11+00:00 2026-05-28T14:15:11+00:00

I am trying to use the Qt new functions described here: http://opencv.willowgarage.com/documentation/cpp/qt_new_functions.html#cv-createbutton And I

  • 0

I am trying to use the Qt new functions described here:
http://opencv.willowgarage.com/documentation/cpp/qt_new_functions.html#cv-createbutton

And I also found this topic on SO:
openCV 2.2 createButton LNK 2019 error in Visual Studio 2010
but compiling with QT didn’t work.

Anyway, according to my searches it seems to be a linking problem. My doubt is that I already compiled OpenCV (without QT) but I can use the createTrackbar normally.

I tried using the createButton as this:

cv::createButton("buttonCanny",    buttonCallBackCanny,NULL,CV_RADIOBOX,true);

But I get this error:

undefined reference to `cv::createButton(std::string const&, void
()(int, void), void*, int, bool)’

I tried the cvCreateButton but I get the same error.

I have this setup
C/C++ Build -> Settings -> Tool Settings -> MingGW C++ Linker -> Libraries (all the .dll from compiled OpenCV)

  • libopencv_calib3d230
  • opencv_ffmpeg
  • libopencv_contrib230
  • libopencv_core230
  • libopencv_features2d230
  • libopencv_flann230
  • libopencv_gpu230
  • libopencv_highgui230
  • libopencv_imgproc230
  • libopencv_legacy230
  • libopencv_ml230
  • libopencv_objdetect230
  • libopencv_video230

C/C++ Build -> Settings -> Tool Settings -> MingGW C++ Linker -> Search Path (“C:\opencvbin\bin” where the Dll are)

C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Includes
“C:\OpenCV2.3\build\include”

Any suggestions?

Thank you!

  • 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-28T14:15:12+00:00Added an answer on May 28, 2026 at 2:15 pm

    Ok, I made some mistakes.

    Firstly, I wasn’t downloading the source code of QT, only the SDK, without source code.
    The necessary libs and executables where there.

    Secondly, I had to add some entries in the CMake Gui,

    I was ignoring this message:
    Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY)

    then, I set

    • QT_QMAKE_EXECUTABLE = C:\Qt\4.8.0\bin\qmake.exe
    • QT_MOC_EXECUTABLE = C:\Qt\4.8.0\bin\moc.exe
    • QT_RCC_EXECUTABLE = C:\Qt\4.8.0\bin\rcc.exe
    • QT_UIC_EXECUTABLE = C:\Qt\4.8.0\bin\uic.exe
    • QT_INCLUDE_DIR = C:\Qt\4.8.0\include

    and it worked fine.

    Trackbar seems to work without Qt, so they probably use their own implementation of a trackbar when there is no Qt available.

    Thanks!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well here is the API I'm trying to use: http://www.hotelscombined.com/api/LiveRates.asmx?op=HotelSearch Here is the code
I'm trying to use the new OpenCV 2.0 API in MS Visual C++ 2008
I'm trying to use the RtlGetCompressionWorkSpaceSize and RtlCompressBuffer functions in a C# project. Here
i am new to openGL. Iam using apple documentation as my major referens http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/TechniquesforWorkingwithVertexData/TechniquesforWorkingwithVertexData.html#//apple_ref/doc/uid/TP40008793-CH107-SW6
I've been trying to use the new jquery-ui, and all but the resizable function
I am trying to use the new DATETIMEOFFSET data type in SQL 2008 but
I am trying to use nunits new way of exception handling but I am
I'm trying use self-signed certificate (c#): X509Certificate2 cert = new X509Certificate2( Server.MapPath(~/App_Data/myhost.pfx), pass); on
Trying to use this code to connect the AD PrincipalContext context = new PrincipalContext(ContextType.Domain,
I'm trying to use SubSonic for a new project with an existing database but

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.