Changeset e5cec4


Ignore:
Timestamp:
Nov 4, 2011, 3:20:21 PM (14 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
13c969
Parents:
22db89
git-author:
Frederik Heber <heber@…> (11/02/11 02:25:00)
git-committer:
Frederik Heber <heber@…> (11/04/11 15:20:21)
Message:

Removed macro bnv_have_qt, replaced by pkg-config info.

  • executables are searched via AC_PATH_PROGS in PATH or the one given via --with-Qt-bin.
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r22db89 re5cec4  
    2020AC_PROG_CC
    2121AC_PROG_INSTALL
     22
     23# Qt programs
     24AC_ARG_WITH([Qt-bin],
     25        [AC_HELP_STRING([--with-Qt-bin], [give path to Qt binaries])],
     26        echo "Looking for binaries in $withval ... "
     27        [AC_PATH_PROGS([QT_MOC],
     28                [moc-qt4 moc],
     29                [AC_MSG_ERROR(["Qts moc not found, please use --with-Qt-bin."])],
     30                [$withval]
     31        )
     32        AC_PATH_PROGS([QT_UIC],
     33                [uic-qt4 uic],
     34                [AC_MSG_ERROR(["Qts uic not found, please use --with-Qt-bin."])],
     35                [$withval]
     36        )],
     37        [AC_PATH_PROGS([QT_MOC],
     38                [moc-qt4 moc],
     39                [AC_MSG_ERROR(["Qts moc not found, please use --with-Qt-bin."])]
     40        )
     41        AC_PATH_PROGS([QT_UIC],
     42                [uic-qt4 uic],
     43                [AC_MSG_ERROR(["Qts uic not found, please use --with-Qt-bin."])]
     44        )]
     45)
     46PKG_CHECK_MODULES([QT], [QtCore QtGui Qt3D], [
     47])
     48AC_SUBST([QT_CFLAGS])
     49AC_SUBST([QT_LIBS])
    2250
    2351# use doxygen
     
    131159BOOST_THREADS
    132160
    133 #QT4 libraries
    134 BNV_HAVE_QT
    135 #gw_CHECK_QT4
    136 #AX_CHECK_GLU
    137 #AC_MSG_NOTICE(["GLU_CFLAGS: $GLU_CFLAGS, GLU_CXXFLAGS: $GLU_CXXFLAGS, GLU_LDFLAGS: $GLU_LDFLAGS, GLU_LIBS: $GLU_LIBS"])
    138 
    139161
    140162# CodePatterns library (needs corrected ax_codepatterns.m4 for boost compile flags in test)
  • src/UIElements/Makefile.am

    r22db89 re5cec4  
    255255libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
    256256libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    257 libMolecuilderQtUI_la_CPPFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
     257libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    258258libMolecuilderUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
    259259libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
Note: See TracChangeset for help on using the changeset viewer.